Swimm: update exercise Add a new System Info Collector (id: OwcKMnALpn7tuBaJY1US).

Modify snippet in monkey_island/cc/services/config_schema/monkey.py to only hide HOSTNAME_COLLECTOR instead of the whole import statement block
This commit is contained in:
Shreya 2021-06-21 22:40:31 +05:30
parent 3b3ce2f86e
commit d908b183f5
1 changed files with 8 additions and 9 deletions

View File

@ -96,15 +96,14 @@
"comments": [], "comments": [],
"firstLineNumber": 1, "firstLineNumber": 1,
"lines": [ "lines": [
"*from common.common_consts.system_info_collectors_names import (", " from common.common_consts.system_info_collectors_names import (",
"* AWS_COLLECTOR,", " AWS_COLLECTOR,",
"* AZURE_CRED_COLLECTOR,", " AZURE_CRED_COLLECTOR,",
"* ENVIRONMENT_COLLECTOR,", " ENVIRONMENT_COLLECTOR,",
"* HOSTNAME_COLLECTOR,", "* HOSTNAME_COLLECTOR,",
"* MIMIKATZ_COLLECTOR,", " MIMIKATZ_COLLECTOR,",
"* PROCESS_LIST_COLLECTOR,", " PROCESS_LIST_COLLECTOR,",
"*)", " )"
" "
] ]
}, },
{ {
@ -198,7 +197,7 @@
"symbols": {}, "symbols": {},
"file_version": "2.0.1", "file_version": "2.0.1",
"meta": { "meta": {
"app_version": "0.4.9-1", "app_version": "0.4.4-0",
"file_blobs": { "file_blobs": {
"monkey/common/common_consts/system_info_collectors_names.py": "175a054e1408805a4cebbe27e2f9616db40988cf", "monkey/common/common_consts/system_info_collectors_names.py": "175a054e1408805a4cebbe27e2f9616db40988cf",
"monkey/infection_monkey/system_info/collectors/hostname_collector.py": "0aeecd9fb7bde83cccd4501ec03e0da199ec5fc3", "monkey/infection_monkey/system_info/collectors/hostname_collector.py": "0aeecd9fb7bde83cccd4501ec03e0da199ec5fc3",