> 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/ar/password-attacks/brute-force-keepass-.kdbx.md).

# تكسير KeePass KDBX

## **ملف KeePass مكسور**

في **المستندات** مجلد الـ **Kosure** للمستخدم نجد ملفًا بالامتداد **.kdbx** (ملف KeePass).

<figure><img src="/files/5256240919e890dbd5204810645347a98fbdb45d" alt=""><figcaption></figcaption></figure>

### **استخراج التجزئة من ملف KDBX**

لاستخراج الهاش من ملف **KDBX** ، نستخدم **keepass2john** الأداة، والتي تعد جزءًا من **John the Ripper**:

```bash
keepass2john CEH.kdbx
```

<figure><img src="/files/741b1486b2deee88ea11694e191322b52d3fd1d9" alt=""><figcaption></figcaption></figure>

### **كسر الهاشات**

نستخدم **John the Ripper** لإجراء هجوم brute force على التجزئة المستخرجة، باستخدام قائمة كلمات المرور **rockyou.txt**:

```bash
john --wordlist=/usr/share/wordlists/rockyou.txt hash
```

كلمة المرور المكتشفة هي:

* `moonshine1`

<figure><img src="/files/3beb37c0a25f527077adcd81792fe88908821f42" alt=""><figcaption></figcaption></figure>

### **عرض محتويات ملف KeePass**

نستخدم **KeePassXC** لفتح وعرض محتويات **KeePass** الملف

<figure><img src="/files/d9083a975da96f1ff1c96e7e3462cd40f4f5c2ea" 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/ar/password-attacks/brute-force-keepass-.kdbx.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.
