Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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]
[shmem]: Corion: very clear case of missing sequence number
[Corion]: shmem: Yeah. I guess they have a sequence number but distribute the events across threads or machines or whatever.
[karlgoethebier]: choroba: another chapter of "Learning English At The Monastry"?
[shmem]: Corion, well then... next issue, sequence number not a shared resource :P
[Discipulus]: shmem i'm searching it.. but failing i was sure was in Re: Let's Make PerlMonks Great Again! -- suggestions and dreams
erix recommends Vanished Kingdoms
[Corion]: shmem: Yeah, something like that. Not that that would be a solved issue. Simply process all events that come in from a single interface sequentially. Ah well.
[Discipulus]: their

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (11)
As of 2017-05-23 08:27 GMT
Find Nodes?
    Voting Booth?