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))


_______________________________________________
Secure-testing-commits mailing list
Secure-testing-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/secure-testing-commits

Reply via email to