[Tfug] Netcat and CHAT
Choprboy
tfug@tfug.org
Sun Jan 26 21:04:01 2003
Anybody ever do anything with netcat and chat/expect??? I was trying to write
a quick script to communicate with a device (via telnet interface), but I
can't seem to get chat to respond. Anybody do something like this already? I
need to connect, respond to a response, and possibly reiterate a few thousand
times.
I was trying to do something like, with lots of different variations:
chat -f chatscript <backpipe |nc <remote host> 23 >backpipe
Adrian