Skip to content

bishwabikash/Hashcatizer

Repository files navigation

Hashcatizer 🔓

CI CodeRabbit Pull Request Reviews License

File-to-Hashcat Converter Suite — Extract hashes from encrypted files and output them in hashcat-compatible format. Written in Rust for maximum speed.

Inspired by the *2john scripts from John the Ripper. Full credits in CREDITS.md.

Built with GitHub Copilot (Claude Sonnet 4.6) — All Rust source in this repository was authored using GitHub Copilot powered by Claude Sonnet 4.6. Contributors are encouraged to use the same model for consistency when adding converters or fixing parsing logic.


Features

  • Single static binary — no runtime dependencies, no interpreter required
  • 92 converters covering wallets, password managers, disk encryption, archives, SSH keys, and more
  • Auto-detection — pass any file and Hashcatizer identifies the format automatically
  • Hash identification — pass a raw hash string to identify its type and hashcat mode
  • Hashcat hints — every result includes the exact hashcat -m <mode> command to use

Installation

From crates.io

cargo install hashcatizer

Installs the hashcatizer binary into ~/.cargo/bin (ensure it's on your PATH).

Pre-built binaries

Download the latest release for your platform from the Releases page.

# Debian / Ubuntu / Kali (recommended)
curl -LO https://github.com/nobody-Justheader/Hashcatizer/releases/latest/download/hashcatizer-linux-x86_64.deb
sudo dpkg -i hashcatizer-linux-x86_64.deb

# Linux (musl static tarball)
curl -Lo hashcatizer-linux-x86_64.tar.gz https://github.com/nobody-Justheader/Hashcatizer/releases/latest/download/hashcatizer-linux-x86_64.tar.gz
tar -xzf hashcatizer-linux-x86_64.tar.gz
chmod +x hashcatizer
sudo mv hashcatizer /usr/local/bin/

Build from source

Requires Rust 1.75+.

git clone https://github.com/nobody-Justheader/Hashcatizer.git
cd Hashcatizer
cargo build --release
# Binary: target/release/hashcatizer

Usage

# Auto-detect format and extract hash
hashcatizer <file>

# Use explicit converter
hashcatizer <converter> <file>

# Identify a raw hash string
hashcatizer '<hash_string>'

# List all converters with hashcat mode info
hashcatizer --list

Examples

# SSH private key → hash + crack command
hashcatizer id_rsa

# Explicit converter
hashcatizer keepass vault.kdbx
hashcatizer pdf document.pdf
hashcatizer ethereum keystore.json
hashcatizer ansible vault.yml

# Pipe straight into hashcat
hashcatizer id_rsa | hashcat -m 22931 -a 0 rockyou.txt
hashcatizer vault.kdbx | hashcat -m 13400 -a 0 rockyou.txt

# Identify a hash you already have
hashcatizer '$2a$12$LlMILsdbh1gAdLhWBXWzXu...'
# → bcrypt (hashcat -m 3200)

Supported Formats (92 Converters)

Converter Hashcat Mode(s) Description
ssh 22911–22941 SSH private keys (RSA/DSA/EC/OpenSSH)
pdf 10400–10700 PDF 1.1–2.0
office 9400–9800 MS Office 97–2013+
keepass 13400 KeePass 1.x / 2.x
bitlocker 22100 BitLocker volumes
truecrypt 6211–6243 TrueCrypt volumes
veracrypt 13711–13743 VeraCrypt volumes
luks 14600 LUKS encrypted volumes
ethereum 15600, 15700 Ethereum wallets (scrypt / pbkdf2)
bitcoin 11300 Bitcoin / Litecoin wallet.dat
electrum 16600 Electrum wallets
blockchain 15200 Blockchain.com wallets
ansible 16900 Ansible Vault
bitwarden 26400 Bitwarden
lastpass 6800 LastPass
1password 8200 1Password vaults
pwsafe 5200 Password Safe v3
encfs 6211–6221 EncFS
dmg 12700 Apple DMG encrypted images
mozilla 16600 Firefox / Thunderbird key3/key4.db
telegram 22301 Telegram Desktop
signal 25300 Signal Desktop / Android
7z 11600 7-Zip archives
zip 13600 WinZip AES-encrypted ZIP
rar 12500, 13000 RAR3 (-hp) / RAR5 archives
gpg 17010 GnuPG / OpenPGP secret keys
pgpdisk 22600 PGP Virtual Disk
pgpsda 22600 PGP Self-Decrypting Archives
pgpwde 22600 PGP Whole Disk Encryption
zed 13711 ZED / AxCrypt containers
mac 7100 macOS password hashes
lion 7100 macOS Lion SHA-512
pcap 5500, 5600 PCAP / PCAPNG (NTLM, WPA)
netntlm 5500, 5600 NetNTLMv1/v2
cisco 500, 9200, 9300 Cisco IOS configs
sap 7700, 7800 SAP CODVN B/F/G
ldif various LDAP LDIF hashes
mongodb 24100, 24200 MongoDB SCRAM-SHA-1/256
ios 14800 iOS / iTunes backup encryption
vdi 13711–13733 VirtualBox VDI encryption
androidbackup 18900 Android ADB backup
androidfde 12900 Android Full-Disk Encryption
axcrypt 13200 AxCrypt
bestcrypt 23400 BestCrypt containers
cardano 28500 Cardano wallets
coinomi Coinomi wallets
dashlane Dashlane vaults
deepsound 24310 DeepSound audio steganography
diskcryptor 22500 DiskCryptor volumes
dpapimk 15300, 15900 Windows DPAPI Master Keys
ecryptfs 12200 eCryptfs
enpass 24600 Enpass
fvde 16700 FileVault 2 / Core Storage
geli 16800 FreeBSD GELI
htdigest Apache htdigest
hccapx 22000 WPA2 HCCAPX
iwork 9600 Apple iWork (Pages/Numbers/Keynote)
keychain 23100 macOS Keychain
keyring GNOME Keyring
known_hosts SSH known_hosts (hashed)
libreoffice 18400 LibreOffice / ODF documents
monero 26620 Monero wallets
multibit 22200 MultiBit wallets
openbsd_softraid OpenBSD softraid crypto
openssl 500 OpenSSL enc (Salted__)
pem Encrypted PEM private keys
pfx 24410 PKCS#12 / PFX
restic 24410 Restic repos
staroffice 18400 StarOffice / OOo documents
strip 24420 Strip password manager
tezos 28510 Tezos wallets
vmx 17300 VMware VMX encryption
aix AIX password hashes
andotp andOTP backups
applenotes Apple Notes (encrypted)
bks Bouncy Castle BKS keystore
ccache Kerberos ccache
ejabberd ejabberd SCRAM hashes
gitea Gitea password hashes
ikescan ike-scan IKE PSK hashes
kdcdump KDC key dump
keystore Java KeyStore (JKS)
keplr Keplr wallet
kirbi Kerberos tickets (kirbi)
krb Kerberos hashes
kwallet KDE KWallet
lotus Lotus Notes ID files
prosody Prosody XMPP SCRAM hashes
radius RADIUS hashes
sipdump SIP digest auth

License

Free to use, modify, and distribute under either of

at your option.

Credits

Inspired by the *2john scripts from openwall/john, built to complement hashcat by Jens "atom" Steube. See CREDITS.md for full attribution.

About

Hashcatizer — Single-binary Rust tool that extracts hashes from 89 encrypted file formats (SSH keys, KeePass, PDF, Office, crypto wallets, disk images, and more) and outputs them ready to crack with hashcat.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Contributing

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages