mirror of
https://github.com/HarmJ0y/Misc-PowerShell
synced 2026-08-09 12:07:26 +00:00
Update Out-EncryptedScriptDropper.ps1
This commit is contained in:
@@ -29,7 +29,7 @@ function Out-EncryptedScriptDropper {
|
||||
$r=1..16|ForEach-Object{Get-Random -max 61};
|
||||
$XORKey=('ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456789'[$r] -join '');
|
||||
|
||||
$code = (Get-Content -Encoding Ascii -Path $ScriptPath)
|
||||
$code = (Get-Content -Encoding Ascii -Path $ScriptPath | Out-String)
|
||||
$code = $code.trim()
|
||||
|
||||
# XOR the code with the specified $XORKey
|
||||
|
||||
Reference in New Issue
Block a user