1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-29 18:07:27 +01:00

Added PacketStorm (PKT) for verification by msftidy

This commit is contained in:
Roberto Soares 2015-08-20 00:41:55 -03:00
parent 496e47a094
commit 495ca55a7b

View File

@ -193,6 +193,8 @@ class Msftidy
warn("Invalid ZDI reference") if value !~ /^\d{2}-\d{3}$/
when 'WPVDB'
warn("Invalid WPVDB reference") if value !~ /^\d+$/
when 'PKT'
warn("Invalid PKT reference") if value !~ /^\d+$/
when 'URL'
if value =~ /^http:\/\/www\.osvdb\.org/
warn("Please use 'OSVDB' for '#{value}'")
@ -208,6 +210,8 @@ class Msftidy
warn("Please use 'US-CERT-VU' for '#{value}'")
elsif value =~ /^https:\/\/wpvulndb\.com\/vulnerabilities\//
warn("Please use 'WPVDB' for '#{value}'")
elsif value =~ /^http:\/\/packetstormsecurity\.com\/files\//
warn("Please use 'PKT' for '#{value}'")
end
end
end