How to decoding eval gzinflate base64_decode
By istanto
@istanto (8548)
Indonesia
February 19, 2007 11:23pm CST
Why we need to do this? Because those developer give us encrypted code. how we can learn from that sample code if they encrypt the real code, this it's not make us smart.
with this php snippet you can decode source code encrypted by eval gzinflate base64_decode. I try some code encrypted and I get 100% fully working code. If you want to decode zend encrypted just change the properties. learn it yourself I'm not supporting illegal doing in here also I'm not selling service for decode other people code. all I tell in here just for education if you try this method take it as your own risk.
alright preparing for decode.. make 2 files named coded.txt and decoded.txt then make whatyouwant.php and put this code into whatyouwant.php files. upload all files into your hosting and set permission 777 for decoded.txt run whatyouwant.php via browser and see decoding result on decoded.txt
Snippet Code ( remove /// )
////", "", $contents);
eval(preg_replace("/eval/", "\$contents=", $contents));
}
echo "3. Writing coded.txt\n";
$fp2 = fopen("decoded.txt","w");
fwrite($fp2, trim($contents));
fclose($fp2);
///?
Result sample in the Images.
2 responses