> For the complete documentation index, see [llms.txt](https://writeups.ayweth20.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://writeups.ayweth20.com/2023/404ctf-2023/analyse-forensique/peche-au-livre.md).

# Pêche au livre

**Catégorie:** Forensic - **Difficulté:** Intro

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

**Description:**

<figure><img src="/files/8B3TkiDUOuODwjN2PFE4" alt=""><figcaption></figcaption></figure>

**Solution:**

Dans le fichier PCAPNG, nous n'avons que 3 protocoles : TCP, HTTP et ICMPv6 :&#x20;

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

En analysant très rapidement le fichier, nous comprenons ce qui est fait et ce que nous allons trouver.

Il s'agit d'images (.png et .jpg) qui sont téléchargées lors du chargement des pages web.

Afin de les récupérer ces images, nous allons utiliser l'outil d'export d'objets de Wireshark :&#x20;

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

Avec cela, nous allons pouvoir récupérer 4 images (1 .ico, 2 .jpg et 1 .png) que nous allons pouvoir enregistrer ou prévisualiser pour plus de facilité :&#x20;

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

Le flag était donc bien dans l'image *Hegel-sensei-uwu.png*&#x20;

<details>

<summary>🚩 FLAG</summary>

```
404CTF{345Y_W1r35h4rK}
```

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://writeups.ayweth20.com/2023/404ctf-2023/analyse-forensique/peche-au-livre.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
