Last active
February 24, 2016 12:42
-
-
Save gwarnants/31d4a065fc6a676cfd60 to your computer and use it in GitHub Desktop.
Hijack PHP easter eggs using .htaccess. This could be an alternative solution when no possibility to disable expose_php in php.ini
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
RewriteEngine On | |
RewriteCond %{QUERY_STRING} ^=PHPE9568F3[4-6]-D428-11d2-A769-00AA001ACF42$ [OR] | |
RewriteCond %{QUERY_STRING} ^=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000$ | |
RewriteRule (.*) - [F] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment