From: <ex...@ih...> - 2002-06-19 01:00:50
|
Are you sure you're expecting the right string? why does it print "looking for password or password"? On Tue, 18 Jun 2002 17:26:27 -0700 "Wim Verhaert" <wve...@re...> wrote: > I am trying to use the expect module to interact with a windows 2000 system via telnet. > > The login is detected but when I need to enter the username it does not seem to continue (it seems as if the enter is not transmitted or understood). > Does anyone ever used it to connect to a windows system? What am I missing here? > > > Here is what I see: forgive my personal debugging. > > ...........Looking for 'login or login' in TIME: '30' seconds > Trying xxx.xxx.xxx.xxx... > Connected to xxx.xxx.xxx.xxx. > Escape character is '^]'. > Microsoft (R) Windows (TM) Version 5.00 (Build 2195) > Welcome to Microsoft Telnet Service > Telnet Server Build 5.00.99201.1 > login: > exp..............Found(login). > ..............printing with argument administrator > > exp...........Looking for 'password or password' in TIME: '30' seconds > administrator > > exp.............Did not find "password or password"... > > > Thanks > > Wim > > |