diff --git a/tools/msftidy.rb b/tools/msftidy.rb index 34ec47a17b..8e56987e6c 100755 --- a/tools/msftidy.rb +++ b/tools/msftidy.rb @@ -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