Custom hashcat binary inside docker #1038
zyronix
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When using the default hashtopolis docker container and you want to use a different hashcat binary (for example you have created an own module) you have to add those binary to the docker container.
Inside the docker container there is the folder 'binaries' which is exposed by apache to the subfolder
/binaries. Thus/usr/local/share/hashtopolis/binariesis accessible via:http://<docker host ip>/binaries.You can either upload the hashcat 7zip to the
/usr/local/share/hashtopolis/binariesfolder inside the container, but note that files stored inside the container are not persistent.Persistent storage
/usr/local/share/hashtopolis/binariesinside the container to a folder of the docker host using the docker-compose.yaml fileAdd the following line to the docker-compose.yaml:
- /opt/hashtopolis/binaries:/usr/local/share/hashtopolis/binaries:ZThis will mount
/opt/hashtopolis/binariesof your host system to/usr/local/share/hashtopolis/binariesinside the container.Also see #1022 for more information, but the content should roughly look like this:
docker compose downdocker compose upTemp storage
hashcat/http://<ip of the docker host>/binaries/hashcat-x.x.x.7zBeta Was this translation helpful? Give feedback.
All reactions