xsjezp 2009-06-07
代码如下:
Set Shell = CreateObject("WScript.Shell") Shell.Run "cmd /c @runas /user:administrator CMD" WScript.Sleep 2000 Shell.SendKeys "password{ENTER}exit{ENTER}" WScript.Sleep 1000 Shell.SendKeys "@echo off&cls&net stop messenger&net start messenger&exit{ENTER}"
代码如下:
dim WshShell,cmd cmd="%SystemRoot%\system32\cmd.exe" Set WshShell=WScript.CreateObject("WScript.Shell") WshShell.Run cmd WScript.Sleep 500 WshShell.SendKeys"runas /user:Administrators\用户名 密码 命令" WshShell.SendKeys"{ENTER}" WScript.Sleep 1000 WshShell.SendKeys"%2" WshShell.SendKeys"{ENTER}" WScript.Sleep 500 WshShell.SendKeys"exit" WshShell.SendKeys"{ENTER}"以上保存为VBS
<?php. if (!empty($_POST)) {. $data1 = $_POST["data1"];$data2 = $_POST["data2"];$fuhao = $_POST["fuh
test-f /etc/resolv.conf &&echo"File /etc/resolv.conf found."||echo"File /etc/resolv.conf not found."