log to the appropiated place.

git-svn-id: file:///home/svn/framework3/trunk@7664 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Mario Ceballos 2009-12-01 23:00:42 +00:00
parent b486654975
commit 25106b555f
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class Metasploit3 < Msf::Auxiliary
:type => 'ORACLE_BRUTEFORCED_ACCOUNT',
:data => "#{datastore['DBUSER']}/#{datastore['DBPASS']} with sid #{datastore['SID']}"
)
found = File.new("./data/wordlists/oracle_default_found.log","a")
found = File.open(File.join(Msf::Config.log_directory,"oracle_default_found.log"), "a")
print_status("Found user/pass of: #{datastore['DBUSER']}/#{datastore['DBPASS']} on #{datastore['RHOST']} with sid #{datastore['SID']}")
found.write "Found user/pass of: #{datastore['DBUSER']}/#{datastore['DBPASS']} on #{datastore['RHOST']} with sid #{datastore['SID']}.\n"
found.close