https://github.com/niftycode/firefox-forensics
Read data from Firefox browser and extract useful information.
https://github.com/niftycode/firefox-forensics
Last synced: 28 days ago
JSON representation
Read data from Firefox browser and extract useful information.
- Host: GitHub
- URL: https://github.com/niftycode/firefox-forensics
- Owner: niftycode
- License: mit
- Created: 2025-02-18T09:08:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-11-07T10:10:10.000Z (8 months ago)
- Last Synced: 2025-11-07T12:09:17.621Z (8 months ago)
- Language: Python
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# firefox-forensics






This is a simple forensic tool written in Python. Use this tool to fetch the content (id, url, date of last visit) from the `places.sqlite` database file of the Firefox browser on macOS.
## Background
Firefox stores a variety of data in a directory called "Profiles." This directory also contains the `places.sqlite` database, which holds the browsing history. This program copies the `places.sqlite` database to the Desktop. Then it opens the database and reads the `moz_places` table. Three entries are displayed in the Terminal: the ID, the visited website, and the date.
## Requirements
* Python 3.13+ (It will probably work with other versions too, but I haven't tested it.)
* macOS
## Install
pip3 install firefox-forensics
## Usage
To display the ID, the visited website, and the date in the terminal, execute the following command:
firefox-forensics -w
If this data should also be saved in a text file on the desktop, the option `-o` must be added:
firefox-forensics -o
This program does not read the original database (`places.sqlite`), but first creates a copy on the desktop. The data is then read from this copied database.
## Changelog
see [Changelog.md](https://github.com/niftycode/firefox-forensics/blob/main/Changelog.md)