# Firefox

## Firefox Decrypt

> Extract passwords from Mozilla

{% embed url="<https://github.com/unode/firefox_decrypt>" %}

### Install

```bash
git clone https://github.com/unode/firefox_decrypt
cd firefox_decrypt/
```

### Usage

```bash
python firefox_decrypt.py [PATH = Path of the firefox extracted profile]
```

<figure><img src="/files/A9YJXwaJWPddY3IphfxP" alt=""><figcaption><p>example</p></figcaption></figure>

```bash
# Advanced usage

python firefox_decrypt.py --list
python firefox_decrypt.py /folder/containing/profiles.ini/
python firefox_decrypt.py | grep -C2 keyword
```

## firepwd

> decrypt Mozilla protected passwords&#x20;

{% embed url="<https://github.com/lclevy/firepwd>" %}

```bash
# install 
git clone https://github.com/lclevy/firepwd.git
cd firepwd
pip3 install -r requirements.txt

# must have key4.db or key3.db & logins.json
# usage
python3 firepwd.py
```


---

# 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://book.redsquad.xyz/red-team/password-extract/firefox.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.
