Created
September 4, 2012 13:14
-
-
Save bheesham/3621049 to your computer and use it in GitHub Desktop.
Test to see what online PHP testers do to escape this listing the files of the current directory.
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
function stev_al($str) { | |
$test = "eval"; | |
$test($str); | |
} | |
echo stev_al(base64_decode("JGZpbGVzID0gZGlyKCcuLycpOw0Kd2hpbGUgKGZhbHNlICE9PSAoJGVudHJ5ID0gJGQtPnJlYWQoKSkpIHsNCiAgIGVjaG8gJGVudHJ5LiAiPGJyPiI7DQp9DQokZC0")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment