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