Created
June 27, 2017 19:34
-
-
Save Shadow0ps/4562b2ed7dc729e09e03159c62a8a871 to your computer and use it in GitHub Desktop.
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
if (!(Test-Path "C:\Windows\perfc")) | |
{ | |
New-Item -path C:\Windows -name perfc -type "file" -value "Inoculated" | |
Write-Host "System Inoculated" | |
} | |
else | |
{ | |
Write-Host "File already exists! Your system may be infected." | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment