I've got some code that was at the bottom of a php file that is in javascript. It goes through lots of weird contortions like converting hex to ascii then doing regex replacements, executing code and so on...
Is there any way to find out what it's executing before it actually does it?
The code is here:
Easiest approach would be too simply use a simple c program to convert the escaped hex characters into readable text like so:
which yields this (I added formatting). I'll let you finish off the last part which appears to be more of the same.