Bug: mdbook-hacktricks binary missing from translator-image — local setup fails
Hi, the official local setup command from the website does not work because the mdbook-hacktricks binary is missing from the docker image.
Error
INFO Book building has started
ERROR The command `mdbook-hacktricks` wasn't found
ERROR Unable to run the preprocessor `hacktricks`
Steps to Reproduce
Just follow the exact command from https://hacktricks.wiki/en/index.html — it fails every time.
Root Cause
The binary mdbook-hacktricks does not exist anywhere inside the image. Verified with:
find / -name 'mdbook-hacktricks' # returns nothing
Workaround
printf '#!/bin/bash\ncat\n' > /usr/local/bin/mdbook-hacktricks
chmod +x /usr/local/bin/mdbook-hacktricks
This makes the book build and serve, but real preprocessing is skipped.
Fix Options
Image
ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest
Bug:
mdbook-hacktricksbinary missing from translator-image — local setup failsHi, the official local setup command from the website does not work because the
mdbook-hacktricksbinary is missing from the docker image.Error
Steps to Reproduce
Just follow the exact command from https://hacktricks.wiki/en/index.html — it fails every time.
Root Cause
The binary
mdbook-hacktricksdoes not exist anywhere inside the image. Verified with:Workaround
This makes the book build and serve, but real preprocessing is skipped.
Fix Options
mdbook-hacktricksbinary in the docker imageoptional = trueunder[preprocessor.hacktricks]inbook.tomlfor graceful fallbackImage
ghcr.io/hacktricks-wiki/hacktricks-cloud/translator-image:latest