User Profile

Collapse

Profile Sidebar

Collapse
newperluser
newperluser
Last Activity: Aug 5 '09, 11:17 AM
Joined: Aug 4 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • So this would mean I need to seperately install the expect module on every machine that I run this program on.... I run this on multiple platforms and this is going to be a time consuming thing for me :(
    See more | Go to post

    Leave a comment:


  • I know using expect in my code is going to be really very complex. Unfortunately the client does not have an option to provide the passphrase and the client is coded in C and we dont want to make any changes to it now. So the question nw is hw can this be implemented using perl in the automation script.
    See more | Go to post

    Leave a comment:


  • Hi Jeff,

    Thanks for your reply,

    But even after trying out your code My code is not picking the passphrase from the file It stil prompts me for the passphrase

    Code:
    open(CFGFILE, "<../phrase.cfg");
    while (<CFGFILE>)
    {
      ($key,$value)=split(/\s+/,$_);
       $config{$key}=$value;
    }
    #My client code , following which it will prompt for passphrase
    ...
    See more | Go to post
    Last edited by numberwhun; Aug 4 '09, 06:58 PM. Reason: Please use code tags!

    Leave a comment:


  • How to make an automated password file for perl script

    Hi All,
    Im new to perl programming and currently using a automation code written in perl by someone else.
    My script uses an openssl client to perform some handshake operation using the client certificate, for the handshake to be successful it prompts for a passphrase. So I thought of keeping the passphrase in a file and at run time my ssl client should pick from the file. But I'm nt sure hw to go abt with it any suggestions guys??...
    See more | Go to post
No activity results to display
Show More
Working...