forked from p15670423/monkey
BB: Use keyword arguments where missing in configuration objects' creation
This commit is contained in:
parent
c7ee48fff1
commit
446524b5b8
|
@ -12,7 +12,9 @@ from common.agent_configuration import (
|
||||||
|
|
||||||
from . import TestConfiguration
|
from . import TestConfiguration
|
||||||
|
|
||||||
_custom_pba_configuration = CustomPBAConfiguration("", "", "", "")
|
_custom_pba_configuration = CustomPBAConfiguration(
|
||||||
|
linux_command="", linux_filename="", windows_command="", windows_filename=""
|
||||||
|
)
|
||||||
|
|
||||||
_tcp_scan_configuration = TCPScanConfiguration(timeout=3.0, ports=[])
|
_tcp_scan_configuration = TCPScanConfiguration(timeout=3.0, ports=[])
|
||||||
_icmp_scan_configuration = ICMPScanConfiguration(timeout=1.0)
|
_icmp_scan_configuration = ICMPScanConfiguration(timeout=1.0)
|
||||||
|
|
|
@ -31,7 +31,7 @@ def _add_subnets(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
||||||
|
|
||||||
def _add_credential_collectors(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
def _add_credential_collectors(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
||||||
return add_credential_collectors(
|
return add_credential_collectors(
|
||||||
agent_configuration, [PluginConfiguration("MimikatzCollector", {})]
|
agent_configuration, [PluginConfiguration(name="MimikatzCollector", options={})]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue