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