一、[GWCTF2019]math
二、[BSidesSF2020]mpfrag
[GWCTF2019]math
开启靶机连接环境。题目给出了一个算式,但是算不了几秒就退出了。
同时还给了我们源程序:"gwctf_2019_math"。

放到IDA64里看一下,找到它的主函数。
int __cdecl main(int argc, const char **argv, const char **envp)
{
unsigned int seed; // ST14_4
unsigned int v4; // ST18_4
unsigned int v5; // ST1C_4
unsigned int v6; // ST20_4
unsigned int v7; // ST24_4
signed int v9; // [rsp+10h] [rbp-130h]
char buf; // [rsp+30h] [rbp-110h]
unsigned __int64 v11; // [rsp+138h] [rbp-8h]
v11 = __readfsqword(0x28u);
setvbuf(stdin, 0LL, 2, 0LL);
setvbuf(stdout, 0LL, 2, 0LL);
setvbuf(stderr, 0LL, 2, 0LL);
v9 = 0;
seed = time(0LL);
srand(seed);
do

本文解析了GWCTF2019中的一道数学题,通过自动化计算解决150个级别获得flag,并介绍了如何修复BSidesSF2020 mpfrag挑战中的损坏超级块。
最低0.47元/天 解锁文章
1091

被折叠的 条评论
为什么被折叠?



