RSS Feed
Mar 22

Decrypt nested eval gzinflate str_rot13 base64_decode

Posted on Saturday, March 22, 2008 in Coding

So I went ahead and wrote a script to undo massively nested eval(gzinflate(str_rot13(base64_decode(‘STRING’)))); and eval(gzinflate(base64_decode(‘STRING’))); “encryptions” with a multitude of both of them inside it. The string from the original footer here had to go through 67 different iterations before it got to the real source code (talk about overkill).
If you have strings that aren’t nested, you can probably just do this:

$string = gzinflate(str_rot13(base64_decode('YOUR STRING')));
$string = htmlentities($string, ENT_NOQUOTES);
echo $string;

If you have a string from that fits that description you can decrypt it here

Or if you just want to test it here’s the original string from the footer of this one of my old themes: