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}

posted @ 2022-01-24 20:28  Luccky  阅读(501)  评论(0编辑  收藏  举报