How to restore obfuscated property names?

A simple regex replace will do: var _$_21e2 = [“jQuery”, “userAgent”, “test”, “onmouseup”, “onmousemove”, “pink”, “greenyellow”, “gold”]; return code.replace(/\[_\$_21e2\[(\d+)\]\]/g, function(_, i) { return “.”+_$_21e2[i]; }).replace(/_\$_21e2\[(\d+)\]/g, function(_, i) { return JSON.stringify(_$_21e2[i]); }); Given the code as a string, this will yield a code string with human-readable property names and literals.

How to get rid of eval-base64_decode like PHP virus files?

Steps to recover and disinfect your site (provided you have a known good backup). 1) Shutdown the Site You need to basically close the door to your site before you do your remedial work. This will prevent visitors getting malicious code, seeing error messages, etc. Just good practice. You should be able to do this … Read more