BUUCTF_Crypto_[BJDCTF2020]这是base??
作者:互联网
直接把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}
标签:BUUCTF,str1,base64,Crypto,flag,base,import,string2,string1 来源: https://www.cnblogs.com/1ucky/p/15840819.html