Telnet scripting with tst10.exe


Recommended Posts

I found this program called tst10.exe ("telnet scripting tool", available here), that's supposed to let you script a telnet session, but I can't get it to work properly.

The server is the telnet service that comes with XP SP2.

EDIT: I have disabled NTLM authentication ("tlntadmn config sec = -NTLM+passwd").

I can login normally from command prompt.

The script I'm using looks like:

localhost 23
WAIT "login: "
SEND "doMain\\userName\m"
WAIT "password: "
SEND "passWord\m"
WAIT ">"
SEND "dir\m"
WAIT ">"

"doMain", "userName", and "passWord" are placeholders.

The output I get is attached (it's a pic so you can see the block characters).

Can someone not on a domain please test it (maybe that's tripping it up)? The script is for deployment on non-domain machine, but I don't have access to one right now.

Anyone ever used this program, or have any ideas of things I can try?

I have been googling for AGES, and this is the only way I found to script telnet, but if anyone has any other suggestions, I'd love to hear those too.

post-147058-1172120834.png

Link to comment
https://www.neowin.net/forum/topic/540893-telnet-scripting-with-tst10exe/
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.