Skip to content

SquashFS filesystem extraction tool, forked to make errors fatal

License

Notifications You must be signed in to change notification settings

satheshshiva/sasquatch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

A modified unsquashfs utility that attempts to support as many hacked-up vendor-specific SquashFS implementations as possible.

If the vendor has done something simple like just muck a bit with the header fields, this tool should sort it out.

If the vendor has made changes to the underlying LZMA compression options, or to how these options are stored in the compressed data blocks, this tool will attempt to automatically resolve such customizations via a brute-force method.

Additional advanced command line options have been added for testing/debugging.

Very beta.

Prerequisites

You need a C/C++ compiler, plus the liblzma, liblzo and zlib development libraries:

$ sudo apt-get install build-essential liblzma-dev liblzo2-dev zlib1g-dev

Installation

$ make
$ sudo make install

Modified Files

The following files have been modified from their original version. They have been formatted to fit your screen:

  • compressor.c
  • compressor.h
  • error.h
  • lzma_wrapper.c
  • Makefile
  • process_fragments.c
  • read_fs.c
  • squashfs_fs.h
  • unsquashfs.c
  • LZMA/lzmalt/WindowOut.h
  • LZMA/lzmalt/LZMADecoder.c
  • LZMA/lzmadaptive/C/7zip/Compress/LZMA_Lib/ZLib.cpp
  • LZMA/lzmadaptive/C/7zip/Compress/LZMA_Lib/lzmadaptive.h

About

SquashFS filesystem extraction tool, forked to make errors fatal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 77.1%
  • C++ 20.7%
  • Makefile 1.2%
  • HTML 1.0%