Skip to content

Commit

Permalink
Update msftidy to catch more potential URL vs PACKETSTORM warnings
Browse files Browse the repository at this point in the history
Fix the affected modules
  • Loading branch information
jhart-r7 committed Dec 24, 2015
1 parent 27a6aa0 commit 283cf5b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/auxiliary/admin/http/intersil_pass_reset.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def initialize(info = {})
'References' =>
[
[ 'BID', '25676'],
[ 'URL', 'http://packetstormsecurity.org/files/59347/boa-bypass.txt.html']
[ 'PACKETSTORM', '59347']
],
'DisclosureDate' => 'Sep 10 2007'))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def initialize(info = {})
'References' =>
[
['WPVDB', '8107'],
['URL', 'https://packetstormsecurity.com/files/132750/']
['PACKETSTORM', '132750']
],
'Author' =>
[
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/unix/webapp/cakephp_cache_corruption.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def initialize(info = {})
[ 'OSVDB', '69352' ],
[ 'CVE', '2010-4335' ],
[ 'BID', '44852' ],
[ 'URL', 'http://packetstormsecurity.org/files/view/95847/burnedcake.py.txt' ]
[ 'PACKETSTORM', '95847' ]
],
'Privileged' => false,
'Platform' => ['php'],
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/unix/webapp/nagios_graph_explorer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def initialize(info={})
[
[ 'OSVDB', '83552' ],
[ 'BID', '54263' ],
[ 'URL', 'http://packetstormsecurity.org/files/118497/Nagios-XI-Network-Monitor-2011R1.9-OS-Command-Injection.html' ]
[ 'PACKETSTORM', '118497' ]
],
'Payload' =>
{
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/unix/webapp/projectpier_upload_exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def initialize(info={})
[
['OSVDB', '85881'],
['EDB', '21929'],
['URL', 'http://packetstormsecurity.org/files/117070/ProjectPier-0.8.8-Shell-Upload.html']
['PACKETSTORM', '117070']
],
'Platform' => %w{ linux php },
'Targets' =>
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/windows/http/miniweb_upload_wbem.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def initialize(info={})
[
['OSVDB', '92198'],
['OSVDB', '92200'],
['URL', 'http://dl.packetstormsecurity.net/1304-exploits/miniweb-shelltraversal.txt']
['PACKETSTORM', '121168']
],
'Payload' =>
{
Expand Down
2 changes: 1 addition & 1 deletion tools/dev/msftidy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ def check_ref_identifiers
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\//
elsif value =~ /^https?:\/\/(?:[^\.]+\.)?packetstormsecurity\.(?:com|net|org)\//
warn("Please use 'PACKETSTORM' for '#{value}'")
end
end
Expand Down

0 comments on commit 283cf5b

Please sign in to comment.