From 6f30cbbccc5ce3f7a228334f5e77d07647d889f3 Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Mon, 4 May 2026 09:07:07 -0400 Subject: [PATCH] feat(pcfg): add pcfg and prince_ling dispatchers in main.py --- hate_crack/main.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hate_crack/main.py b/hate_crack/main.py index 9842926..4e706dc 100755 --- a/hate_crack/main.py +++ b/hate_crack/main.py @@ -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")