[Secure-testing-commits] r22512 - bin

Paul Wise pabs at alioth.debian.org
Thu Jun 6 04:04:44 UTC 2013


Author: pabs
Date: 2013-06-06 04:04:44 +0000 (Thu, 06 Jun 2013)
New Revision: 22512

Modified:
   bin/tracker_service.py
Log:
EDB expects CVE numbers without the CVE- prefix

Modified: bin/tracker_service.py
===================================================================
--- bin/tracker_service.py	2013-06-06 03:47:22 UTC (rev 22511)
+++ bin/tracker_service.py	2013-06-06 04:04:44 UTC (rev 22512)
@@ -1209,6 +1209,7 @@
     def url_osvdb_bug(self, url, name):
         return url.absoluteDict("http://osvdb.org/search/search", {"search[refid]": name})
     def url_edb_bug(self, url, name):
+        name = name[len('CVE-'):] if name.startswith('CVE-') else name
         return url.absolute("http://www.exploit-db.com/search/", action="search", filter_cve=name)
     def url_rhbug(self, url, name):
         return url.absolute("https://bugzilla.redhat.com/show_bug.cgi",




More information about the Secure-testing-commits mailing list