also check https
parent
f38d1569b0
commit
1381e1f3e0
|
@ -179,15 +179,15 @@ class Msftidy
|
||||||
when 'PACKETSTORM'
|
when 'PACKETSTORM'
|
||||||
warn("Invalid PACKETSTORM reference") if value !~ /^\d+$/
|
warn("Invalid PACKETSTORM reference") if value !~ /^\d+$/
|
||||||
when 'URL' || 'AKA'
|
when 'URL' || 'AKA'
|
||||||
if value =~ /^http:\/\/cvedetails\.com\/cve/
|
if value =~ /^https?:\/\/cvedetails\.com\/cve/
|
||||||
warn("Please use 'CVE' for '#{value}'")
|
warn("Please use 'CVE' for '#{value}'")
|
||||||
elsif value =~ /^http:\/\/www\.securityfocus\.com\/bid\//
|
elsif value =~ /^https?:\/\/www\.securityfocus\.com\/bid\//
|
||||||
warn("Please use 'BID' for '#{value}'")
|
warn("Please use 'BID' for '#{value}'")
|
||||||
elsif value =~ /^http:\/\/www\.microsoft\.com\/technet\/security\/bulletin\//
|
elsif value =~ /^https?:\/\/www\.microsoft\.com\/technet\/security\/bulletin\//
|
||||||
warn("Please use 'MSB' for '#{value}'")
|
warn("Please use 'MSB' for '#{value}'")
|
||||||
elsif value =~ /^https?:\/\/www\.exploit\-db\.com\/exploits\//
|
elsif value =~ /^https?:\/\/www\.exploit\-db\.com\/exploits\//
|
||||||
warn("Please use 'EDB' for '#{value}'")
|
warn("Please use 'EDB' for '#{value}'")
|
||||||
elsif value =~ /^http:\/\/www\.kb\.cert\.org\/vuls\/id\//
|
elsif value =~ /^https?:\/\/www\.kb\.cert\.org\/vuls\/id\//
|
||||||
warn("Please use 'US-CERT-VU' for '#{value}'")
|
warn("Please use 'US-CERT-VU' for '#{value}'")
|
||||||
elsif value =~ /^https:\/\/wpvulndb\.com\/vulnerabilities\//
|
elsif value =~ /^https:\/\/wpvulndb\.com\/vulnerabilities\//
|
||||||
warn("Please use 'WPVDB' for '#{value}'")
|
warn("Please use 'WPVDB' for '#{value}'")
|
||||||
|
|
Loading…
Reference in New Issue