---
# System prepended metadata

title: PWN/Guessing Game 1
tags: [picoCTF]

---

###### tags: `picoCTF`
# PWN/Guessing Game 1

- 題目：I made a simple game to show off my programming skills.   
- 檔案：
    - nc jpiter.challenges.picoctf.org 38467
    - [vuln](https://jupiter.challenges.picoctf.org/static-/759df904e72b80ca3155ee081f3cb189/vuln)
    - [vuln.c](https://jupiter.challenges.picoctf.org/static/759df904e72b80ca3155ee081f3cb189/vuln.c)
    - [Makefile](https://jupiter.challenges.picoctf.org/static/759df904e72b80ca3155ee081f3cb189/Makefile)
- 解題思路：
    - 首先使用file來分析檔案的類型，可以發現檔案是64bit, statically linked。
    - ![](https://i.imgur.com/qEqBYDp.png)
    - 其次使用checksec查看執行檔的保護機制，以便後續針對不同的解法解題。
    - ![](https://i.imgur.com/EPAjgKe.png)


