---
# System prepended metadata

title: Raspberry
tags: [CTFlearn]

---

# Overview
- Respberry is one of the easiest challenge in CTFlearn
- It focuses on learning assembly but you even have no need to use this language.
## Description:
- Using `strings` instruction.

![image](https://hackmd.io/_uploads/SJL0bCNhT.png)

- The picture gives Usage with the hint `The Ascii table is your friend`.

![image](https://hackmd.io/_uploads/rke6-yH2p.png)

- character **'{'** shows the starting of true flag.

![image](https://hackmd.io/_uploads/SyyiXyr3p.png)

- It is clear that the components of flag appears `+ F r u`.
- You can see `0xd` position of flag that has to be multipled with `0x15`, being equal to 0x89d.
=> 0x89d / 0x15 == 0x69 --> **"i"** in AcII table.

![image](https://hackmd.io/_uploads/H19vYyS2p.png)

- Subsequently, `0xe` of flag has to be devide 0x15 == 5 and % 0x15 == 0xb.
=> I call finding character is X and create equation:
-> **X = 0x15 * 0x5 + 0xb <=> X = 116 = 0x74** -> **`t`**.
- The left characters are '1', '2', '3', respectively.

=> The FLAG: **CTFlearn{+fruit123}**