直接把python里base64的表改成题目要求的,然后正常解就好了:
脚本:
import base64 import string str1='FlZNfnF6Qol6e9w17WwQQoGYBQCgIkGTa9w3IQKw' string1='JKLMNOxyUVzABCDEFGH789PQIabcdefghijklmWXYZ0123456RSTnopqrstuvw+/' string2='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' print(base64.b64decode(str1.translate(str.maketrans(string1,string2))))
得到flag:
flag{D0_Y0u_kNoW_Th1s_b4se_map}