I have a server that listens to simple tcp sockets. If connecting to it, it prints a prompt and I can type commands, hit enter, see (and save) results, and then have the prompt again. I'm using telnet right now to connect, but want something more console/shell like.
Specifically, I'm looking for a tool that only sends what I've typed when I type (meaning, not every character I type), and so allows me to edit the line in the client side. In telnet, if i write type 'foo' (without quotes) and then hit backspace and type 'o', the server gets 'fooo', which it can't handle. I want the backspace to be handled in the client, so the server sees 'foo'. I also want history handling.
I work in Windows and looking for freeware
Did you have a look at netcat ( http://netcat.sourceforge.net/)
Try
ncat
, which comes with nmap 5.0 and later. I run:I type:
I get:
I ended up using socat http://www.dest-unreach.org/socat/ (http://www.gentilkiwi.com/telechargements-s43-t-socat.htm#englishversion). together with cygwin's readline, I have all that I need.
Did not compare to netcat.
Meant to put this as an answer
Download a tool called socket workbench. You get a 30 day trial which will allow you to do most of what you want. However it is worth while buying if you are doing this stuff alot
J