1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

Make the library vulns use HTTPS by default when generating CVE links.

This commit is contained in:
paulino
2015-04-15 20:29:47 +00:00
parent 052fc14e02
commit fba4bc85c6

View File

@@ -436,7 +436,7 @@ end
-- construct and return the correct links. -- construct and return the correct links.
local POPULAR_IDS_LINKS = { local POPULAR_IDS_LINKS = {
CVE = function(id) CVE = function(id)
local link = 'http://cve.mitre.org/cgi-bin/cvename.cgi?name=' local link = 'https://cve.mitre.org/cgi-bin/cvename.cgi?name='
return string_format("%s%s", link, id) return string_format("%s%s", link, id)
end, end,
OSVDB = function(id) OSVDB = function(id)