Skip to content

Commit

Permalink
Merge branch 'master' of github.com:rapid7/metasploit-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
thelightcosine committed Jan 11, 2012
2 parents 8c59479 + 092b226 commit 1a03777
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/exploits/windows/oracle/tns_auth_sesskey.rb
Expand Up @@ -71,6 +71,7 @@ def initialize(info = {})

register_options(
[
OptString.new('SID', [ true, 'The target database SID', 'ORCL']),
Opt::RPORT(1521)
], self.class)
end
Expand Down Expand Up @@ -125,7 +126,7 @@ def exploit
connect_data = "" +
"(DESCRIPTION=" +
"(CONNECT_DATA=" +
"(SERVICE_NAME=orcl)" +
"(SERVICE_NAME=#{datastore['SID']})" +
"(CID=" +
"(PROGRAM=client.exe)" +
"(HOST=client_host)" +
Expand Down

0 comments on commit 1a03777

Please sign in to comment.