SQLPLUS

This is a command-line utility provided by Oracle that allows users and administrators to connect to an Oracle database and interact with it using SQL and PL/SQL commands. By specifying a username, password, and the database’s SID or service name, SQLPlus establishes a session with the desired database instance, enabling the execution of queries, data manipulation, and administrative tasks. It supports scripting, batch processing, and the execution of complex PL/SQL blocks, making it a powerful tool for database management, testing, and automation. SQLPlus can be run locally on the database server or remotely on a client machine, often leveraging TNS connection strings defined in tnsnames.ora to resolve network addresses. Its simplicity, combined with full support for Oracle SQL and PL/SQL, makes it a core tool for database developers and administrators to monitor, manage, and interact with Oracle databases efficiently.

INSTALLATION

SQLPLUS: DB INTERACTION

CONNECTION

DISPLAYING TABLES

DISPLAYING CURRENT USER PRIVILEGES

DB ENUMERATION

RETRIEVING PW HASHES

This will try to retrieve the password hashes from the sys.user$ for offline cracking.

The sys.user$ table is a core data dictionary table within the SYS schema and is not accessible to regular users. Access to this table is restricted because it contains sensitive information, including hashed passwords. Only users with high-level administrative privileges—such as those granted the DBA role or direct SELECT ANY TABLE privileges—can query it. Oracle enforces these restrictions to protect the security and integrity of the database, preventing unauthorized users from viewing or tampering with critical system data.

Last updated