feat(pcfg): add pcfg and prince_ling dispatchers in main.py

This commit is contained in:
Justin Bollinger
2026-05-04 09:07:07 -04:00
parent 629ca85023
commit 6f30cbbccc
+8
View File
@@ -3933,6 +3933,14 @@ def permute_crack():
return _attacks.permute_crack(_attack_ctx())
def pcfg_attack():
return _attacks.pcfg_attack(_attack_ctx())
def prince_ling_attack():
return _attacks.prince_ling_attack(_attack_ctx())
def wordlist_filter_len(infile: str, outfile: str, min_len: int, max_len: int) -> bool:
"""Filter wordlist keeping only words between min_len and max_len (inclusive)."""
len_bin = os.path.join(hate_path, "hashcat-utils/bin/len.bin")