Sign inSign up

dceoy/hashcat

By dceoy

•Updated over 5 years ago

hashcat

Image
1

5.7K

dceoy/hashcat repository overview

⁠zip-password-cracker

ZIP Password Cracking Toolkit for NVIDIA GPUs

CI to Docker Hub

⁠Docker image

$ docker image pull dceoy/john:latest
$ docker image pull dceoy/hashcat:latest

⁠Usage

  1. Install the dependencies:

    • Docker
    • NVIDIA Driver
    • NVIDIA Container Toolkit
  2. Extract the password hash from a ZIP file (./foo.zip).

    $ docker container run --rm --entrypoint=zip2john -v ${PWD}:/wd:ro \
        dceoy/john /wd/foo.zip \
        | grep -e '^[^:]\+.zip:' \
        | cut -d ':' -f 2 \
        | tee foo.zip.hash.txt
    
  3. Crack the password with brute-force attack using a GPU.

    $ nvidia-docker container run --rm -v ${PWD}:/wd:ro \
        dceoy/hashcat -a 3 -w 4 -m 17220 /wd/foo.zip.hash.txt ?a?a?a?a?a?a?a?a
    

    The hash types of ZIP files:

    Hash-ModeHash-Name
    13600WinZip
    17200PKZIP (Compressed)
    17210PKZIP (Uncompressed)
    17220PKZIP (Compressed Multi-File)
    17225PKZIP (Mixed Multi-File)
    17230PKZIP (Compressed Multi-File Checksum-Only)

    Reference: https://hashcat.net/wiki/doku.php?id=example_hashes⁠

Tag summary

Content type

Image

Digest

Size

194 MB

Last updated

over 5 years ago

docker pull dceoy/hashcat