From 37f50691da25d15e13a2627383fbe21fa0831fb7 Mon Sep 17 00:00:00 2001 From: Marven11 <110723864+Marven11@users.noreply.github.com> Date: Tue, 26 Dec 2023 12:47:06 +0800 Subject: [PATCH] Bug fix: wrong call --- fenjing/webui.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/fenjing/webui.py b/fenjing/webui.py index 11a73cf..301180e 100644 --- a/fenjing/webui.py +++ b/fenjing/webui.py @@ -21,6 +21,7 @@ OS_POPEN_READ, ) from .cracker import Cracker +from .options import Options from .form import get_form, Form from .full_payload_gen import FullPayloadGen from .requester import Requester @@ -139,9 +140,11 @@ def run(self): self.cracker = Cracker( self.submitter, self.callback, - detect_mode=self.detect_mode, - environment=self.environment, - replaced_keyword_strategy=self.replaced_keyword_strategy, + options=Options( + detect_mode=self.detect_mode, + environment=self.environment, + replaced_keyword_strategy=self.replaced_keyword_strategy, + ) ) if not self.cracker.has_respond(): continue