soulhealer Posted April 20, 2007 Share Posted April 20, 2007 Hi, I searched on this forum, i kinda stuck on finding working telnet script. the one frank10 posted, was only receiving raw packets of TCP. further reading, i saw someone said, telnet is using ANSI chars, which is why frank10 script doesn't work well (showing weird chars instead of ASCII text). so, perhaps, anyone already got solution from other forum maybe? thank you. Link to comment Share on other sites More sharing options...
Zedna Posted April 20, 2007 Share Posted April 20, 2007 (edited) For OEM->ANSI is possible conversion.For Telnet is working solution with alternative telnet client which (opposite to Microsoft standard client) supports standard output stream,so you can use StdOutRead()Search forum for this.EDIT: here is code for OemToAnsi conversion$currentRead = StdoutRead($ourProcess) $currentRead = DllCall('user32.dll','Int','OemToChar','str',$currentRead,'str','') ; translate from OEM to ANSI $currentRead = $currentRead[2] Edited April 20, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
soulhealer Posted April 20, 2007 Author Share Posted April 20, 2007 it's not working(i added it to frank's script) Link to comment Share on other sites More sharing options...
Zedna Posted April 20, 2007 Share Posted April 20, 2007 (edited) it's not working(i added it to frank's script)Look here and here Edited April 20, 2007 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
soulhealer Posted April 20, 2007 Author Share Posted April 20, 2007 You are refering me to Simucal 's post well, works pretty good... i'm trying to analyze it at the moment, i hope this works thanks Link to comment Share on other sites More sharing options...
soulhealer Posted April 21, 2007 Author Share Posted April 21, 2007 (edited) i tested it... works well until the login screen... after the login, autoit StdinWrite the login&pass informations, but then, it started to show the unusual characters again. Edited April 21, 2007 by soulhealer Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now