Created
January 24, 2018 14:34
-
-
Save raminfp/976382480f0b59a8d8fd6df901e6dc86 to your computer and use it in GitHub Desktop.
PHP bypass anti shell
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 | |
$hello = 'Hello'; | |
$world = 'World!'; | |
$str = 'echo "Say : '. $hello . ' ' . $world . '";'; | |
$filename='e'.'v'.'a'.'l(\''. $str. '\');'; | |
$newfunc = create_function('', $filename); | |
$newfunc(); | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment