Saturday, April 11, 2015

Binwalk 2.0.1 installation with Python 2.7

$ python --version
Python 2.7.8

$ wget https://github.com/devttys0/binwalk/archive/v2.0.1.tar.gz
$ tar xf v2.0.1.tar.gz
$ cd binwalk-2.0.1/

$ sudo apt-get install python-lzma

$ sudo apt-get install libqt4-opengl python-opengl python-qt4 python-qt4-gl python-numpy python-scipy python-pip
$ sudo pip install pyqtgraph

$ sudo apt-get install python-pip
$ sudo pip install capstone

# Install standard extraction utilities
$ sudo apt-get install mtd-utils gzip bzip2 tar arj lhasa p7zip p7zip-full cabextract cramfsprogs cramfsswap squashfs-tools

# Install sasquatch to extract non-standard SquashFS images
$ sudo apt-get install zlib1g-dev liblzma-dev liblzo2-dev
$ git clone https://github.com/devttys0/sasquatch
$ (cd sasquatch && make && sudo make install)
# Install jefferson to extract JFFS2 file systems
$ sudo pip install cstruct
$ git clone https://github.com/sviehb/jefferson
$ (cd jefferson && sudo python setup.py install)
 
$ sudo python setup.py install
 

No comments:

Post a Comment