mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-02 02:54:55 -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>
31 lines
1.5 KiB
JSON
31 lines
1.5 KiB
JSON
{
|
|
"hcatPath": "/path/to/hashcat",
|
|
"hcatBin": "hashcat",
|
|
"hcatTuning": "--force --remove",
|
|
"hcatPotfilePath": "~/.hashcat/hashcat.potfile",
|
|
"hcatDebugLogPath": "./hashcat_debug",
|
|
"hcatWordlists": "/Passwords/wordlists",
|
|
"hcatOptimizedWordlists": "/Passwords/optimized_wordlists",
|
|
"rules_directory": "/path/to/hashcat/rules",
|
|
"hcatDictionaryWordlist": ["rockyou.txt"],
|
|
"hcatCombinationWordlist": ["rockyou.txt","rockyou.txt"],
|
|
"hcatHybridlist": ["rockyou.txt"],
|
|
"hcatMiddleCombinatorMasks": ["2","4"," ","-","_","+",",",".","&"],
|
|
"hcatMiddleBaseList": "rockyou.txt",
|
|
"hcatThoroughCombinatorMasks": ["0","1","2","3","4","5","6","7","8","9"," ","-","_","+",",","!","#","$","\"","%","&","'","(",")","*",".","/",":",";","<","=",">","?","@","[","\\","]","^","`","{","|","}","~"],
|
|
"hcatThoroughBaseList": "rockyou.txt",
|
|
"hcatGoodMeasureBaseList": "rockyou.txt",
|
|
"hcatPrinceBaseList": "rockyou.txt",
|
|
"pipalPath": "/path/to/pipal",
|
|
"pipal_count" : 10,
|
|
"bandrelmaxruntime": 300,
|
|
"bandrel_common_basedwords": "welcome,password,p@ssword,p@$$word,changeme,letmein,summer,winter,spring,springtime,fall,autumn,monday,tuesday,wednesday,thursday,friday,saturday,sunday,january,february,march,april,may,june,july,august,september,october,november,december,christmas,easter,covid19",
|
|
"hashview_url": "http://localhost:8443",
|
|
"hashview_api_key": "",
|
|
"hashmob_api_key": "",
|
|
"ollamaUrl": "http://localhost:11434",
|
|
"ollamaModel": "llama3.2",
|
|
"markovCandidateCount": 5000,
|
|
"markovWordlist": "rockyou.txt"
|
|
}
|