Docker container with all extra tools installed to get the most out of binwalk.
https://github.com/ReFirmLabs/binwalk
https://github.com/ReFirmLabs/binwalk/blob/master/INSTALL.md
This repo is automatically built by Docker Hub.
https://hub.docker.com/repository/docker/sheabot/binwalk
These commands mount the current working directory as a volume into the container at /workspace
which is the $WORKDIR in the container. This allows binwalk to operate on files in the current directory.
docker run -it --rm -v "$(pwd):/workspace" -w /workspace sheabot/binwalk arg1 arg2 ...
Example:
docker run -it --rm -v "$(pwd):/workspace" -w /workspace sheabot/binwalk -e firmware.bin
The binwalk.sh
script can be installed somewhere on $PATH to make running this containerized version of binwalk transparent.
install -m 0755 binwalk.sh /usr/local/bin/binwalk
Example:
binwalk -e firmware.bin