forked from p15670423/monkey
Agent: Fix typo occured -> occurred
This commit is contained in:
parent
f7f4440b61
commit
05b8f2bb4b
|
@ -383,7 +383,7 @@ class ZerologonExploiter(HostExploiter):
|
|||
return True
|
||||
|
||||
except Exception as e:
|
||||
logger.info(f"Exception occured: {str(e)}")
|
||||
logger.info(f"Exception occurred: {str(e)}")
|
||||
|
||||
finally:
|
||||
info = output_captor.get_captured_stdout_output()
|
||||
|
|
|
@ -66,7 +66,7 @@ def get_linux_usernames() -> Iterable[str]:
|
|||
return USERS
|
||||
except (subprocess.CalledProcessError, subprocess.TimeoutExpired) as err:
|
||||
logger.error(
|
||||
f"An exception occured on fetching linux usernames,"
|
||||
f"An exception occurred while fetching linux usernames,"
|
||||
f"PBA: {POST_BREACH_CLEAR_CMD_HISTORY}: {str(err)}"
|
||||
)
|
||||
return []
|
||||
|
|
|
@ -30,6 +30,6 @@ def remove_scheduled_jobs():
|
|||
shell=True,
|
||||
)
|
||||
except subprocess.CalledProcessError as err:
|
||||
logger.error(f"An error occured removing scheduled jobs on Windows: {err}")
|
||||
logger.error(f"An error occurred while removing scheduled jobs on Windows: {err}")
|
||||
except subprocess.TimeoutExpired as err:
|
||||
logger.error(f"A timeout occured removing scheduled jobs on Windows: {err}")
|
||||
logger.error(f"A timeout occurred while removing scheduled jobs on Windows: {err}")
|
||||
|
|
Loading…
Reference in New Issue