# Cbizarre \[1/2]

**Catégorie:** Rétro-Ingénierie - **Difficulté:** Intro

{% file src="/files/FlclT7FaQTpiWXCDbc2V" %}

**Description:**

<figure><img src="/files/Dr9Zx7UFTWA01dQ0LI7E" alt=""><figcaption></figcaption></figure>

Solution:

Pour ce chall d'intro au reverse, j'ai utilisé l'outil online [DogBolt](https://dogbolt.org/), très rapide et facile pour désassembler un binaire très simple :&#x20;

<figure><img src="/files/PtaOUBUEZvWwQx872wtJ" alt=""><figcaption></figcaption></figure>

Nous voyons directement la fonction et les conditions qui valident ou non notre mot de passe (flag).\
Nous allons donc tenter de comprendre cela à la main, ou pour les plus pressés, un coup de ChatGPT et le chall est finis.

Mais ici comme nous sommes des experts et que nous prenons le temps de lire le peu de code que contient la fonction, nous voyons la mention d'une URL PasteBin :&#x20;

<figure><img src="/files/DaCztp52wRVyMpGwGTG6" alt=""><figcaption></figcaption></figure>

En allant directement sur ce lien, nous avons le flag en clair : <https://pastebin.com/raw/n8CXuwE0>

<details>

<summary>🚩FLAG</summary>

`404CTF{PAst3_mY_FL2g}`

</details>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://writeups.ayweth20.com/2025/404ctf-2025/retro-ingenierie/cbizarre-1-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
