in reply to Need to fill password in with perl on Javascript?

"Best" by which criterium?

If best means the least amount of moving parts, then let's by-pass JavaScript altogether. Figure out with Wireshark, Firebug or similar how the actual HTTP request looks like. Then use a HTTP client library such as WWW::Mechanize to duplicate the essential parts of the request. In the majority of cases, these are submitted form contents only.

  • Comment on Re: Need to fill password in with perl on Javascript?

Replies are listed 'Best First'.
Re^2: Need to fill password in with perl on Javascript?
by jdlev (Scribe) on Feb 23, 2012 at 18:17 UTC
    I got firebug. Can you please explain what parts of the html request I should look for and how to find them using firebug? Thanks!
    I love it when a program comes together - jdhannibal
      Open the Net tab. Click the disclosure widget to see the details of a request/response pair.