Added PacketStorm (PKT) for verification by msftidy

bug/bundler_fix
Roberto Soares 2015-08-20 00:41:55 -03:00
parent 496e47a094
commit 495ca55a7b
1 changed files with 4 additions and 0 deletions

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