Oracle SQL Generic Query | Metasploit Exploit Database (DB)

Oracle SQL Generic Query

This module allows for simple SQL statements to be executed against a Oracle instance given the appropriate credentials and sid.

Search Other Modules


Rank

  • Normal

Authors

  • MC < mc [at] metasploit.com >

Vulnerability References


Development


Similar Modules


Usage Information

$ msfconsole

                ##                          ###           ##    ##
 ##  ##  #### ###### ####  #####   #####    ##    ####        ######
####### ##  ##  ##  ##         ## ##  ##    ##   ##  ##   ###   ##
####### ######  ##  #####   ####  ##  ##    ##   ##  ##   ##    ##
## # ##     ##  ##  ##  ## ##      #####    ##   ##  ##   ##    ##
##   ##  #### ###   #####   #####     ##   ####   ####   #### ###
                                      ##

msf > use auxiliary/admin/oracle/oracle_sql
msf auxiliary(oracle_sql) > set RHOST [TARGET IP]
msf auxiliary(oracle_sql) > run


Module Options

DBPASS The password to authenticate with. (default: TIGER)
DBUSER The username to authenticate with. (default: SCOTT)
RHOST The Oracle host. (default: )
RPORT The TNS port. (default: 1521)
SID The sid to authenticate with. (default: ORCL)
SQL The SQL to execute. (default: select * from v$version)
VERBOSE Enable detailed status messages
WORKSPACE Specify the workspace for this module