2ex1 CISCN-2018-Quals
mark
1 import base64 2 3 std_base= "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" 4 mg_base='@,.1fgvw#`/2ehux$~"3dity%_;4cjsz^+{5bkrA&=}6alqB*-[70mpC()]89noD' 5 6 en_trantab=str.maketrans(std_base,mg_base) 7 de_trantab=str.maketrans(mg_base,std_base) 8 9 flag=base64.b64decode('_r-+_Cl5;vgq_pdme7#7eC0='.translate(de_trantab)) 10 11 print(flag)
flag{change53233})