Moved "victims_max_exploit" and "victims_max_find" to "internal", increased "victims_max_exploit" default to 100

This commit is contained in:
VakarisZ 2020-07-23 10:52:05 +03:00
parent bca5ad912e
commit db6552a136
4 changed files with 26 additions and 23 deletions

View File

@ -135,7 +135,7 @@ class Configuration(object):
victims_max_find = 100 victims_max_find = 100
# how many victims to exploit before stopping # how many victims to exploit before stopping
victims_max_exploit = 15 victims_max_exploit = 100
# depth of propagation # depth of propagation
depth = 2 depth = 2

View File

@ -99,7 +99,7 @@
], ],
"timeout_between_iterations": 10, "timeout_between_iterations": 10,
"use_file_logging": true, "use_file_logging": true,
"victims_max_exploit": 15, "victims_max_exploit": 100,
"victims_max_find": 100, "victims_max_find": 100,
"post_breach_actions": [] "post_breach_actions": []
custom_PBA_linux_cmd = "" custom_PBA_linux_cmd = ""

View File

@ -1,3 +1,5 @@
from monkey_island.cc.services.utils.typographic_symbols import WARNING_SIGN
INTERNAL = { INTERNAL = {
"title": "Internal", "title": "Internal",
"type": "object", "type": "object",
@ -38,6 +40,22 @@ INTERNAL = {
"title": "Monkey", "title": "Monkey",
"type": "object", "type": "object",
"properties": { "properties": {
"victims_max_find": {
"title": "Max victims to find",
"type": "integer",
"default": 100,
"description": "Determines the maximum number of machines the monkey is allowed to scan"
},
"victims_max_exploit": {
"title": "Max victims to exploit",
"type": "integer",
"default": 100,
"description":
"Determines the maximum number of machines the monkey"
" is allowed to successfully exploit. " + WARNING_SIGN
+ " Note that setting this value too high may result in the monkey propagating to "
"a high number of machines"
},
"internet_services": { "internet_services": {
"title": "Internet services", "title": "Internet services",
"type": "array", "type": "array",

View File

@ -93,38 +93,23 @@ MONKEY = {
}, },
} }
}, },
"life_cycle": { "persistent_scanning": {
"title": "Life cycle", "title": "Persistent scanning",
"type": "object", "type": "object",
"properties": { "properties": {
"max_iterations": { "max_iterations": {
"title": "Max iterations", "title": "Max iterations",
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"description": "Determines how many iterations of the monkey's full lifecycle should occur" "description": "Determines how many iterations of the monkey's full lifecycle should occur "
}, "(how many times to do the scan)"
"victims_max_find": {
"title": "Max victims to find",
"type": "integer",
"default": 100,
"description": "Determines the maximum number of machines the monkey is allowed to scan"
},
"victims_max_exploit": {
"title": "Max victims to exploit",
"type": "integer",
"default": 15,
"description":
"Determines the maximum number of machines the monkey"
" is allowed to successfully exploit. " + WARNING_SIGN
+ " Note that setting this value too high may result in the monkey propagating to "
"a high number of machines"
}, },
"timeout_between_iterations": { "timeout_between_iterations": {
"title": "Wait time between iterations", "title": "Wait time between iterations",
"type": "integer", "type": "integer",
"default": 100, "default": 100,
"description": "description":
"Determines for how long (in seconds) should the monkey wait between iterations" "Determines for how long (in seconds) should the monkey wait before starting another scan"
}, },
"retry_failed_explotation": { "retry_failed_explotation": {
"title": "Retry failed exploitation", "title": "Retry failed exploitation",
@ -132,7 +117,7 @@ MONKEY = {
"default": True, "default": True,
"description": "description":
"Determines whether the monkey should retry exploiting machines" "Determines whether the monkey should retry exploiting machines"
" it didn't successfully exploit on previous iterations" " it didn't successfully exploit on previous scans"
} }
} }
} }