OraShell is a Python-based command-line tool designed for interacting with Oracle databases via TNS (Transparent Network Substrate) without requiring the installation of sqlplus. It provides an interactive SQL shell.
- Interactive SQL shell for Oracle databases.
- Supports custom credentials and TNS connection details (host, port, service name).
- Built-in commands like
tablesto list user tables. - No dependency on
sqlplus, only requires Oracle Instant Client andcx_Oracle. - Error handling for connection and query issues.
- Pentest-friendly, with a focus on simplicity and portability.
- Python 3.6+
cx_Oracle(version 8.3.0 recommended, specified inrequirements.txt)- Oracle Instant Client (version 21.8 recommended)
- Linux environment with
wget,unzip, andpip3installed
git clone https://github.com/raphaelgpalma/OraShell.git
cd OraShellInstall the required Python library (cx_Oracle):
pip3 install -r requirements.txtpython3 orashell.py