Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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 making s'mores by the fire in the courtyard of the Monastery: (7)
As of 2019-06-19 08:48 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (87 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!