Put the curly braces back and drop a comma

The curly braces make extra commas at the end ok in 1.8. So fe39642e
broke this module for 1.8. Having braces doesn't hurt anything and
protects against syntax errors if a module author is not dilligent with
their commas, especially after copy-pasting another module.
unstable
James Lee 2012-06-16 01:17:33 -06:00
parent 424948a358
commit 7eebc671ba
1 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ class Metasploit3 < Msf::Exploit::Remote
include Msf::Auxiliary::Report
def initialize(info = {})
super(update_info(info,
super(update_info(info, {
'Name' => 'F5 BIG-IP SSH Private Key Exposure',
'Version' => '$Revision$',
'Description' => %q{
@ -44,8 +44,8 @@ class Metasploit3 < Msf::Exploit::Remote
],
'DisclosureDate' => "Jun 11 2012",
'DefaultOptions' => { 'PAYLOAD' => 'cmd/unix/interact' },
'DefaultTarget' => 0,
))
'DefaultTarget' => 0
}))
register_options(
[