Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: How can I automate the following process?

  1. #11
    Senior Member
    Join Date
    Aug 2003
    Posts
    205
    thnx steve,,,

    I got it working with expect...

    anyways,,,,thnx for all the responses...

    cheers............

  2. #12
    Junior Member
    Join Date
    Jun 2003
    Posts
    14
    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

  3. #13
    Senior Member
    Join Date
    Nov 2001
    Posts
    4,785
    Originally posted here by gunit0072003
    thnx steve,,,

    I got it working with expect...

    anyways,,,,thnx for all the responses...

    cheers............
    How did you get expect to handle NTLM?
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

  4. #14
    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
    I Speak in frequencies even dogs have trouble hearing


  5. #15
    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 Speak in frequencies even dogs have trouble hearing


  6. #16
    Senior Member
    Join Date
    Jun 2003
    Posts
    772
    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
    I think it'll work when you try that with netcat: http://www.atstake.com/research/tool...ork_utilities/

    nc -t -vv 1.2.3.4 23 < commands.txt
    The above sentences are produced by the propaganda and indoctrination of people manipulating my mind since 1987, hence, I cannot be held responsible for this post\'s content - me

    www.elhalf.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •