Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dissect_squashfs-1.8.dev1.tar.gz (48.0 kB view details)

Uploaded Source

Built Distribution

dissect.squashfs-1.8.dev1-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

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

Hashes for dissect_squashfs-1.8.dev1.tar.gz
Algorithm Hash digest
SHA256 8d4baca80ac7e6d6723f0d51a5734540a17b7dcc92f841c1061cc2ead2711566
MD5 358e0bd7ed595ecc9275cd5fafc86aec
BLAKE2b-256 43c6311a16cb2cbae7a4acf5703d62a8b3deab69ab5d968ae92f8d51f94e82b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for dissect_squashfs-1.8.dev1.tar.gz:

Publisher: dissect-ci.yml on fox-it/dissect.squashfs

Attestations:

File details

Details for the file dissect.squashfs-1.8.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for dissect.squashfs-1.8.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 2626578adee8cdac01b8b062aa9b91fe3fb5d978eee7e8a4f825d14c6cf72efb
MD5 b1344f9ca1853e701813ec585d3211e1
BLAKE2b-256 8211c896317fba924a2998fbb63d1bfe33764dd01a1b9baa0917607401988271

See more details on using hashes here.

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

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page