Update modules/auxiliary/admin/oracle/oracle_index_privesc.rb

Use print_error for errors and print the error details,

Co-Authored-By: moshekaplan <me@moshekaplan.com>
This commit is contained in:
Brendan Coles 2018-11-30 09:39:57 -05:00 committed by GitHub
parent 0a2c0751fa
commit 1eeb1005db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ class MetasploitModule < Msf::Auxiliary
prepare_exec(clean_func)
print_status("Exploit complete!")
rescue ::OCIError => e
print_status("Error!")
print_error("Error! #{e.message}")
end
end