I found this javascript file on one of those online movie streaming services and was interested in finding out what it does. However, after trying many deobfuscators I am still stuck. A major problem preventing me from making progress was that when I tried staying on the page too long, Chromium (Firefox had the same problem) would run out of memory and freeze. Running it in node resulted in the same thing ("FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory"). This also prevented me from trying to add console.log statements because it would simply freeze. I am not experienced enough to see what is actually causing these massive allocations to occur. Any advice as to where I should look next?

Original File URL: https://videospider.in/js/play2.min.js

Archived: https://pastebin.com/ycw6MSLQ


it was obfuscated with obfuscator.io, here it is deobfuscated.
The function names and variables are still random though.

  • this is not "deobfuscated", you just added carriage returns; obfuscation is "giving random names to functions and variables and removing unneded spaces and carriage returns". – jumpjack Sep 26 '20 at 10:24

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.