Merge pull request #1029 from guardicore/config_template_fixes
Config template fixes
This commit is contained in:
commit
efedab8854
|
@ -10,5 +10,6 @@ class Elastic(ConfigTemplate):
|
|||
|
||||
config_values.update({
|
||||
"basic.exploiters.exploiter_classes": ["ElasticGroovyExploiter"],
|
||||
"internal.classes.finger_classes": ["PingScanner", "HTTPFinger", "ElasticFinger"],
|
||||
"basic_network.scope.subnet_scan_list": ["10.2.2.4", "10.2.2.5"]
|
||||
})
|
||||
|
|
|
@ -7,15 +7,16 @@ from envs.monkey_zoo.blackbox.config_templates.config_template import ConfigTemp
|
|||
class WmiPth(ConfigTemplate):
|
||||
config_values = copy(BaseTemplate.config_values)
|
||||
|
||||
config_values.update({
|
||||
config_values.update(
|
||||
{
|
||||
"basic.exploiters.exploiter_classes": ["WmiExploiter"],
|
||||
"basic_network.scope.subnet_scan_list": ["10.2.2.15"],
|
||||
"basic.credentials.exploit_password_list": ["Password1!"],
|
||||
"basic.credentials.exploit_user_list": ["Administrator",
|
||||
"m0nk3y",
|
||||
"user"],
|
||||
"internal.classes.finger_classes": ["PingScanner",
|
||||
"HTTPFinger"],
|
||||
"internal.classes.exploits.exploit_ntlm_hash_list": ["5da0889ea2081aa79f6852294cba4a5e",
|
||||
"50c9987a6bf1ac59398df9f911122c9b"]
|
||||
})
|
||||
"basic.credentials.exploit_user_list": ["Administrator", "m0nk3y", "user"],
|
||||
"internal.classes.finger_classes": ["PingScanner", "HTTPFinger"],
|
||||
"internal.exploits.exploit_ntlm_hash_list": [
|
||||
"5da0889ea2081aa79f6852294cba4a5e",
|
||||
"50c9987a6bf1ac59398df9f911122c9b",
|
||||
],
|
||||
}
|
||||
)
|
||||
|
|
|
@ -5,5 +5,9 @@
|
|||
This script is used to generate config files for manual tests.
|
||||
Config file will be generated according to the templates in `envs/monkey_zoo/blackbox/config_templates`.
|
||||
|
||||
Run `envs/monkey_zoo/blackbox/utils/config_generation_script.py island_ip:5000` to populate
|
||||
1. Reset the Island config to contain default configuration.
|
||||
2. Run `envs/monkey_zoo/blackbox/utils/config_generation_script.py island_ip:5000` to populate
|
||||
`envs/monkey_zoo/blackbox/utils/generated_configs` directory with configuration files.
|
||||
|
||||
!! It's important to target the Island you'll be testing, because configs contain Island's IPs
|
||||
in the configuration !!
|
||||
|
|
Loading…
Reference in New Issue