这道题最坑的应该就是 这个base64 表是不对的
先看程序
然后 我们在往下看 base64 后面还有字符串 美滋滋啊
然后。。。。。。。。。。。。。。。。。。。。。。。。。。
会发现很坑 仔细看一下
前面是 base64new new????????????
然后
你把你真的base64 表交出来 555 心态崩了
现在的 base64 表 vwxrstuopq34567ABCDEFGHIJyz012PQRSTKLMNOZabcdUVWXYefghijklmn89+/
没办法 要嘛自己编程实现 要嘛用工具 我全~~~~~~ 不 我要后面那种 然后
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
import base64
import string
string1 = str.maketrans("vwxrstuopq34567ABCDEFGHIJyz012PQRSTKLMNOZabcdUVWXYefghijklmn89+/","ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/")
strEnBase64 = "5rFf7E2K6rqN7Hpiyush7E6S5fJg6rsi5NBf6NGT5rs=".translate(string1)
print(strEnBase64)
strFlag = base64.b64decode(strEnBase64)
print(strFlag)
flag{05397c42f9b6da593a3644162d36eb01}
成功! 完美 ~~~~~~~