Skip to content

Instantly share code, notes, and snippets.

@raminfp
Created January 24, 2018 14:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raminfp/976382480f0b59a8d8fd6df901e6dc86 to your computer and use it in GitHub Desktop.
Save raminfp/976382480f0b59a8d8fd6df901e6dc86 to your computer and use it in GitHub Desktop.
PHP bypass anti shell
<?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