Support #739
Install binwalk on Arch
Description
This is a simple guide on setting up binwalk on Arch Linux. I've also included additional tools that were required while trying out the Damn Vulnerable Router Firmware project.
Prepare the Environment¶
- Make sure the system is up to date:
sudo pacman -Syu
Install binwalk¶
- Install binwalk:
sudo pacman -S binwalk
- And also install a few extra dependencies:
sudo pacman -S python-opengl python-capstone arj cabextract cpio gzip mtd-utils p7zip squashfs-tools tar bzip2 unrar xz lhasa sleuthkit
- Add the optional firmware-mod-kit package from the AUR:
yaourt firmware-mod-kit
- Install sasquatch to extract non-standard squashfs images:
git clone https://github.com/devttys0/sasquatch cd sasquatch ./build.sh
- And also install a few extra dependencies:
(Optional) Qemu-user-static¶
- Install the qemu-user-static package from the AUR:
yaourt qemu-user-static
- And add the binfmt-support package:
yaourt binfmt-support
- And add the binfmt-support package:
(Optional) Install Buildroot¶
- Install a few dependencies:
sudo pacman -S base-devel rsync wget
- Clone the buildroot source:
git clone git://git.buildroot.net/buildroot