mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-07-28 14:47:22 -07:00
feat: add startup version check, fix PassGPT MPS/output issues, hide menu without ML deps
- Add optional startup version check against GitHub releases (check_for_updates config option) - Add packaging dependency for version comparison - Fix PassGPT OOM on MPS by capping batch size to 64 and setting memory watermark limits - Fix PassGPT output having spaces between every character - Hide PassGPT menu item (17) unless torch/transformers are installed - Fix mypy errors in passgpt_generate.py with type: ignore comments - Update README with version check docs, optional ML deps section, and PassGPT CLI options - Add test_version_check.py with 8 tests covering update check behavior Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
39970b41c4
commit
f0b512a079
+2
-1
@@ -85,7 +85,6 @@ def get_main_menu_options():
|
||||
"14": _attacks.loopback_attack,
|
||||
"15": _attacks.ollama_attack,
|
||||
"16": _attacks.omen_attack,
|
||||
"17": _attacks.passgpt_attack,
|
||||
"90": download_hashmob_rules,
|
||||
"91": weakpass_wordlist_menu,
|
||||
"92": download_hashmob_wordlists,
|
||||
@@ -96,6 +95,8 @@ def get_main_menu_options():
|
||||
"98": show_readme,
|
||||
"99": quit_hc,
|
||||
}
|
||||
if globals().get("HAS_ML_DEPS"):
|
||||
options["17"] = _attacks.passgpt_attack
|
||||
# Only show Hashview API when configured.
|
||||
if globals().get("hashview_api_key"):
|
||||
options["94"] = hashview_api
|
||||
|
||||
Reference in New Issue
Block a user