diff --git a/monkey/infection_monkey/exploit/zerologon.py b/monkey/infection_monkey/exploit/zerologon.py index 9c6d863d1..be83d88ee 100644 --- a/monkey/infection_monkey/exploit/zerologon.py +++ b/monkey/infection_monkey/exploit/zerologon.py @@ -9,7 +9,6 @@ import os import re import tempfile from binascii import unhexlify -from time import time from typing import Dict, List, Optional, Sequence, Tuple import impacket @@ -148,7 +147,6 @@ class ZerologonExploiter(HostExploiter): logger.info(error_message) self._publish_exploitation_event( - time=time(), success=False, error_message=error_message, ) @@ -181,7 +179,7 @@ class ZerologonExploiter(HostExploiter): _exploited = True logger.info("Exploit complete!") - self._publish_exploitation_event(time=time(), success=True) + self._publish_exploitation_event(success=True) else: self.report_login_attempt(result=False, user=self.dc_name) _exploited = False @@ -190,7 +188,6 @@ class ZerologonExploiter(HostExploiter): logger.info(error_message) self._publish_exploitation_event( - time=time(), success=False, error_message=error_message, )