> 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/hacking-tools/enumeration/git-dumper.md).

# Git-Dumper

{% hint style="info" %}
GitDumper est un outil utilisé pour extraire des informations sensibles de dépôts Git publics. Il permet de récupérer des fichiers historiques (comme des mots de passe, des clés API ou d'autres données confidentielles) qui ont été poussés par erreur vers un dépôt Git, même après leur suppression.
{% endhint %}

Nous découvrons le `.git` répertoire, ce qui pourrait indiquer un dépôt Git exposé.

<figure><img src="/files/66d3cfc3f0be8195f112f31a45ae76b68816cf9a" alt=""><figcaption></figcaption></figure>

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

### **Extraction de fichiers avec Git-Dumper**

Nous utilisons le `git-dumper` outil pour extraire des fichiers du `.git` répertoire et les analyser :

```git
git-dumper http://dev.linkvortex.htb/.git .git
```

<figure><img src="/files/18c6687e2a7ab7c6b0ca268b9f2fbb17464815ae" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/21677e568f8a6da45837d4c0438c09ff97ddf598" alt=""><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 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://hacking-notes.jord4n.pro/fr/hacking-tools/enumeration/git-dumper.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.
