Code Review Feedback from wchen

Fixed the disclosure date format
Removed the rport option
Added a call to report_note to store the data
unstable
Matt Andreko 2013-06-18 12:13:19 -04:00
parent df8c80e3d1
commit 7f1a913bdc
1 changed files with 8 additions and 5 deletions

View File

@ -23,11 +23,7 @@ class Metasploit3 < Msf::Auxiliary
[ 'CVE', '2013-4614' ],
[ 'URL', 'http://www.mattandreko.com/2013/06/canon-y-u-no-security.html']
],
'DisclosureDate' => 'June 18 2013'))
register_options(
[
Opt::RPORT(80),
], self.class)
'DisclosureDate' => 'Jun 18 2013'))
end
def get_network_settings
@ -132,6 +128,13 @@ class Metasploit3 < Msf::Auxiliary
good_string += "\tSSID: #{ns[1]}\tEncryption Type: #{wireless_key[0]}\tKey: #{wireless_key[1]}"
end
report_note({
:data => good_string,
:type => 'canon.wireless',
:host => ip,
:port => rport
})
print_good good_string
end