Skip to content

Commit

Permalink
Fix msftdiy EDB link check
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed Aug 26, 2018
1 parent 1370b59 commit 9725e90
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def initialize(info = {})
[ 'CWE', '661' ],
[ 'URL', 'https://www.phpmyadmin.net/security/PMASA-2016-27/' ],
[ 'URL', 'https://security.gentoo.org/glsa/201701-32' ],
[ 'URL', 'https://www.exploit-db.com/exploits/40185/' ],
[ 'EDB', '40185' ],
],
'Privileged' => true,
'Platform' => [ 'php' ],
Expand Down
2 changes: 1 addition & 1 deletion modules/exploits/windows/fileformat/shaper_pdf_bof.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def initialize(info = {})
],
'References' =>
[
['URL', 'https://www.exploit-db.com/exploits/37760/']
['EDB', '37760']
],
'DefaultOptions' =>
{
Expand Down
2 changes: 1 addition & 1 deletion tools/dev/msftidy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def check_ref_identifiers
warn("Please use 'BID' for '#{value}'")
elsif value =~ /^http:\/\/www\.microsoft\.com\/technet\/security\/bulletin\//
warn("Please use 'MSB' for '#{value}'")
elsif value =~ /^http:\/\/www\.exploit\-db\.com\/exploits\//
elsif value =~ /^https?:\/\/www\.exploit\-db\.com\/exploits\//
warn("Please use 'EDB' for '#{value}'")
elsif value =~ /^http:\/\/www\.kb\.cert\.org\/vuls\/id\//
warn("Please use 'US-CERT-VU' for '#{value}'")
Expand Down

0 comments on commit 9725e90

Please sign in to comment.