forked from p15670423/monkey
Agent: Catch Exception instead of BaseException in zerologon
This commit is contained in:
parent
237b0ae394
commit
3b60c760e4
|
@ -139,7 +139,7 @@ class ZerologonExploiter(HostExploiter):
|
|||
if err.get_error_code() != self.ERROR_CODE_ACCESS_DENIED:
|
||||
error_message = f"Unexpected error code from DC: {err.get_error_code()}"
|
||||
logger.info(error_message)
|
||||
except BaseException as err:
|
||||
except Exception as err:
|
||||
error_message = f"Unexpected error: {err}"
|
||||
logger.info(error_message)
|
||||
|
||||
|
|
Loading…
Reference in New Issue