diff --git a/monkey/infection_monkey/exploit/HostExploiter.py b/monkey/infection_monkey/exploit/HostExploiter.py index 94fcbe152..9490b8706 100644 --- a/monkey/infection_monkey/exploit/HostExploiter.py +++ b/monkey/infection_monkey/exploit/HostExploiter.py @@ -132,7 +132,6 @@ class HostExploiter: self, target: str, propagation_success: bool, - exploiter_name: str = "", tags: frozenset = frozenset(), error_message: str = "", ): @@ -140,7 +139,7 @@ class HostExploiter: source=get_agent_id(), target=IPv4Address(target), success=propagation_success, - exploiter_name=exploiter_name or self.__class__.__name__, + exploiter_name=self.__class__.__name__, error_message=error_message, tags=tags, ) @@ -150,7 +149,6 @@ class HostExploiter: self, target: str, exploitation_success: bool, - exploiter_name: str = "", tags: frozenset = frozenset(), error_message: str = "", ): @@ -158,7 +156,7 @@ class HostExploiter: source=get_agent_id(), target=IPv4Address(target), success=exploitation_success, - exploiter_name=exploiter_name or self.__class__.__name__, + exploiter_name=self.__class__.__name__, error_message=error_message, tags=tags, )