-
-
看雪CTF2019Q1-第8题
-
发表于:
2019-3-19 00:27
3307
-
checksec trepwn
1 2 3 4 5 6 | Arch: amd64-64-little
RELRO: Full RELRO
Stack: Canary found
NX: NX enabled
PIE: PIE enabled
FORTIFY: Enabled
|
1 2 3 4 5 6 | Arch: amd64-64-little
RELRO: Full RELRO
Stack: Canary found
NX: NX enabled
PIE: PIE enabled
FORTIFY: Enabled
|
程序是go语言静态编译的程序, 使用
IDAGolangHelper识别库函数
https://github.com/sibears/IDAGolangHelper
如下坐标系(x,y), 横轴为x, 纵轴为y, 0表示原点(0,0)
1: (5, 0), treasure1
2: (5, 5), treasure2
3: (0, 5), treasure3
4: 下图中的某个*,
treasure4
操作: 上w, 下s, 左a, 右d
1 2 3 4 5 6 | 3 * * * * 2
* * * * * *
* * * * * *
* * * * * *
* * * * * *
0 * * * * 1
|
1 2 3 4 5 6 | 3 * * * * 2
* * * * * *
* * * * * *
* * * * * *
* * * * * *
0 * * * * 1
|
joke函数中会循环判断当前的位置, 当移动到treasure4附近时, 会将treasure4移到其他地方
不过循环中有time.Sleep(1)
1 | .text:00000000000D82F0 main_Joke
|
1 | .text:00000000000D82F0 main_Joke
|
[注意]看雪招聘,专注安全领域的专业人才平台!