1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

updated to use report_auth_info() since user_pass is needed to authenticate.

git-svn-id: file:///home/svn/framework3/trunk@9051 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Mario Ceballos 2010-04-11 16:45:50 +00:00
parent c8a8a6a3fe
commit fd62a6e9a7

View File

@ -57,11 +57,11 @@ class Metasploit3 < Msf::Auxiliary
rescue ::OCIError => e
else
if (not e)
report_note(
:host => datastore['RHOST'],
:proto => 'tcp',
:port => datastore['RPORT'],
:type => 'ORACLE_BRUTEFORCED_ACCOUNT',
report_auth_info(
:host => "#{datastore['RHOST']}",
:proto => 'tns',
:port => "#{datastore['RPORT']}",
:type => 'oracle_bruteforced_account',
:data => "#{datastore['DBUSER']}/#{datastore['DBPASS']} with sid #{datastore['SID']}"
)
print_status("Found user/pass of: #{datastore['DBUSER']}/#{datastore['DBPASS']} on #{datastore['RHOST']} with sid #{datastore['SID']}")