Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: javascript login

by bulk88 (Priest)
on Aug 02, 2012 at 15:41 UTC ( [id://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.

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://985059]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-03-28 23:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found