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.tar.gz (48.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file dissect_squashfs-1.8.tar.gz.

File metadata

  • Download URL: dissect_squashfs-1.8.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.tar.gz
Algorithm Hash digest
SHA256 8ebb99a6b1e628e86dd441f449012a1e25826d86bd028c1361564cd9a140829d
MD5 5d6ff4515d77d7b2601a89db8cc84c6a
BLAKE2b-256 949bbce562db7941a675b9d7244b943aad6db9af70f1a95ef15e095a21a1d05a

See more details on using hashes here.

Provenance

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

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

Attestations:

File details

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

File metadata

File hashes

Hashes for dissect.squashfs-1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 9c21a132f194b5af4ff4001c86f90bcb940a092ff4bf80470a2f2f1235caf085
MD5 d0191016c63c057174a2f38ceaa1a885
BLAKE2b-256 4bd46f7aab1f85f7d6625f7ad56a868afba0a928410eca266f4fd83a0b809560

See more details on using hashes here.

Provenance

The following attestation bundles were made for dissect.squashfs-1.8-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