I'm trying to de-obfuscate a Javascript file:
Javascript Obfuscated File
I have already de-obfuscated the code but it's still hard to read. As you can see in the code below there is a huge list of variable definition which they are referenced in the code.
All I wanna do is to replace all of the values of variables which in this case are strings to where they are used. It's hard to keep copy and pasting the values of variables and replace them to where they are referenced. I wanna know if there is a tool to do this job for me. I am already using Visual Studio Code to find all references of a variable and replacing it with it's value. but it's a huge list I wanted to do this task with a tool if possible.
Sorry if my English is not good, feel free to ask for more details if you need. Thank you for your time.

  • If you don't have to respect function scopes or whatever and a basic replace-all does the trick, it sounds like a task for a simple script, not really a RE problem then. – Johann Aydinbas Apr 18 '19 at 23:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.