From fd62a6e9a7f2c64cad9158e81e4ef128e2e64893 Mon Sep 17 00:00:00 2001 From: Mario Ceballos Date: Sun, 11 Apr 2010 16:45:50 +0000 Subject: [PATCH] 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 --- modules/auxiliary/admin/oracle/oracle_login.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/auxiliary/admin/oracle/oracle_login.rb b/modules/auxiliary/admin/oracle/oracle_login.rb index 34d0693097..bce46717be 100644 --- a/modules/auxiliary/admin/oracle/oracle_login.rb +++ b/modules/auxiliary/admin/oracle/oracle_login.rb @@ -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']}")