2021-03-02 21:01:56 +08:00
|
|
|
from copy import copy
|
|
|
|
|
2021-03-08 21:41:22 +08:00
|
|
|
from envs.monkey_zoo.blackbox.config_templates.base_template import BaseTemplate
|
|
|
|
from envs.monkey_zoo.blackbox.config_templates.config_template import ConfigTemplate
|
2021-03-02 21:01:56 +08:00
|
|
|
|
|
|
|
|
|
|
|
class Elastic(ConfigTemplate):
|
|
|
|
|
|
|
|
config_values = copy(BaseTemplate.config_values)
|
|
|
|
|
2021-04-06 21:19:27 +08:00
|
|
|
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"],
|
2021-07-21 20:39:24 +08:00
|
|
|
"basic_network.scope.depth": 1,
|
2021-08-04 21:30:26 +08:00
|
|
|
"internal.network.tcp_scanner.HTTP_PORTS": [9200],
|
|
|
|
"internal.network.tcp_scanner.tcp_target_ports": [],
|
2021-04-06 21:19:27 +08:00
|
|
|
}
|
|
|
|
)
|