/jefferson-3

Python3 only jefferson utility for extraction of jffs2 filesystems

Primary LanguagePythonMIT LicenseMIT

BUILT BY STEFAN VIEHBOCK: github

ANY PATCHES TO BE MADE WILL MATCH STEFAN'S WORK DIRECTLY -- Bugfixes applied occasionally!

jefferson-3

JFFS2 filesystem extraction tool for python3 only environments

Installation

$ sudo python3 setup.py install

Dependencies

  • cstruct
  • pyliblzma ( You may not need to install this -- python3 comes with it )
$ 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