From 8c9dbc70a9e8e1213972a4262bb4c9e22b0b7819 Mon Sep 17 00:00:00 2001 From: Michael Taggart Date: Tue, 28 Feb 2023 20:22:25 -0800 Subject: [PATCH] Try encode fix again? --- encode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encode.py b/encode.py index 2293607..228d6dc 100644 --- a/encode.py +++ b/encode.py @@ -11,10 +11,10 @@ shellcode = f.read() # B64 Encode the shellcode -# encoded_shellcode = shellcode.encode() +encoded_shellcode = shellcode for i in range(B64_ITERS): - encoded_shellcode = b64encode(shellcode) + encoded_shellcode = b64encode(encoded_shellcode) # Write out the file with open(OUT_FILE, "wb") as f: