Skip to content

Commit 7f1a913

Browse files
committed
Code Review Feedback from wchen
Fixed the disclosure date format Removed the rport option Added a call to report_note to store the data
1 parent df8c80e commit 7f1a913

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

modules/auxiliary/scanner/http/canon_wireless.rb

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,7 @@ def initialize(info={})
2323
[ 'CVE', '2013-4614' ],
2424
[ 'URL', 'http://www.mattandreko.com/2013/06/canon-y-u-no-security.html']
2525
],
26-
'DisclosureDate' => 'June 18 2013'))
27-
register_options(
28-
[
29-
Opt::RPORT(80),
30-
], self.class)
26+
'DisclosureDate' => 'Jun 18 2013'))
3127
end
3228

3329
def get_network_settings
@@ -132,6 +128,13 @@ def run_host(ip)
132128
good_string += "\tSSID: #{ns[1]}\tEncryption Type: #{wireless_key[0]}\tKey: #{wireless_key[1]}"
133129
end
134130

131+
report_note({
132+
:data => good_string,
133+
:type => 'canon.wireless',
134+
:host => ip,
135+
:port => rport
136+
})
137+
135138
print_good good_string
136139

137140
end

0 commit comments

Comments
 (0)