forked from p15670423/monkey
BB: Add smb_download_timeout to test_configurations
This commit is contained in:
parent
0e2cef181a
commit
f049688160
|
@ -23,7 +23,7 @@ from .utils import (
|
||||||
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
||||||
brute_force = [
|
brute_force = [
|
||||||
PluginConfiguration(name="MSSQLExploiter", options={}),
|
PluginConfiguration(name="MSSQLExploiter", options={}),
|
||||||
PluginConfiguration(name="SmbExploiter", options={}),
|
PluginConfiguration(name="SmbExploiter", options={"smb_download_timeout": 30}),
|
||||||
PluginConfiguration(name="SSHExploiter", options={}),
|
PluginConfiguration(name="SSHExploiter", options={}),
|
||||||
]
|
]
|
||||||
vulnerability = [
|
vulnerability = [
|
||||||
|
|
|
@ -22,7 +22,7 @@ def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfigurati
|
||||||
brute_force = [
|
brute_force = [
|
||||||
PluginConfiguration(name="PowerShellExploiter", options={}),
|
PluginConfiguration(name="PowerShellExploiter", options={}),
|
||||||
PluginConfiguration(name="SSHExploiter", options={}),
|
PluginConfiguration(name="SSHExploiter", options={}),
|
||||||
PluginConfiguration(name="WmiExploiter", options={}),
|
PluginConfiguration(name="WmiExploiter", options={"smb_download_timeout": 30}),
|
||||||
]
|
]
|
||||||
|
|
||||||
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=[])
|
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=[])
|
||||||
|
|
|
@ -15,7 +15,7 @@ from .utils import (
|
||||||
|
|
||||||
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
||||||
brute_force = [
|
brute_force = [
|
||||||
PluginConfiguration(name="SmbExploiter", options={}),
|
PluginConfiguration(name="SmbExploiter", options={"smb_download_timeout": 30}),
|
||||||
]
|
]
|
||||||
|
|
||||||
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=[])
|
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=[])
|
||||||
|
|
|
@ -15,7 +15,7 @@ from .utils import (
|
||||||
|
|
||||||
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
||||||
brute_force = [
|
brute_force = [
|
||||||
PluginConfiguration(name="WmiExploiter", options={}),
|
PluginConfiguration(name="WmiExploiter", options={"smb_download_timeout": 30}),
|
||||||
]
|
]
|
||||||
|
|
||||||
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=[])
|
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=[])
|
||||||
|
|
|
@ -11,7 +11,7 @@ from .utils import (
|
||||||
|
|
||||||
|
|
||||||
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
def _add_exploiters(agent_configuration: AgentConfiguration) -> AgentConfiguration:
|
||||||
brute_force = [PluginConfiguration(name="SmbExploiter", options={})]
|
brute_force = [PluginConfiguration(name="SmbExploiter", options={"smb_download_timeout": 30})]
|
||||||
vulnerability = [PluginConfiguration(name="ZerologonExploiter", options={})]
|
vulnerability = [PluginConfiguration(name="ZerologonExploiter", options={})]
|
||||||
|
|
||||||
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=vulnerability)
|
return add_exploiters(agent_configuration, brute_force=brute_force, vulnerability=vulnerability)
|
||||||
|
|
Loading…
Reference in New Issue