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