Skip to content

Commit fd026c5

Browse files
committed
Added References and Disclosure Date
1 parent 5695994 commit fd026c5

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

modules/auxiliary/scanner/http/canon_wireless.rb

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@ def initialize(info={})
1919
[
2020
'Matt "hostess" Andreko <mandreko[at]accuvant.com>'
2121
],
22-
))
23-
22+
'References' => [
23+
[ 'OSVDB', '' ],
24+
[ 'URL', 'http://www.mattandreko.com/2013/06/canon-y-u-no-security.html']
25+
],
26+
'DisclosureDate' => 'June 15 2013'))
2427
register_options(
2528
[
2629
Opt::RPORT(80),
@@ -29,10 +32,10 @@ def initialize(info={})
2932

3033
def get_network_settings
3134
begin
32-
res = send_request_raw({
35+
res = send_request_cgi({
3336
'method' => 'GET',
34-
'uri' => "/English/pages_MacUS/lan_set_content.html",
35-
}, 25)
37+
'uri' => '/English/pages_MacUS/lan_set_content.html',
38+
})
3639
rescue
3740
print_error("#{rhost}:#{rport} Could not connect.")
3841
return
@@ -75,10 +78,10 @@ def get_network_settings
7578

7679
def get_wireless_key
7780
begin
78-
res = send_request_raw({
81+
res = send_request_cgi({
7982
'method' => 'GET',
8083
'uri' => "/English/pages_MacUS/wls_set_content.html",
81-
}, 25)
84+
})
8285
rescue
8386
print_error("#{ip}:#{rport} Could not connect.")
8487
return

0 commit comments

Comments
 (0)