08-25-2006
151,
1
Join Date: Dec 2004
Last Activity: 31 January 2011, 2:32 PM EST
Location: Zürich
Posts: 151
Thanks Given: 0
Thanked 1 Time in 1 Post
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.