# 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="https://2862490475-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCKp14jVUu79ovRyJ9YuQ%2Fuploads%2FhUf1hczlECOOJECBjRL2%2Fimage.png?alt=media&#x26;token=5b62810c-c8fc-49d8-940c-59894fa793be" 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
```
