Good evening!

The task is this: The site has encrypted JavaScript code that generates a checksum (set of digits) for the next request. This amount is needed for further work with the site.

Purpose: you need to execute encrypted JS code and get this value. To continue working with the site.

  • one
    Transfer the hash generation code to the Delphi language, what's so complicated? Give JS code, you will be decrypted. - lampa
  • @Factory Well, you provide the code to make it clear how it works. I do not know what works and where the hash is transmitted. Perhaps the hash is generally created on the site :) - lampa

1 answer 1

Is that to use the engine IE. If JS uses this engine (for example, access to the DOM page), which is probably true, then you can’t do without a browser.

The network is full of JS interpreters for delphi. I doubt that they will perceive the JS code that has been installed, as the browser does.

Try to interpret JS in Delphi as a code, and independently calculate this amount.