feat: add rule support to OMEN attack and fix relative path resolution

Extract _select_rules() helper from quick_crack/loopback_attack and wire
it into omen_attack so OMEN can run with rule chains. Extend hcatOmen()
to accept and apply an hcatChains argument including debug mode injection.

Fix resolve_path() to honour HATE_CRACK_ORIG_CWD (set by the install shim)
so relative hash/wordlist paths resolve against the caller's working directory
instead of the repo root. Increase default omenMaxCandidates to 50M.
This commit is contained in:
Justin Bollinger
2026-03-18 18:17:41 -04:00
parent 9423b5a64d
commit 3bc85d9b8a
7 changed files with 304 additions and 163 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
"ollamaModel": "mistral",
"ollamaNumCtx": 2048,
"omenTrainingList": "rockyou.txt",
"omenMaxCandidates": 1000000,
"omenMaxCandidates": 50000000,
"check_for_updates": true,
"optimizedKernelAttacks": ["hcatDictionary", "hcatQuickDictionary", "hcatBandrel", "hcatGoodMeasure", "hcatRecycle", "hcatBruteForce", "hcatTopMask", "hcatPathwellBruteForce"]
}