Sasquatch on Docker Desktop
The binwalk is a very useful tool for extracting firmware images. It’s installation on MacOSX is very easy - a simple brew install binwalk will do the job.
However if you try to use it you will discover that it uses a lot of external tools as his little helpers.
This post covers installation and usage of Sasquatch on MacOSX.
Please install Docker Desktop for MacOSX and then GNU coreutils:
brew install coreutils
The forked repository contains necessary Dockerfile:
git clone https://github.com/rkwaysltd/sasquatch
cd sasquatch
docker build -t sasquatch .
A small wrapper named sasquatch somewhere in the $PATH will enable binwalk to use our container:
#!/bin/sh
docker run --interactive --tty --rm \
--volume "$(realpath "$PWD"):/wd" --workdir /wd \
sasquatch "$@"
Please remember to chmod a+x sasquatch and to re-build Docker image after e.g. pruning local image cache.
2021-02-04