https://github.com/nlitsme/squashfsdumper
tool for listing and extracting files from SQUASHFS images
https://github.com/nlitsme/squashfsdumper
extracting-files filesystem python3 reverse-engineering squashfs
Last synced: 8 months ago
JSON representation
tool for listing and extracting files from SQUASHFS images
- Host: GitHub
- URL: https://github.com/nlitsme/squashfsdumper
- Owner: nlitsme
- License: mit
- Created: 2019-09-03T12:21:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-27T07:52:50.000Z (over 2 years ago)
- Last Synced: 2023-10-27T08:36:30.633Z (over 2 years ago)
- Topics: extracting-files, filesystem, python3, reverse-engineering, squashfs
- Language: Python
- Size: 13.7 KB
- Stars: 6
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SQUASHFS Dumper
===============
A tool for viewing or extracting files from a SQUASHFS image.
Only v4.0 is supported.
About SQUASHFS
==============
SQUASHFS is mostly used for the rootfile system in home routers, like tp-link, or openwrt.
Usage
=====
List files:
python3 dumpsqsh.py roootfs.squash
Extract files:
python3 dumpsqsh.py -d dst roootfs.squash
Dump filesystem tables:
python3 dumpsqsh.py --dump roootfs.squash
Installation
============
To support all compression modes, you may need to install some additional modules:
pip install python-lzo
pip install zstd
pip install lz4
Similar linux tools
===========
Extracting:
sasquatch -f -li -c xz -d dst rootfs.squash
Listing:
sasquatch -ll rootfs.squash
Problem, is that `sasquatch` fails to work properly on quite a few images.
TODO
====
* add option to view only specific files.
* support v2 and v3 formats
Author
======
Willem Hengeveld