Created
January 29, 2013 16:52
-
-
Save n3o77/4665748 to your computer and use it in GitHub Desktop.
Decode PHP eval obfuscation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$string = "BASE 64 STRING"; | |
$decode = strrev('edoced_46esab'); | |
$result = eval(str_replace('eval', 'return', $decode($string))); | |
while (strstr($result, 'eval')) { | |
$result = eval(str_replace('eval', 'return', $result)); | |
} | |
echo("<pre>".$result."</pre>"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Amazing.... really helpful