moectf2020 write up for mess
一道简单的编程语言应用题> <
题干给出的加密代码如下
1 | import random |
加密后字符串如下
1 | 1091111A01ruVJl99hw11Qv6i102xCYC1c2B31DIsz1tm212l11A1l610448re11BQ09549115951n154V895F115d49109h1m1210810j11w2A5 |
这个时候我们就很容易看出加密过程为字符串转ASCII码转字符串再随机插入英文字母啦
故构造逆向代码如下
1 |
|
获得flag
1 | moectf{pyth0n_1s_s0_s1mple} |
(python is so simple(指我用C++写题(x(wwwwww
moectf2020 write up for mess
http://meteorpursuer.github.io/2020/11/13/moectf2020 write up for mess/
# Related Post
1.RWCTF2023体验赛 write up for Digging into kernel 3
2.utctf2021 write up for 2Smol
3.minilctf2020 write up for easycpp
4.moectf2020 write up for baby canary
5.moectf2020 write up for baby migration
6.GWCTF 2019 write up for xxor
7.dmctf2020 write up for re4
8.moectf2020 write up for rop2
1.RWCTF2023体验赛 write up for Digging into kernel 3
2.utctf2021 write up for 2Smol
3.minilctf2020 write up for easycpp
4.moectf2020 write up for baby canary
5.moectf2020 write up for baby migration
6.GWCTF 2019 write up for xxor
7.dmctf2020 write up for re4
8.moectf2020 write up for rop2