A Dissect module implementing a parser for the SquashFS file system, commonly used in appliance or device firmware
Project description
dissect.squashfs
A Dissect module implementing a parser for the SquashFS file system, commonly used in appliance or device firmware. For more information, please see the documentation.
Requirements
This project is part of the Dissect framework and requires Python.
Information on the supported Python versions can be found in the Getting Started section of the documentation.
Installation
dissect.squashfs
is available on PyPI.
pip install dissect.squashfs
This project decompresses lzo and lz4 compressed file systems and can use the faster, native (C-based) lz4 and lzo
implementations when installed, instead of the slower pure Python implementation provided by dissect.util
. To use
these faster implementations, install the package with the lzo and lz4 extras:
pip install "dissect.squashfs[lz4,lzo]"
Unfortunately there is no binary python-lzo
wheel for PyPy installations on Windows, so it won't be installed there
This module including the lz4 and lzo extras is also automatically installed if you install the dissect
package.
Build and test instructions
This project uses tox
to build source and wheel distributions. Run the following command from the root folder to build
these:
tox -e build
The build artifacts can be found in the dist/
directory.
tox
is also used to run linting and unit tests in a self-contained environment. To run both linting and unit tests
using the default installed Python version, run:
tox
For a more elaborate explanation on how to build and test the project, please see the documentation.
Contributing
The Dissect project encourages any contribution to the codebase. To make your contribution fit into the project, please refer to the development guide.
Copyright and license
Dissect is released as open source by Fox-IT (https://www.fox-it.com) part of NCC Group Plc (https://www.nccgroup.com).
Developed by the Dissect Team (dissect@fox-it.com) and made available at https://github.com/fox-it/dissect.
License terms: AGPL3 (https://www.gnu.org/licenses/agpl-3.0.html). For more information, see the LICENSE file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dissect_squashfs-1.8.dev1.tar.gz
.
File metadata
- Download URL: dissect_squashfs-1.8.dev1.tar.gz
- Upload date:
- Size: 48.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d4baca80ac7e6d6723f0d51a5734540a17b7dcc92f841c1061cc2ead2711566 |
|
MD5 | 358e0bd7ed595ecc9275cd5fafc86aec |
|
BLAKE2b-256 | 43c6311a16cb2cbae7a4acf5703d62a8b3deab69ab5d968ae92f8d51f94e82b6 |
Provenance
The following attestation bundles were made for dissect_squashfs-1.8.dev1.tar.gz
:
Publisher:
dissect-ci.yml
on fox-it/dissect.squashfs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dissect_squashfs-1.8.dev1.tar.gz
- Subject digest:
8d4baca80ac7e6d6723f0d51a5734540a17b7dcc92f841c1061cc2ead2711566
- Sigstore transparency entry: 145882387
- Sigstore integration time:
- Predicate type:
File details
Details for the file dissect.squashfs-1.8.dev1-py3-none-any.whl
.
File metadata
- Download URL: dissect.squashfs-1.8.dev1-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2626578adee8cdac01b8b062aa9b91fe3fb5d978eee7e8a4f825d14c6cf72efb |
|
MD5 | b1344f9ca1853e701813ec585d3211e1 |
|
BLAKE2b-256 | 8211c896317fba924a2998fbb63d1bfe33764dd01a1b9baa0917607401988271 |
Provenance
The following attestation bundles were made for dissect.squashfs-1.8.dev1-py3-none-any.whl
:
Publisher:
dissect-ci.yml
on fox-it/dissect.squashfs
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
dissect_squashfs-1.8.dev1-py3-none-any.whl
- Subject digest:
2626578adee8cdac01b8b062aa9b91fe3fb5d978eee7e8a4f825d14c6cf72efb
- Sigstore transparency entry: 145882388
- Sigstore integration time:
- Predicate type: