Hi
I would like to script telnet to test my website inputs handling. I can do it manually :
telnet localhost 8888
...
GET / HTTP/1.1\n
Host: localhost
...html response
But I can pass command to telnet in my shell script !
I've tried :
(echo "GET / HTTP/1.1\n"; echo "Host: localhost \n\n"; sleep 1) | telnet localhost 8888
It produces no results at all !