点击此处获得更好的阅读体验
WriteUp来源
来自毕方安全实验室
战队
题目描述
根据附件解出flag
提示信息
- 多层base92/64/58编码
题目考点
- 字符编码转换
解题思路
rot13 -> hex -> base16 -> base32 -> base58 -> base64 -> base85 -> base92
初始字符串
1 | 4O553445595N54534S4243574S55435448465N46515N544O4S4R4R4445524449495N5248415N3244475N52555557444O4Q354N57554S4P4N4R4N5654494S4P43475255555553434S4O564Q464954535247354R44433242544R5533584O334O48 |
经过rot13
解密后得
1 | 4B553445595A54534F4243574F55435448465A46515A544B4F4E4E4445524449495A5248415A3244475A52555557444B4D354A57554F4C4A4E4A5654494F4C43475255555553434F4B564D464954535247354E44433242544E5533584B334B48 |
经过HEX 转ASCII
后得
1 | KU4EYZTSOBCWOUCTHFZFQZTKONNDERDIIZRHAZ2DGZRUUWDKM5JWUOLJNJVTIOLCGRUUUSCOKVMFITSRG5NDC2BTNU3XK3KH |
经过base32
解密得
1 | U8LfrpEgPS9rXfjsZ2DhFbpgC6cJXjgSj9ijk49b4iJHNUXTNQ7Z1h3m7umG |
经过base58
解密得
1 | SnV5Y15YZi1maEcpIVZuSzUwXkFLX2dzVFlBaH07UWVG |
经过base64
解密得
1 | Juyc^Xf-fhG)!VnK50^AK_gsTYAh};QeF |
经过base85 RFC1924
解密(base64.b85decode()
)得
1 | =1GCh50]4LbN>iReA#\\j,..R^ |
经过base92
解密得到最终答案
1 | MCR14SSHZEGQRX59G4GO |
Flag
1 | flag{MCR14SSHZEGQRX59G4GO} |