From 0184bc484b076c9d9a75ad58fa2575fac0df8f22 Mon Sep 17 00:00:00 2001 From: cyb3rw0lf Date: Tue, 15 Aug 2023 12:47:44 +0200 Subject: [PATCH] added reset of breachcomp_path variable --- h8mail/utils/breachcompilation.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/h8mail/utils/breachcompilation.py b/h8mail/utils/breachcompilation.py index 154d75f..fe50969 100644 --- a/h8mail/utils/breachcompilation.py +++ b/h8mail/utils/breachcompilation.py @@ -35,8 +35,9 @@ def clean_targets(targets): return targets def breachcomp_check(targets, breachcomp_path): - breachcomp_path = os.path.join(breachcomp_path, "data") + rst_breachcomp_path = os.path.join(breachcomp_path, "data") for t in targets: + breachcomp_path = rst_breachcomp_path if len(t.target): for i in range(len(t.target)): if t.target[i].isalnum():