1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
BEFORE YOU START
-----------------------------------------
Binwalk supports Python 2.7 - 3.x. Although binwalk is slightly faster in Python 3,
the Python OpenGL bindings are still experimental for Python 3, so Python 2.7 is
recommended.
The following installation procedures assume that you are installing binwalk to
be run using Python 2.7. If you want to use binwalk in Python 3, some package
names and installation procedures may differ slightly.
INSTALLATION
-----------------------------------------
Installation follows the typical configure/make process (python, gcc, libtool and autoconf
must be installed in order to build):
$ ./configure
$ make
$ sudo make install
Binwalk's core features will work out of the box without any additional dependencies.
However, to take advantage of binwalk's graphing and extraction capabilities, multiple
supporting utilities/packages need to be installed.
To ease "dependency hell", a shell script named deps.sh is included which attempts to
install all required dependencies for Debian and RedHat based systems:
$ ./deps.sh
If you are running a different system, or prefer to install these dependencies manually,
see the DEPENDENCIES section below.
DEPENDENCIES
-------------------------------------------
The following dependencies are only required for optional binwalk features, such as
file extraction and graphing capabilities. Unless otherwise specified, these
dependencies are available from most Linux package managers:
libqt4-opengl
python-opengl
python-qt4
python-qt4-gl
python-numpy
python-scipy
mtd-utils
zlib1g-dev
liblzma-dev
ncompress
gzip
bzip2
tar
arj
p7zip
p7zip-full
openjdk-6-jdk
firmware-mod-kit [https://code.google.com/p/firmware-mod-kit]
UNINSTALL
-----------------------------------------
The following command will remove binwalk from your system. Note that this will *not*
remove utilities installed via deps.sh:
$ sudo make uninstall