{"id":13530579,"url":"https://github.com/dizcza/docker-hashcat","last_synced_at":"2025-04-01T18:32:00.337Z","repository":{"id":55026401,"uuid":"103772258","full_name":"dizcza/docker-hashcat","owner":"dizcza","description":"Latest hashcat docker for CUDA, OpenCL, and POCL. Deployed on Vast.ai","archived":false,"fork":false,"pushed_at":"2025-03-14T08:55:01.000Z","size":48,"stargazers_count":147,"open_issues_count":3,"forks_count":39,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-14T09:37:07.360Z","etag":null,"topics":["cuda","docker","hashcat","nvidia","opencl","pocl","vast-ai"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dizcza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-16T17:51:15.000Z","updated_at":"2025-03-14T08:54:06.000Z","dependencies_parsed_at":"2024-01-07T13:07:06.837Z","dependency_job_id":"fd700db9-1fd8-4d9b-8d8c-48a946781610","html_url":"https://github.com/dizcza/docker-hashcat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizcza%2Fdocker-hashcat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizcza%2Fdocker-hashcat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizcza%2Fdocker-hashcat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dizcza%2Fdocker-hashcat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dizcza","download_url":"https://codeload.github.com/dizcza/docker-hashcat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246691650,"owners_count":20818545,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cuda","docker","hashcat","nvidia","opencl","pocl","vast-ai"],"created_at":"2024-08-01T07:00:52.081Z","updated_at":"2025-04-01T18:32:00.331Z","avatar_url":"https://github.com/dizcza.png","language":"Dockerfile","funding_links":[],"categories":["Hashcat"],"sub_categories":[],"readme":"[![Docker Hub](http://dockeri.co/image/dizcza/docker-hashcat)](https://hub.docker.com/r/dizcza/docker-hashcat/)\n\n[![](https://img.shields.io/docker/image-size/dizcza/docker-hashcat/latest?label=latest)](https://hub.docker.com/r/dizcza/docker-hashcat/tags)\n[![](https://img.shields.io/docker/image-size/dizcza/docker-hashcat/cuda?label=cuda)](https://hub.docker.com/r/dizcza/docker-hashcat/tags)\n[![](https://img.shields.io/docker/image-size/dizcza/docker-hashcat/pocl?label=cuda12.1)](https://hub.docker.com/r/dizcza/docker-hashcat/tags)\n[![](https://img.shields.io/docker/image-size/dizcza/docker-hashcat/intel-cpu?label=intel-cpu)](https://hub.docker.com/r/dizcza/docker-hashcat/tags)\n[![](https://img.shields.io/docker/image-size/dizcza/docker-hashcat/intel-gpu?label=intel-gpu)](https://hub.docker.com/r/dizcza/docker-hashcat/tags)\n[![](https://img.shields.io/docker/image-size/dizcza/docker-hashcat/pocl?label=pocl)](https://hub.docker.com/r/dizcza/docker-hashcat/tags)\n\n\n[Hashcat](https://hashcat.net/hashcat/) with hashcat utils on Ubuntu 18.04 for Nvidia GPUs (`:cuda`), AMD GPUs (`:latest`), Intel GPUs (`:intel-gpu`), Intel CPUs (`:intel-cpu`), KVMs and AMD CPUs (`:pocl`).\n\n\n```\ndocker pull dizcza/docker-hashcat\n\ndocker run --gpus all -it dizcza/docker-hashcat /bin/bash\n```\n\nThen inside the docker container run\n\n```\n# list the available CUDA and OpenCL interfaces\nhashcat -I\n\n# run a bechmark\nhashcat -b\n```\n\n:point_right: Running RTX 5000 on vast.ai? Refer to the `:cuda` tag below.\n\n## Troubleshooting\n\n* If you get the `nvrtcCompileProgram(): NVRTC_ERROR_INVALID_OPTION` error, switch to the OpenCL backend by adding `-d 2` to your command line: `hashcat -b -d 2`.\n\n* Warning \"Device #1: Unstable OpenCL driver detected!\" can be suppressed by adding the `--force` flag to a hashcat command (f.i., `hashcat -m2500 -b --force`).\n\n* If you get \n\n  \u003e docker: Error response from daemon: could not select device driver \"\" with capabilities: [[gpu]].\n\n  while running a docker run command with the `--gpus all` flag enabled, install the nvidia-container-toolkit and restart the docker daemon:\n  ```\n  sudo apt-get install nvidia-container-toolkit\n  sudo systemctl restart docker\n  ```\n\n\n## Tags\n\n### latest\n\n`docker pull dizcza/docker-hashcat:latest`\n\nThe `:latest` is a generic tag for both Nvidia and AMD GPUs. It includes CUDA and the (default) OpenCL backends. Hashcat will pick CUDA, if your hardware supports it, because CUDA is faster than OpenCL (see [thread](https://hashcat.net/forum/thread-9303.html)). If your compute device does not support CUDA, hashcat will fall back to the OpenCL backend.\n\n### cuda\n\n`docker pull dizcza/docker-hashcat:cuda`\n\nRecommended for Nvidia GPUs. If you have any issues running this container with Nvidia GPU, please drop a comment in this [issue](https://github.com/dizcza/docker-hashcat/issues/6).\n\n### cuda12.1\n\n`docker pull dizcza/docker-hashcat:cuda12.1`\n\nFor old Nvidia GPU cards, if the `cuda` tag doesn't work, use the `cuda12.1` tag.\n\n### intel-cpu\n\n`docker pull dizcza/docker-hashcat:intel-cpu`\n\nSuitable for Intel CPUs.\n\n\n### intel-gpu\n\n`docker run -it --device /dev/dri:/dev/dri dizcza/docker-hashcat:intel-gpu`\n\nIntel NEO OpenCL driver (suitable for the majority of laptops with an embedded Intel graphics card). \n\n### pocl\n\n`docker pull dizcza/docker-hashcat:pocl`\n\nAn alternative to `:intel-cpu` tag, the `:pocl` tag provides an open-source (but not officially supported by HashCat) implementation of OpenCL, which you can find in the `pocl-opencl-icd` linux package (usually, outdated). Suitable for Intel \u0026 AMD CPUs and KVMs. For more information about using POCL in hashcat refer to the [discussion](https://github.com/hashcat/hashcat/issues/2398#issuecomment-628732757).\n\nTry `:pocl` tag if no other tag worked for you.\n\n## Deprecated tags\n\n### intel-cpu-legacy\n\n`docker pull dizcza/docker-hashcat:intel-cpu-legacy`\n\nThe `:intel-cpu-legacy` tag keeps the latest successful build of Hashcat 6.2.6 + deprecated IntelCPU runtime file. Now it's superseded by the `:intel-cpu` tag, which contains up-to-date Intel OpenCL CPU drivers.\n\n\n## Benchmark\n\nBenchmark command: `hashcat -m2500 -b`\n\n| Tag(s) | Device | Speed, H/s |\n|---|----------|-----------|\n|latest, cuda| GeForce GTX 1080 Ti | 603500 |\n|intel-gpu| Intel UHD Graphics 620 | 8240 |\n|intel-cpu| Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz | 11009 |\n|pocl| pthread-Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz | 7647 |\n\nIf you have a laptop with an embedded Intel GPU card, you can combine `intel-cpu` and `intel-gpu` installations manually to utilize both CPU and GPU, increasing the speed up to 15000 H/s.\n\n## Hashcat utils\n\nAlong with the hashcat, the following utility packages are installed:\n\n* [hashcat-utils](https://github.com/hashcat/hashcat-utils) for converting raw Airodump to HCCAPX capture format; info `cap2hccapx -h`\n* [hcxtools](https://github.com/zerbea/hcxtools) for inspecting, filtering, and converting capture files;\n* [hcxdumptool](https://github.com/ZerBea/hcxdumptool) for capturing packets from wlan devices in any format you might think of; info `hcxdumptool -h`\n* [kwprocessor](https://github.com/hashcat/kwprocessor) for creating advanced keyboard-walk password candidates; info `kwp -h`\n\n\n## Usages\n\nThis Dockerfile is used in the [hashcat-wpa-server](https://github.com/dizcza/hashcat-wpa-server) project to automate WPA/WPA2 hashes cracking.\n\nTo build upon this Dockerfile with your custom packages, create a new Dockerfile that starts with\n\n```Dockerfile\nARG branch=latest\nFROM dizcza/docker-hashcat:$branch\n```\n\nThe `branch` arg can be any tag listed above.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdizcza%2Fdocker-hashcat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdizcza%2Fdocker-hashcat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdizcza%2Fdocker-hashcat/lists"}