Is this possible?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Is this possible?
# 1  
Old 08-23-2006
Is this possible?

I want to write a sh/perl script to login to a web site for example

(from unix) go to http://login.yahoo.com/
pass userid/password
then sign out

Thanks in advance.
# 2  
Old 08-23-2006
Yes, it's possible, but why would you want to do this?
# 3  
Old 08-24-2006
I just gave an example of "YAHOO" i have a 4-tier application... I want to have script login there and then perform some browsering....
# 4  
Old 08-25-2006
What you have to do is probably somthing like the following:

Monitor all HTTP headers you send and recieve in your request/response cycles with a tool like Live HTTP Headers for Firefox.

Write a script that send a request, then looks in the response for certain values in the headers or the body, and then perform your next request.

There are tools to automate this, maybe even Live HTTP Headers can do this for you.

This is not possible with sh (unless you use an already open socket), but with Perl it is.
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question