I often need to quickly test a remote or a local tcp listener and I use telnet on my PC
Sometimes I need to see the very first answer but there is an escape sequence in the answer which clears the screen
I tried to redirect but the resulting file remains empty
C:\> telnet remoteHost portNumber > .\tmp\result
Is there a way to obtain the very first answer? Thank you.
ncat (from nmap.org) in verbose mode seems to filter some sequences
C:\> ncat -vvv remoteHost portNumber
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.