T
T
Ternick2021-06-08 15:52:00
JavaScript
Ternick, 2021-06-08 15:52:00

Is it possible to track the creation/access to variables?

Good day !
I would like to try to understand approximately what data the js script collects from the browser, but it is minified or obfuscated, or all at once =/

Unfortunately, these changes cannot be played back due to the strong coherence of the code.

As I see it approximately, for example, something like this, an example for functions:

function hookAlert(){
    var oldAlert = alert;
    alert = (msg) => {
        console.log("alert used");
        oldAlert(msg);
    }
}

Maybe this is not the best option, but this is the simplest of what came to mind.

Perhaps there are separate browser versions or js emulators for reversing?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question