Most Linux users running a Debian or RedHat based system can skip this and go straight to the Easy Install; others may need to perform a manual installation.
Binwalk requires Python 2.7 or newer. While Python 3 is supported, it is not recommended due to performance concerns. Nearly all Linux distributions ship with Python 2.7 pre-installed, but if in doubt you can check your Python version from the command line:
This is the preferred method of installation. Binwalk and all prerequisite packages can be installed using the included easy_install.sh script:
WARNING: The –sumount argument will allow you, and all other users on your system, to mount and unmount file systems without root privileges. If this is undesirable, simply do not specify the –sumount argument when running easy_install.sh. However, in order for binwalk to extract/mount certain file systems, you will either need to run binwalk as root, or grant your user account privileges to mount and unmount file systems.
The only required dependency for binwalk is the python-magic module. This can typically be installed using your system’s package manager (aptitude, yum, etc).
WARNING: Do NOT install python-magic from pypi or github. Use the official python-magic module bundled with libmagic.
If you want fuzzy hashing features, you’ll need to install the libfuzzy library, either from your distro’s repositories (use the libfuzzy2 package in Debian systems), or from source.
If you want to be able to generate entropy plot graphs, you will also need to install pyqtgraph and its associated dependencies (note that you may also need to install the OpenGL driver for your video card):
If you want automated extraction, you will also need to install:
With the desired dependencies satisfied, binwalk can be installed using the included setup.py script:
For cyber security and computer security. Click Here.