mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-09 05:39:27 -07:00
371fca1228
Add a new attack mode that uses a local LLM via Ollama to generate password candidates, converts them into hashcat .hcstat2 Markov statistics via hcstat2gen, and runs a Markov-enhanced mask attack. Two generation sub-modes: - Wordlist-based: feeds sample from an existing wordlist to the LLM as pattern context (config-selectable default with Y/N override) - Target-based: prompts for company name, industry, and location for contextual password generation Pipeline: Ollama API -> candidate file -> hcstat2gen -> LZMA compress -> hashcat -a 3 --markov-hcstat2 Config additions: ollamaUrl, ollamaModel, markovCandidateCount, markovWordlist. No new pip dependencies (uses stdlib urllib/lzma). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>