Wargame/CTF

Affinity CTF Lite 2020

마띠(쥔장) 2020. 11. 26. 00:07

55 - A
45 - F
53 - C
22 - T

- AFFCTF{T(43)(42)(23)_(42)(23)_(42)(21)(23)T_A_(23)(42)(34)(31)(35)(51)_(34)A(31)(31)(42)(33)(44)}

43 - H

42 - I

23 - S

- AFFCTF{THIS_IS_I(21)ST_A_SI(34)(31)(35)(51)_(34)A(31)(31)I(33)(44)}

 


import sys, base64
fp = open("z" , 'r').read()
b64_msg = fp
while True:
    b64_byte = b64_msg[::-1]
    b64_str = b64_byte.encode('utf-8')
    msg = base64.b64decode(b64_str)
    b64_msg = msg.decode('utf-8')
    if "AFFCTF" in b64_msg:
        print (b64_msg)
        break

flag: AFFCTF{s1mPle_Rev4s_D0Ne_oNe1}


 

728x90

'Wargame > CTF' 카테고리의 다른 글

Shakti CTF 2020_Forensics  (0) 2020.12.04
SWUCTF2020  (1) 2020.11.27
Affinity CTF Lite 2020_Forensics  (0) 2020.11.18
DUCTF 2020 Forensics (3)  (0) 2020.09.30
FwordCTF 2020 - Memory 2 (Forensics)  (0) 2020.08.31