Last active
May 24, 2024 23:15
-
-
Save intrd/c63db7bd3d0951f0653d6fdf7ea169d6 to your computer and use it in GitHub Desktop.
base64x50 decoder used in misc100-base3200 @ 3dsctf-2k16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## base64x50 decoder used in misc100-base3200 @ 3dsctf-2k16 | |
# @author intrd - http://dann.com.br/ | |
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/ | |
import base64 | |
# 3200/64 = 50 | |
pontfile='msg.txt' | |
for x in range(0, 50): | |
with open(pontfile, 'r') as f: | |
de = f.readline() | |
f.close() | |
with open(pontfile,"w") as xx: | |
xx.write(base64.b64decode(de)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
resolved error: