in reply to How to make Perl modify and trigger Javascript variable/function

If you can drop a web proxy in there to record the data going across the wire when that Javascript fires, you can just do it in Perl and not use IE at all. That may give you more flexibility (and the ability to throw "bad" data at the backend to make sure it can handle it. Never trust the browser!).
  • Comment on Re: How to make Perl modify and trigger Javascript variable/function

Replies are listed 'Best First'.
Re^2: How to make Perl modify and trigger Javascript variable/function
by zerocred (Beadle) on Dec 06, 2009 at 17:49 UTC

    Thanks, emulating everything in Perl would be ideal but a rather big job I should imagine.

    I have managed to see a lot with Fiddler and ieHTTPHeaders, and a bit with Wireshark... but still I can't seem to find the where the SignMsg() hashing/digest function code is that creates the 172 character signature.

    If I know what algorithm it uses I could emulate it (I think)

    There's also an client certificate that is read in, and some aspx code.

    Ah ha - it seems there is an ActiveX controls for both signing and storing data - is it possibel to call those from within Perl?