CAP
Last updated
Last updated
NMAP
port 80
dashboard of Network monitoring system
dig into the app to find more stuff ...
download cap file to analyze it using wireshark ...
after download i can't find anything interesting
so lets try to find anther CAP file but How !!
IDOR is the Ket in this case ...
change URL to http://cap.htb/data/0
Download CAP ...
time to have some fun
following streams find this credentials
Credentials nathan:Buck3tH4TF0RM3!
login as nathan using SSH
taking capabilities path ...
first list theme
/usr/bin/python3.8 = cap_setuid,cap_net_bind_service+eip
"cap_setuid"
we can set user ID using python
./python3.8 -c 'import os; os.setuid(0); os.system("/bin/sh")'
you can find this at GTFObin