mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-28 22:51:14 -07:00
Defect 1 — hcatOllama showed a plain print then blocked silently for up to 300 s while waiting for the LLM. A new generic context manager `hate_crack/progress.py::spinner()` now runs a daemon thread that repaints a single line with a frame + elapsed-seconds counter every ~120 ms. TTY guard ensures non-TTY/test environments get a single plain print instead of ANSI control characters. The line is erased with \033[2K\r on exit (normal and exceptional). Defect 2 — the wordlist path materialised every line in memory and built a prompt that could massively overflow ollamaNumCtx on large wordlists. The path now does a two-pass evenly-spaced sample: pass 1 counts usable lines, pass 2 stride-selects up to `ollamaMaxSampleLines` (default 500, new config key) spread across the full file. When no capping occurs the message reads "Loaded N passwords"; when capping occurs it reads "Sampled N of M passwords". Co-Authored-By: Claude <noreply@anthropic.com>
55 lines
2.5 KiB
JSON
55 lines
2.5 KiB
JSON
{
|
|
"hcatPath": "/path/to/hashcat",
|
|
"hcatBin": "hashcat",
|
|
"hcatTuning": "",
|
|
"hcatPotfilePath": "~/.hashcat/hashcat.potfile",
|
|
"hcatDebugLogPath": "./hashcat_debug",
|
|
"hcatWordlists": "./wordlists",
|
|
"hcatOptimizedWordlists": "./optimized_wordlists",
|
|
"rules_directory": "./hashcat/rules",
|
|
"hcatDictionaryWordlist": ["rockyou.txt"],
|
|
"hcatCombinationWordlist": ["rockyou.txt","rockyou.txt"],
|
|
"hcatCombinator3Wordlist": ["rockyou.txt","rockyou.txt","rockyou.txt"],
|
|
"hcatCombinatorXWordlist": ["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": "",
|
|
"ollamaModel": "qwen2.5:32b",
|
|
"ollamaNumCtx": 2048,
|
|
"ollamaTimeout": 300,
|
|
"ollamaMaxSampleLines": 500,
|
|
"omenTrainingList": "rockyou.txt",
|
|
"omenMaxCandidates": 50000000,
|
|
"pcfgRuleset": "DEFAULT",
|
|
"pcfgMaxCandidates": 50000000,
|
|
"pcfgPrinceLingMaxCandidates": 10000000,
|
|
"check_for_updates": true,
|
|
"optimizedKernelAttacks": [
|
|
"hcatDictionary", "hcatQuickDictionary", "hcatBandrel", "hcatGoodMeasure",
|
|
"hcatRecycle", "hcatBruteForce", "hcatTopMask", "hcatPathwellBruteForce",
|
|
"hcatAdHocMask", "hcatMarkovBruteForce", "hcatFingerprint", "hcatCombination",
|
|
"hcatCombinator3", "hcatCombinatorX", "hcatHybrid", "hcatYoloCombination",
|
|
"hcatMiddleCombinator", "hcatThoroughCombinator", "hcatCombipow", "hcatPrince",
|
|
"hcatPermute", "hcatPCFG", "hcatPrinceLing"
|
|
],
|
|
"notify_enabled": false,
|
|
"notify_pushover_token": "",
|
|
"notify_pushover_user": "",
|
|
"notify_per_crack_enabled": false,
|
|
"notify_attack_allowlist": [],
|
|
"notify_suppress_in_orchestrators": true,
|
|
"notify_max_cracks_per_burst": 5,
|
|
"notify_poll_interval_seconds": 5.0
|
|
}
|