<?php
/**
* 遠程啟動計算機
* 注意
* name:薛如飛
* qq:
* e
* blog飛雲蓋天
* date:
**/
if (isset($_POST[
$cmd= stripslashes( $_POST[
exec( $cmd
var_dump($out);
echo
var_dump($cmd);
} else {
?>
<meta http
<form action="index
<p> </p>
<p align="center" >CMD</p>
<table width="
<tr>
<td width="
<td width="
<option value="shutdown
<option value="shutdown
<option value="shutdown
</select></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="提交" /></td>
</tr>
</table>
<p> </p>
</form>
<?php
}
?>
From:http://tw.wingwit.com/Article/program/PHP/201311/20933.html