thnx steve,,,
I got it working with expect...
anyways,,,,thnx for all the responses...
cheers............
Printable View
thnx steve,,,
I got it working with expect...
anyways,,,,thnx for all the responses...
cheers............
I would reccomend using Teraterm. It is a free telnet client that it's own scripting language. It allows you to use dialog boxes, variables, etc. It is a great time saver. They have examples of most of the functions right there in the help.
Hope it helps!
Tfunk
How did you get expect to handle NTLM?Quote:
Originally posted here by gunit0072003
thnx steve,,,
I got it working with expect...
anyways,,,,thnx for all the responses...
cheers............
Taking kind of a wild guess here....
If ure working with the bash i gues u can automate the process by creating a text with all the input u have to do and then executing the file in the bash with the "<" operator, Im not really sure if this works since Ive only used it to automate program testing inputs in the bash
Okay i just tried it out
while working on the bash
I made a file named entries.in with some entries to throw to the bash
then I executed it with
"bash <entries.in" without the ""
and goila!! it made all the entries, so I guess u can do that
I think it'll work when you try that with netcat: http://www.atstake.com/research/tool...ork_utilities/Quote:
I dunno if this would work but try -
telnet 1.2.3.4 < commands.txt
where commands.txt looks like this:
username
password
cd /a/b/c
Cget.pl "hostname"
userID
password2
userid1
password3
quit
nc -t -vv 1.2.3.4 23 < commands.txt