Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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.

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985059]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2018-06-23 13:12 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (125 votes). Check out past polls.