[Secure-testing-commits] r36263 - bin

Raphael Geissert geissert at moszumanska.debian.org
Sat Aug 22 09:55:20 UTC 2015


Author: geissert
Date: 2015-08-22 09:55:20 +0000 (Sat, 22 Aug 2015)
New Revision: 36263

Modified:
   bin/report-vuln
Log:
report-vuln: point to the mitre website over https


Modified: bin/report-vuln
===================================================================
--- bin/report-vuln	2015-08-22 09:50:04 UTC (rev 36262)
+++ bin/report-vuln	2015-08-22 09:55:20 UTC (rev 36263)
@@ -51,7 +51,7 @@
 		if temp_id.match(id):
 			continue
                 ret += '\n[' + str(cnt) + '] https://security-tracker.debian.org/tracker/' + id + '\n'
-                ret += '    http://cve.mitre.org/cgi-bin/cvename.cgi?name=' + id
+                ret += '    https://cve.mitre.org/cgi-bin/cvename.cgi?name=' + id
 
 	return ret
 
@@ -59,7 +59,7 @@
 	param = urllib.urlencode({'name' : id})
 	resp = ''
 	try:
-		f = urllib.urlopen('http://cve.mitre.org/cgi-bin/cvename.cgi?%s' % param)
+		f = urllib.urlopen('https://cve.mitre.org/cgi-bin/cvename.cgi?%s' % param)
 		resp = f.read()
 	except Exception, e:
 		error('on doing HTTP request' + str(e))




More information about the Secure-testing-commits mailing list