https://github.com/0xPhoeniX/imageio
Collection of tools for accessing data in firmware images
https://github.com/0xPhoeniX/imageio
firmware fuse jffs2 mounting rootfs squashfs
Last synced: about 1 year ago
JSON representation
Collection of tools for accessing data in firmware images
- Host: GitHub
- URL: https://github.com/0xPhoeniX/imageio
- Owner: 0xPhoeniX
- License: apache-2.0
- Created: 2020-03-20T04:13:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T04:38:18.000Z (about 6 years ago)
- Last Synced: 2024-11-01T11:35:00.525Z (over 1 year ago)
- Topics: firmware, fuse, jffs2, mounting, rootfs, squashfs
- Language: Python
- Size: 4.71 MB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# imageIO
Simple, pure Python 3, FUSE-based rootFS image read-only access. Currently supported rootFS images:
- SquashFS
- JFFS2
## Usage
- Clone this repo
- Create python local environment: `cd imageio && python3 -m venv env && source env/bin/activate`
- Install dependencies: `pip install -r requirements.txt`
- Mount rootFS image: `python fuse_driver.py -m [mount_dir] [path_to_rootFS]`
- To get debug info: `python fuse_driver.py -d -m [mount_dir] [path_to_rootFS]`
## Examples
- `./examples/dumpFile.py` gives an example how to extract a file from an image without mounting.
Limited testing was done on LZO, LZMA, XZ compressed images.
Pull requests, suggestions are welcome.