> For the complete documentation index, see [llms.txt](https://hacking-notes.jord4n.pro/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hacking-notes.jord4n.pro/fr/useful-resources/forensics/depix-images.md).

# Images Depix

Notes de récupération d’images Depix pour inverser du texte pixellisé, préparer les images source, exécuter Depix et valider les secrets récupérés lors du travail OSINT.

Nous localisons le fichier PDF : `En utilisant OpenVAS.pdf`.

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-e938ac6ca630079613d9ad97c0627ef5abef1619%2Fimage%20(2256).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

En ouvrant ce fichier, nous découvrons le mot de passe pixelisé du compte administrateur

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-57a695e108752fb9dafcf8038e841ac43f4612d9%2Fimage%20(2258).png?alt=media" alt=""><figcaption></figcaption></figure>

### Déchiffrement du mot de passe :

Pour casser le mot de passe caché, nous utilisons le logiciel Depix :

{% embed url="<https://github.com/spipm/Depix>" %}

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-c135ffc639899cea93463555dc240db3db7910c9%2Fimage%20(2261).png?alt=media" alt=""><figcaption></figcaption></figure>

```bash
git clone https://github.com/spipm/Depix
cd Depix
```

Puis exécutez la commande :

```bash
python3 depix.py /
    -p pixel.png /
    -s images/searchimages/debruinseq_notepad_Windows10_closeAndSpaced.png /
    -o /home/jordan/Desktop/password.png
```

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-9e3f95cd8ecd3b56616252df4b134e1b2b6ec612%2Fimage%20(2260).png?alt=media" alt=""><figcaption></figcaption></figure>

Le mot de passe déchiffré est :

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-585b2b71b3e9b74a0b16d3b664e6dfefd3be931b%2Fimage%20(2265).png?alt=media" alt=""><figcaption></figcaption></figure>

`sidefromsidetheothersidesidefromsidetheotherside`

Nous nous connectons en tant qu'utilisateur root avec ce mot de passe.

<figure><img src="https://3840167291-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl4EVJpcOrsgjSGsLI7p2%2Fuploads%2Fgit-blob-5e0a4e6c563fe4021e0dd702087cae3341198d7f%2Fimage%20(2262).png?alt=media" alt="" width="554"><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://hacking-notes.jord4n.pro/fr/useful-resources/forensics/depix-images.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
