Created
September 20, 2022 09:53
-
-
Save Natgho/5089ebcc3d00c2d160e264437a1f53d1 to your computer and use it in GitHub Desktop.
WingardiumLeviosa
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Clear-Host | |
Add-Type -AssemblyName System.Windows.Forms | |
Echo " __ __.__ .___.__ .____ .__ | |
/ \ / \__| ____ _________ _______ __| _/|__|__ __ _____ | | _______ _|__| ____ ___________ | |
\ \/\/ / |/ \ / ___\__ \\_ __ \/ __ | | | | \/ \ | | _/ __ \ \/ / |/ _ \/ ___/\__ \ | |
\ /| | | \/ /_/ > __ \| | \/ /_/ | | | | / Y Y \ | |__\ ___/\ /| ( <_> )___ \ / __ \_ | |
\__/\ / |__|___| /\___ (____ /__| \____ | |__|____/|__|_| / |_______ \___ >\_/ |__|\____/____ >(____ / | |
\/ \//_____/ \/ \/ \/ \/ \/ \/ \/ " | |
Echo "" | |
Echo " For My Sweet Baby TS World..." | |
$WShell = New-Object -com "Wscript.Shell" | |
while ($true) { | |
$WShell.sendkeys("{CAPSLOCK}") | |
Start-Sleep -Milliseconds 200 | |
$WShell.sendkeys("{CAPSLOCK}") | |
$Pos = [System.Windows.Forms.Cursor]::Position | |
$x = $pos.X + 10 | |
$y = $pos.Y + 10 | |
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($x, $y) | |
Start-Sleep -Seconds 5 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment