docker build . -t blister-config-extractor
Then we run the container with the -v flag to map a host directory to the docker container directory:
docker run -ti --rm -v \ "$(pwd)/binaries":/binaries blister-config-extractor:latest -d /binaries/
We can either specify a single sample with -f option or a directory of samples with -d.
As mentioned above, Docker is the recommended approach to running this project, however you can also run this locally. This project uses Poetry to manage dependencies, testing, and metadata. If you have Poetry installed already, from this directory, you can simply run the following commands to run the tool. This will setup a virtual environment, install the dependencies, activate the virtual environment, and run the console script.
poetry lock poetry install poetry shell blister-config-extractor -h
Once that works, you can do the same sort of things as mentioned in the Docker instructions above.
See all top stories