hashdog

GitLab pipeline PyPI version PyPI downloads License

hashdog is a lightweight, pure‑Python implementation of a hash‑cat clone. It reads a wordlist, hashes each entry using the specified algorithm, and stops as soon as a match with the target hash is found.


Installation

hashdog can be installed globally with pipx, ensuring it never interferes with your other Python projects.

# Install pipx if you don't have it yet
python3 -m pip install --user pipx
python3 -m pipx ensurepath

# Install hashdog
pipx install hashdog

A normal pip install works as well:

python3 -m venv .venv
source .venv/bin/activate
pip install hashdog

Usage

hashdog <TARGET_HASH> <DICTIONARY_FILE> [-m ALGORITHM]

Example

# Crack an MD5 hash with a local wordlist
hashdog d41d8cd98f00b204e9800998ecf8427e ./rockyou.txt

hashdog


Supported Algorithms

Algorithm Import path Notes
md5 hashlib.md5 Fast, built‑in
sha1 hashlib.sha1 Commonly used in legacy systems

Future extensions may add more algorithms; just modify the hash_password helper.


License

MIT © cylab

See the LICENSE file for details.

This website uses cookies. More information about the use of cookies is available in the cookies policy.
Accept