diff --git a/pentesting/pentesting-telnet.md b/pentesting/pentesting-telnet.md index b9501ec0..525cbd4b 100644 --- a/pentesting/pentesting-telnet.md +++ b/pentesting/pentesting-telnet.md @@ -39,5 +39,27 @@ In the TELNET Protocol are various "**options**" that will be sanctioned and may /etc/xinetd.d/stelnet ``` +## HackTricks Automatic Commands +``` +Protocol_Name: Telnet #Protocol Abbreviation if there is one. +Port_Number: 23 #Comma separated if there is more than one. +Protocol_Description: Telnet #Protocol Abbreviation Spelled out +Name: Notes +Description: Notes for t=Telnet +Note: """ +wireshark to hear creds being passed +tcp.port == 23 and ip.addr != myip + +https://book.hacktricks.xyz/pentesting/pentesting-telnet +""" + +Name: Banner Grab +Description: Grab Telnet Banner +Command: """nc -vn {IP} 23 + +Name: Nmap with scripts +Description: Run nmap scripts for telnet +Command: """nmap -n -sV -Pn --script "*telnet*" -p 23 {IP}""" +```