谁敢再cmd运行这个代码:powershell -Command "$AddType = '[DllImport(\"user32.dll\")] public static extern bool SetCursorPos(int X, int Y); [DllImport(\"user32.dll\")] public static extern void mouse_event(int dwFlags, int dx, int dy, int cButtons, int dwExtraInfo);'; Add-Type -MemberDefinition $AddType -Name 'Win32' -Namespace 'Native'; Add-Type -AssemblyName System.Windows.Forms; $sw = [System.Windows.Forms.SystemInformation]::VirtualScreen.Width; $sh = [System.Windows.Forms.SystemInformation]::VirtualScreen.Height; $rand = New-Object Random; while($true) { $x = $rand.Next(0, $sw); $y = $rand.Next(0, $sh); [Native.Win32]::SetCursorPos($x, $y); $action = $rand.Next(0, 15); if ($action -eq 0) { [Native.Win32]::mouse_event(0x0002, 0, 0, 0, 0); [Native.Win32]::mouse_event(0x0004, 0, 0, 0, 0); } elseif ($action -eq 1) { [Native.Win32]::mouse_event(0x0008, 0, 0, 0, 0); [Native.Win32]::mouse_event(0x0010, 0, 0, 0, 0); } Start-Sleep -Milliseconds 10; }"