Skip to content

Commit 7d942be

Browse files
committed
Land rapid7#3755, WVE and BPS reference removal
2 parents 643329e + 0d56a8e commit 7d942be

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/msf/core/module/reference.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,8 @@ def initialize(in_ctx_id = 'Unknown', in_ctx_val = '')
104104
self.site = 'http://technet.microsoft.com/en-us/security/bulletin/' + in_ctx_val.to_s
105105
elsif (in_ctx_id == 'EDB')
106106
self.site = 'http://www.exploit-db.com/exploits/' + in_ctx_val.to_s
107-
elsif (in_ctx_id == 'WVE')
108-
self.site = 'http://www.wirelessve.org/entries/show/WVE-' + in_ctx_val.to_s
109107
elsif (in_ctx_id == 'US-CERT-VU')
110108
self.site = 'http://www.kb.cert.org/vuls/id/' + in_ctx_val.to_s
111-
elsif (in_ctx_id == 'BPS')
112-
self.site = 'https://strikecenter.bpointsys.com/bps/advisory/BPS-' + in_ctx_val.to_s
113109
elsif (in_ctx_id == 'ZDI')
114110
self.site = 'http://www.zerodayinitiative.com/advisories/ZDI-' + in_ctx_val.to_s
115111
elsif (in_ctx_id == 'URL')

tools/msftidy.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,6 @@ def check_ref_identifiers
177177
warn("milw0rm references are no longer supported.")
178178
when 'EDB'
179179
warn("Invalid EDB reference") if value !~ /^\d+$/
180-
when 'WVE'
181-
warn("Invalid WVE reference") if value !~ /^\d+\-\d+$/
182180
when 'US-CERT-VU'
183181
warn("Invalid US-CERT-VU reference") if value !~ /^\d+$/
184182
when 'ZDI'
@@ -194,8 +192,6 @@ def check_ref_identifiers
194192
warn("Please use 'MSB' for '#{value}'")
195193
elsif value =~ /^http:\/\/www\.exploit\-db\.com\/exploits\//
196194
warn("Please use 'EDB' for '#{value}'")
197-
elsif value =~ /^http:\/\/www\.wirelessve\.org\/entries\/show\/WVE\-/
198-
warn("Please use 'WVE' for '#{value}'")
199195
elsif value =~ /^http:\/\/www\.kb\.cert\.org\/vuls\/id\//
200196
warn("Please use 'US-CERT-VU' for '#{value}'")
201197
end

0 commit comments

Comments
 (0)