forked from p15670423/monkey
Agent: Add TODO comment regarding OS checks in credential collectors
This commit is contained in:
parent
704236a16f
commit
f526933d84
|
@ -24,6 +24,7 @@ PypykatzCredential = NewType("PypykatzCredential", Dict)
|
||||||
|
|
||||||
|
|
||||||
def get_windows_creds() -> List[WindowsCredentials]:
|
def get_windows_creds() -> List[WindowsCredentials]:
|
||||||
|
# TODO: Remove this check when this is turned into a plugin.
|
||||||
if not is_windows_os():
|
if not is_windows_os():
|
||||||
logger.debug("Skipping pypykatz because the operating system is not Windows")
|
logger.debug("Skipping pypykatz because the operating system is not Windows")
|
||||||
return []
|
return []
|
||||||
|
|
|
@ -16,6 +16,7 @@ DEFAULT_DIRS = ["/.ssh/", "/"]
|
||||||
|
|
||||||
|
|
||||||
def get_ssh_info(telemetry_messenger: ITelemetryMessenger) -> Iterable[Dict]:
|
def get_ssh_info(telemetry_messenger: ITelemetryMessenger) -> Iterable[Dict]:
|
||||||
|
# TODO: Remove this check when this is turned into a plugin.
|
||||||
if is_windows_os():
|
if is_windows_os():
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"Skipping SSH credentials collection because the operating system is not Linux"
|
"Skipping SSH credentials collection because the operating system is not Linux"
|
||||||
|
|
Loading…
Reference in New Issue