This is a further supplement to my posts Decoding eval gzinflate base64_decode and Decoding eval gzinflate base64_decode str_rot13.
To decode files obfuscated by SourceCop that look roughly like this:
<?php $_F=__FILE__;$_X='encoded text';eval(base64_decode('pointless crud')); ?> [...]
This is sort of a supplement to the the blog post I made with the PHP snippet on decoding code encrypted via eval(gzinflate(base64_decode(’encoded text‘))); over at:
Decoding eval gzinflate base64_decode
The following code snippet is a simple PHP class found at the post by macosbrain entitled Decode Function: eval gzinflate base64_decode str_rot13 [...]
I recently ran across a freeware web application written in PHP that utilized the following method to encrypt its source code: <?php eval(gzinflate(base64_decode(‘encoded text‘))); ?>
Fortunately, I was able to decode it with this PHP snippet: [...]