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)
|
|
|
|
|
|
|
|
config_values.update({
|
|
|
|
"basic.exploiters.exploiter_classes": ["ElasticGroovyExploiter"],
|
2021-03-09 20:51:35 +08:00
|
|
|
"internal.classes.finger_classes": ["PingScanner", "HTTPFinger", "ElasticFinger"],
|
2021-03-02 21:01:56 +08:00
|
|
|
"basic_network.scope.subnet_scan_list": ["10.2.2.4", "10.2.2.5"]
|
|
|
|
})
|