HASHCKACKER(1)

NAME
hashcracker - GPU-accelerated password cracker

SYNOPSIS
hashcracker [OPTIONS] [PASSWORD]

DESCRIPTION
hashcracker is a GPU-accelerated password cracker supporting 41 hash types. It runs on Vulkan, Metal, and DirectX 12 via wgpu, requiring no CUDA or OpenCL driver installation. Targets can be specified as raw hex hashes, prefixed formats (e.g. ⟨$1$salt$hash⟩), or hashlist files.

OPTIONS

  Attack Configuration

-m, --mode MODE
    Attack mode: brute, wordlist, mask, hybrid, prince, single, markov, incremental (default: brute).

--hash-type TYPE
    Hash type (default: auto). See list of 41 supported types below.

-w, --wordlist FILE
    Wordlist file path.

--mask PATTERN
    Mask pattern. Characters: ?l (lower), ?u (upper), ?d (digit), ?a (all).

--prefix
    Prepend word to mask result (default is suffix).

--salt SALT
    Static salt for hash computation.

--rules FILE
    Rules file (hashcat-compatible .rule syntax).

--rules-stack FILE
    Stacked rules files applied sequentially (repeatable).

--filter FILTER
    Filter constraints: min=X, max=X, chars=abc (repeatable).

  Target Specification

--hash HASH
    Single target hash (hex string or prefixed format).

--hashlist FILE
    Hashlist file (one hash per line, supports user:hash format).

  Attack Modes

--prince-dict FILE
    Prince mode dictionary file for word-concatenation chains.

--loopback
    Use potfile cracked passwords as wordlist input.

--stdout
    Generate candidate passwords to stdout (no cracking).

  Session and Persistence

--session NAME
    Session name for save/resume.

--potfile FILE
    Custom potfile path (default: ~/.hashcracker/potfile).

  Display Modes

--show
    Show cracked passwords from potfile.

--left
    Show remaining (uncracked) hashes.

--quiet
    Only output cracked passwords, suppress progress and banner.

--verbose
    Show detailed per-event GPU stats.

--hex
    Output cracked password as hex-encoded string.

--json
    Machine-readable JSON-line output per event.

  Utility

--bench
    Benchmark all supported hash types.

--extract ITYPE
    Extract hash from file. Supported: pdf, zip.

-h, --help
    Print help.

-V, --version
    Print version.

  Hash Type Aliases

md5, sha1, sha256, sha512, sha224, sha384
    Standard hash algorithms.

md4, ntlm, lm
    Windows hash types.

md5crypt, sha256crypt, sha512crypt
    Unix crypt(3) formats.

bcrypt, apr1, phpass, drupal7
    Web application hash types.

mysql41, mssql05, mssql12, postgresql, db2
    Database password hashes.

salted-sha1, salted-sha256, salted-sha512
    Salted hash formats.

pbkdf2-sha256, hmac-sha1, hmac-sha256, hmac-sha512
    Key derivation and MAC formats.

sha256d, sha512d
    Double-hash formats (Bitcoin).

ntlmv2, dcc, dcc2
    Windows domain cache formats.

crc32, grub2
    Checksum and bootloader formats.

pdf, wpa, pkzip, keepass, 7z, rar5
    Encrypted document and archive formats.

EXAMPLES

Crack raw MD5:
    hashcracker --hash e99a18c428cb38d5f260853678922e03

Wordlist + rules:
    hashcracker --hashlist hashes.txt --wordlist rockyou.txt --rules best64.rule

Mask attack:
    hashcracker --hash e99a18c428cb38d5f260853678922e03 --mode mask --mask '?l?l?d?d?d'

PRINCE mode:
    hashcracker --hash '$6$salt$hash' --mode prince --prince-dict words.txt

Benchmark:
    hashcracker --bench

Extract and crack:
    hashcracker --extract pdf document.pdf --wordlist rockyou.txt

EXIT STATUS

0   Successful program execution (at least one hash cracked, or no error).

1   An error occurred (invalid hash, file not found, unsupported mode).

FILES

~/.hashcracker/potfile
    Default potfile storing cracked passwords.

BUGS
Report bugs at https://github.com/anomalyco/hashcracker/issues

AUTHORS
anomalyco