Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: javascript login

by bulk88 (Priest)
on Aug 02, 2012 at 15:41 UTC ( #985059=note: print w/ replies, xml ) Need Help??


in reply to javascript login

Turn off images in the browser, load the login page, turn on Wireshark to sniff the Ethernet interface, type in username/pass, click login, let destination page load, stop wireshark capture. Use the capture data to replicate in LWP what the JS did (POST or GET or whatever). Use wireshark to see what LWP is doing, and how good your LWP code is compared to a real browser.


Comment on Re: javascript login
Re^2: javascript login
by Anonymous Monk on Aug 02, 2012 at 16:31 UTC

    And if you feel uncomfortable with Ethereal/Wireshark, you can use Mozilla extensions such as LiveHTTPHeaders or Firebug. Or just figure out what the JavaScript is doing manually. (Given how common these questions here are, someone really ought to write a "How to deal with JavaScript" document.)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2014-08-21 06:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls