PWN-100 [100]

Description

nc bamboofox.cs.nctu.edu.tw 22001
FLAG 在 /home/ctf 底下

歡迎來到 PWN 的世界
恩...這題就是 buffer overflow 的基礎簡單入門題
有哪邊不會可以來我們在 HITCON 的攤位問問題喔
會的人應該 1 分鐘就解完了吧?
恩我廢話好多喔...
總之就是想辦法拿到 FLAG 吧

PS. 下面有提供兩個檔案,左邊的是 binary,右邊的是 C code

Hint

Files

binary_100 binary_100.c
# Avatar Name Last time Point
1 LiN 2019-07-17 23:32:17 +0800 100
2 kay jack 2019-07-17 15:32:46 +0800 100
3 aaa 2019-06-28 09:57:43 +0800 100
4 MuMu 2019-06-11 21:28:17 +0800 100
5 wechhu 2019-05-03 12:48:27 +0800 100
6 糖醋黄瓜 2019-03-19 16:47:31 +0800 100
7 Ranger 2019-02-23 05:43:28 +0800 100
8 Weilong Lee 2019-01-10 16:00:22 +0800 100
9 wouuuuuuuuu 2018-12-26 16:44:14 +0800 100
10 radical3 2018-11-14 20:40:17 +0800 100
11 吳建興 2018-10-19 15:00:10 +0800 100
12 Breezy Chris 2018-09-15 23:24:15 +0800 100
13 s4ny1 2018-09-15 13:30:04 +0800 100
14 紫诺 2018-09-10 21:37:05 +0800 100
15 SSSP4RTA 2018-08-13 20:06:02 +0800 100
16 sky 2018-08-07 21:04:28 +0800 100
17 CATALPA 2018-08-06 22:32:25 +0800 100
18 GhoulLingyin 2018-08-04 16:50:43 +0800 100
19 doraeric 2018-07-28 11:14:18 +0800 100
20 Jellyfish 2018-07-28 09:13:45 +0800 100
21 rb 2018-07-27 23:40:43 +0800 100
22 guo 2018-07-27 23:15:13 +0800 100
23 F_E_I 2018-07-27 16:06:53 +0800 100
24 segno 2018-07-27 12:33:03 +0800 100
25 offliner 2018-07-25 00:57:54 +0800 100
26 ylin 2018-07-12 03:02:12 +0800 100
27 iosmosis 2018-06-30 19:59:21 +0800 100
28 Fun Mango 2018-06-08 11:59:57 +0800 100
29 李冠廷 2018-06-04 23:14:54 +0800 100
30 aesophor 2018-05-25 22:59:56 +0800 100
31 hwy 2018-05-21 18:42:52 +0800 100
32 dia2diab 2018-05-17 18:45:33 +0800 100
33 liyng 2018-05-08 16:52:16 +0800 100
34 waderwu 2018-05-05 20:46:25 +0800 100
35 蘇柏瑄(Brian Su) 2018-05-03 23:23:08 +0800 100
36 蘇品銓 2018-04-18 14:35:14 +0800 100
37 nctu 2018-04-15 14:59:50 +0800 100
38 learner 2018-04-11 13:39:21 +0800 100
39 yuawn 2018-03-08 11:44:43 +0800 100
40 afcidk 2018-02-23 16:02:01 +0800 100
41 歐陽詮 2018-02-13 00:48:27 +0800 100
42 Ju5tin 2018-02-09 16:21:26 +0800 100
43 0wning 2018-02-07 12:52:05 +0800 100
44 OAO 2018-02-05 01:22:54 +0800 100
45 Lambdax 2018-01-25 19:01:50 +0800 100
46 GAG4 2018-01-22 21:17:46 +0800 100
47 R1_0 2018-01-21 16:21:22 +0800 100
48 李强 2018-01-01 14:15:41 +0800 100
49 Luke Von Fabre 2017-12-08 18:40:45 +0800 100
50 zwhubuntu 2017-12-06 22:12:39 +0800 100
51 OAlienO 2017-12-06 15:46:45 +0800 100
52 frozenkp 2017-11-30 17:23:06 +0800 100
53 pUck 2017-11-19 10:49:55 +0800 100
54 MtucX 2017-10-21 03:46:40 +0800 100
55 mike1636216 2017-10-06 16:34:24 +0800 100
56 Phagoria 2017-10-02 21:14:01 +0800 100
57 賴文揚 2017-09-28 19:19:02 +0800 100
58 YOYO 2017-09-27 01:30:44 +0800 100
59 st424204 2017-09-22 00:06:44 +0800 100
60 moonagirl 2017-09-17 14:07:42 +0800 100
61 張郢展 2017-09-14 18:06:31 +0800 100
62 不要看可以ㄇ 2017-09-09 23:43:23 +0800 100
63 唐杰伦 2017-09-08 17:44:56 +0800 100
64 TeamName 2017-09-03 19:16:01 +0800 100
65 Wen Hung Wang 2017-08-31 16:41:10 +0800 100
66 游子德 2017-08-30 22:21:53 +0800 100
67 Haruna Ogawa 2017-08-29 23:51:12 +0800 100
68 Nanase 2017-08-29 22:04:37 +0800 100
69 0410750 2017-08-29 18:44:55 +0800 100
70 張又仁 2017-08-28 17:04:03 +0800 100
71 ss8651twtw 2017-08-28 14:22:40 +0800 100
72 韋智丁 2017-08-26 22:39:27 +0800 100
73 andrew li 2017-08-26 16:51:31 +0800 100
74 吳承融 2017-08-26 15:16:12 +0800 100
75 柯柏宇 2017-08-26 15:03:00 +0800 100
76 TastyFeeder 2017-08-26 14:45:20 +0800 100
77 Peter Cheng 2017-08-26 13:47:57 +0800 100
78 阿德 Wu 2017-08-26 13:15:51 +0800 100
79 Jih-Wei Liang 2017-08-26 13:10:26 +0800 100
80 Inndy 2017-08-26 10:54:34 +0800 100
81 2017-08-26 10:28:02 +0800 100
82 17023 2017-08-26 00:21:24 +0800 100
83 kylin0925 2017-08-25 23:23:11 +0800 100
84 calee0219 2017-08-25 23:11:19 +0800 100
85 how2hack 2017-08-25 22:30:33 +0800 100
86 ayumi 2017-08-25 21:44:33 +0800 100
87 Kin Lo 2017-08-25 21:37:21 +0800 100
88 劉峻 2017-08-25 21:33:49 +0800 100
89 M157q 2017-08-25 20:39:40 +0800 100
90 Racterub 2017-08-25 18:46:42 +0800 100
91 vtim 2017-08-25 18:33:39 +0800 100
92 Johnny Chang 2017-08-25 18:07:47 +0800 100
93 Janet Shi 2017-08-25 17:13:19 +0800 100
94 葉信延 2017-08-25 16:40:40 +0800 100
95 piela 2017-08-25 16:05:52 +0800 100
96 mike_AAAA 2017-08-25 15:55:49 +0800 100
97 Hades Chang 2017-08-25 15:00:48 +0800 100
98 zonda 2017-08-25 14:59:00 +0800 100
99 Sam Hsun-ho Chan 2017-08-25 13:25:23 +0800 100
100 Lays 2017-08-25 11:54:44 +0800 100
101 fuyu0425 2017-08-25 11:49:59 +0800 100
102 Minerva Campbell 2017-08-25 11:44:57 +0800 100
103 BlackTR 2017-08-25 11:04:24 +0800 100
104 0140454 2017-08-25 10:12:19 +0800 100
105 Hawk1n5 2017-08-25 09:36:42 +0800 100
106 Kaibro 2017-08-25 09:22:54 +0800 100