fixed pathing issue with hybrid

This commit is contained in:
Justin Bollinger
2026-02-02 15:56:16 -05:00
parent 267de30753
commit 9e42d905d2
2 changed files with 629 additions and 440 deletions
+6 -4
View File
@@ -197,17 +197,19 @@ def hybrid_crack(ctx: Any) -> None:
valid_wordlists = []
for wl in wordlists:
if os.path.isfile(wl):
valid_wordlists.append(wl)
print(f"✓ Found: {wl}")
resolved = ctx._resolve_wordlist_path(wl, ctx.hcatWordlists)
if os.path.isfile(resolved):
valid_wordlists.append(resolved)
print(f"✓ Found: {resolved}")
else:
print(f"✗ Not found: {wl}")
print(f"✗ Not found: {resolved}")
if not valid_wordlists:
print("\nNo valid wordlists found. Aborting hybrid attack.")
return
wordlists = valid_wordlists
wordlists = [ctx._resolve_wordlist_path(wl, ctx.hcatWordlists) for wl in wordlists]
print(f"\nStarting hybrid attack with {len(wordlists)} wordlist(s)...")
print(f"Hash type: {ctx.hcatHashType}")
+623 -436
View File
File diff suppressed because it is too large Load Diff