JFFS2 filesystem extraction tool
Clone or download
Stefan Viehböck
Latest commit 6f9169b Jun 16, 2016
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Add exception handler for OSError (os.mknod) Jun 16, 2016
LICENSE Initial commit Mar 10, 2015
README.md add support for JFFS2_COMPR_ZERO Apr 1, 2016
setup.py added installer Mar 27, 2015

README.md

jefferson

JFFS2 filesystem extraction tool

Installation

$ sudo python setup.py install

Dependencies

  • cstruct
  • pyliblzma
$ sudo pip install cstruct
$ sudo apt-get install python-lzma

Features

  • Big/Little Endian support
  • JFFS2_COMPR_ZLIB, JFFS2_COMPR_RTIME, and JFFS2_COMPR_LZMA compression support
  • CRC checks - for now only enforced on hdr_crc
  • Extraction of symlinks, directories, files, and device nodes
  • Detection/handling of duplicate inode numbers. Occurs if multiple JFFS2 filesystems are found in one file and causes jefferson to treat segments as separate filesystems

Usage

$ jefferson filesystem.img -d outdir