Skip to content

Commit

Permalink
Try encode fix again?
Browse files Browse the repository at this point in the history
  • Loading branch information
mttaggart committed Mar 1, 2023
1 parent c45300b commit 8c9dbc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions encode.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8c9dbc7

Please sign in to comment.