forked from p15670423/monkey
Merge branch 'feature/configuration_improvement' of https://github.com/guardicore/monkey into feature/configuration_improvements
This commit is contained in:
commit
c1717d01a5
|
@ -6,6 +6,7 @@ BASIC = {
|
|||
"exploiters": {
|
||||
"title": "Exploiters",
|
||||
"type": "object",
|
||||
"description": "Choose which exploiters the Monkey will attempt.",
|
||||
"properties": {
|
||||
"exploiter_classes": {
|
||||
"title": "Exploiters",
|
||||
|
@ -46,7 +47,8 @@ BASIC = {
|
|||
"root",
|
||||
"user"
|
||||
],
|
||||
"description": "List of usernames to use on exploits using credentials"
|
||||
"description": "List of user names that will be used by exploiters that need credentials, like "
|
||||
"SSH brute-forcing."
|
||||
},
|
||||
"exploit_password_list": {
|
||||
"title": "Exploit password list",
|
||||
|
@ -61,7 +63,8 @@ BASIC = {
|
|||
"password",
|
||||
"12345678"
|
||||
],
|
||||
"description": "List of password to use on exploits using credentials"
|
||||
"description": "List of passwords that will be used by exploiters that need credentials, like "
|
||||
"SSH brute-forcing."
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,13 +19,14 @@ BASIC_NETWORK = {
|
|||
},
|
||||
"default": [
|
||||
],
|
||||
"description": "List of IPs to not scan"
|
||||
"description": "List of IPs that the Monkey will not scan."
|
||||
},
|
||||
"local_network_scan": {
|
||||
"title": "Local network scan",
|
||||
"type": "boolean",
|
||||
"default": True,
|
||||
"description": "Determines whether the monkey should scan its subnets additionally"
|
||||
"description": "Determines whether the monkey will scan the local subnets of machines it runs on, in "
|
||||
"addition to the IPs that are configured manually in the 'scan target list'."
|
||||
},
|
||||
"depth": {
|
||||
"title": "Distance from island",
|
||||
|
@ -33,12 +34,12 @@ BASIC_NETWORK = {
|
|||
"minimum": 1,
|
||||
"default": 2,
|
||||
"description":
|
||||
"Amount of hops allowed for the monkey to spread from the island. "
|
||||
"Amount of hops allowed for the monkey to spread from the island. \n"
|
||||
+ WARNING_SIGN
|
||||
+ " Note that setting this value too high may result in the monkey propagating too far"
|
||||
+ " Note that setting this value too high may result in the monkey propagating too far."
|
||||
},
|
||||
"subnet_scan_list": {
|
||||
"title": "Scan IP/subnet list",
|
||||
"title": "Scan target list",
|
||||
"type": "array",
|
||||
"uniqueItems": True,
|
||||
"items": {
|
||||
|
@ -48,9 +49,12 @@ BASIC_NETWORK = {
|
|||
"default": [
|
||||
],
|
||||
"description":
|
||||
"List of IPs/subnets/hosts the monkey should scan."
|
||||
" Examples: \"192.168.0.1\", \"192.168.0.5-192.168.0.20\", \"192.168.0.5/24\","
|
||||
" \"printer.example\""
|
||||
"List of targets the Monkey will try to scan. The targets can be IPs, subnets or hosts."
|
||||
" Examples:\n"
|
||||
"\tTarget a specific IP: \"192.168.0.1\"\n"
|
||||
"\tTarget a subnet using a network range: \"192.168.0.5-192.168.0.20\"\n"
|
||||
"\tTarget a subnet using an IP mask: \"192.168.0.5/24\"\n"
|
||||
"\tTarget a specific host: \"printer.example\""
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -69,14 +73,17 @@ BASIC_NETWORK = {
|
|||
"default": [
|
||||
],
|
||||
"description":
|
||||
"Test for network segmentation by providing a list of"
|
||||
" subnets that should NOT be accessible to each other."
|
||||
" For example, given the following configuration:"
|
||||
" '10.0.0.0/24, 11.0.0.2/32, 12.2.3.0/24'"
|
||||
" a Monkey running on 10.0.0.5 will try to access machines in the following"
|
||||
" subnets: 11.0.0.2/32, 12.2.3.0/24."
|
||||
" An alert on successful connections will be shown in the report"
|
||||
" Additional subnet formats include: 13.0.0.1, 13.0.0.1-13.0.0.5"
|
||||
"Test for network segmentation by providing a list of network segments that should NOT be accessible "
|
||||
"to each other.\n\n"
|
||||
"For example, if you configured the following three segments: \"10.0.0.0/24\", \"11.0.0.2/32\", "
|
||||
"and \"12.2.3.0/24\", a Monkey running on 10.0.0.5 will try to access machines in the following "
|
||||
"subnets: 11.0.0.2/32, 12.2.3.0/24. An alert on successful cross-segment connections will be shown in the "
|
||||
"reports. \n\n"
|
||||
"Network segments can be IPs, subnets or hosts. Examples:\n"
|
||||
"\tDefine a single-IP segment: \"192.168.0.1\"\n"
|
||||
"\tDefine a segment using a network range: \"192.168.0.5-192.168.0.20\"\n"
|
||||
"\tDefine a segment using an subnet IP mask: \"192.168.0.5/24\"\n"
|
||||
"\tDefine a single-host segment: \"printer.example\""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -83,6 +83,6 @@ export default function UiSchema(props) {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
return UiSchema[props.selectedSection]
|
||||
}
|
||||
|
|
|
@ -52,3 +52,8 @@
|
|||
.config-field-hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.field-description {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue