Skip to content

LucaBongiorni/sasquatch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 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

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 81.8%
  • C++ 16.9%
  • Other 1.3%