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(
|
register_options(
|
||||||
[
|
[
|
||||||
|
OptString.new('SID', [ true, 'The target database SID', 'ORCL']),
|
||||||
Opt::RPORT(1521)
|
Opt::RPORT(1521)
|
||||||
], self.class)
|
], self.class)
|
||||||
end
|
end
|
||||||
|
@ -125,7 +126,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
connect_data = "" +
|
connect_data = "" +
|
||||||
"(DESCRIPTION=" +
|
"(DESCRIPTION=" +
|
||||||
"(CONNECT_DATA=" +
|
"(CONNECT_DATA=" +
|
||||||
"(SERVICE_NAME=orcl)" +
|
"(SERVICE_NAME=#{datastore['SID']})" +
|
||||||
"(CID=" +
|
"(CID=" +
|
||||||
"(PROGRAM=client.exe)" +
|
"(PROGRAM=client.exe)" +
|
||||||
"(HOST=client_host)" +
|
"(HOST=client_host)" +
|
||||||
|
|
Loading…
Reference in New Issue