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
-
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/binaries
is accessible via:http://<docker host ip>/binaries
.You can either upload the hashcat 7zip to the
/usr/local/share/hashtopolis/binaries
folder inside the container, but note that files stored inside the container are not persistent.Persistent storage
/usr/local/share/hashtopolis/binaries
inside 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:Z
This will mount
/opt/hashtopolis/binaries
of your host system to/usr/local/share/hashtopolis/binaries
inside the container.Also see #1022 for more information, but the content should roughly look like this:
docker compose down
docker compose up
Temp storage
hashcat/
http://<ip of the docker host>/binaries/hashcat-x.x.x.7z
Beta Was this translation helpful? Give feedback.
All reactions