Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re: LWP::UserAgent vs. NTLM Challenge/Response

by blahblahblah (Priest)
on Oct 05, 2007 at 01:09 UTC ( #642799=note: print w/replies, xml ) Need Help??

in reply to LWP::UserAgent vs. NTLM Challenge/Response

I believe the stuff that LWP does deals with HTTP headers, and in your case it looks like the info is in form fields. You're not likely to find a pre-made solution that fits this method. You could possibly roll your own with Authen::NTLM. The first step would probably be to log into the site using your browser and watch how it works using something like Paros or Charles.

Speaking of those tools, an alternative might be to watch if they set a cookie, like vcTheGuru suggested. If so, then you might be able to hardcode a spoofed cookie to trick the site into thinking you have one long never-ending session.

Even if neither of my ideas work out, I'd suggest trying one of the tools I linked to above. They'll help take the guesswork out of what you need to do.


  • Comment on Re: LWP::UserAgent vs. NTLM Challenge/Response

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://642799]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2021-03-07 12:57 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (121 votes). Check out past polls.