feat: add OMEN attack as menu option 16

Add OMEN (Ordered Markov ENumerator) as a probability-ordered password
candidate generator. Trains n-gram models on leaked passwords via
createNG, then pipes candidates from enumNG into hashcat.

Also fix a pre-existing bug where ensure_binary() used quit(1) instead
of sys.exit(1) - quit() closes stdin before raising SystemExit, which
caused "ValueError: I/O operation on closed file" when any optional
binary check failed and the program continued to use input().

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Justin Bollinger
2026-02-17 14:01:58 -05:00
co-authored by Claude Opus 4.6
parent 939995ce63
commit 6fb261d76f
9 changed files with 299 additions and 9 deletions
+3
View File
@@ -4,3 +4,6 @@
[submodule "HashcatRosetta"]
path = HashcatRosetta
url = https://github.com/bandrel/HashcatRosetta.git
[submodule "omen"]
path = omen
url = https://github.com/RUB-SysSec/OMEN.git