2021-03-08 22:42:48 +08:00
|
|
|
from copy import copy
|
|
|
|
|
2021-03-08 23:16:32 +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-08 22:42:48 +08:00
|
|
|
|
|
|
|
|
2021-03-08 23:16:32 +08:00
|
|
|
class Drupal(ConfigTemplate):
|
2021-03-08 22:42:48 +08:00
|
|
|
config_values = copy(BaseTemplate.config_values)
|
|
|
|
|
|
|
|
config_values.update({
|
|
|
|
"internal.classes.finger_classes": ["PingScanner", "HTTPFinger"],
|
|
|
|
"basic.exploiters.exploiter_classes": ["DrupalExploiter"],
|
|
|
|
"basic_network.scope.subnet_scan_list": ["10.2.2.28"]
|
|
|
|
})
|