From f8e4c5cddc469654069d9b809cf529dc868e84d8 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Tue, 12 Jul 2022 18:25:42 +0200 Subject: [PATCH] UI: Add credentials json schema --- .../src/services/configuration/credentials.js | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 monkey/monkey_island/cc/ui/src/services/configuration/credentials.js diff --git a/monkey/monkey_island/cc/ui/src/services/configuration/credentials.js b/monkey/monkey_island/cc/ui/src/services/configuration/credentials.js new file mode 100644 index 000000000..9ab1dbf79 --- /dev/null +++ b/monkey/monkey_island/cc/ui/src/services/configuration/credentials.js @@ -0,0 +1,60 @@ +export const CREDENTIALS = { + 'title': 'Credentials', + 'type': 'object', + 'properties': { + 'exploit_user_list': { + 'title': 'Exploit user list', + 'type': 'array', + 'uniqueItems': true, + 'items': {'type': 'string'}, + 'default': [], + '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', + 'type': 'array', + 'uniqueItems': true, + 'items': {'type': 'string'}, + 'default': [], + 'description': 'List of passwords that will be used by exploiters that need ' + + 'credentials, like SSH brute-forcing.' + }, + 'exploit_lm_hash_list': { + 'title': 'Exploit LM hash list', + 'type': 'array', + 'uniqueItems': true, + 'items': {'type': 'string'}, + 'default': [], + 'description': 'List of LM hashes to use on exploits using credentials' + }, + 'exploit_ntlm_hash_list': { + 'title': 'Exploit NTLM hash list', + 'type': 'array', + 'uniqueItems': true, + 'items': {'type': 'string'}, + 'default': [], + 'description': 'List of NTLM hashes to use on exploits using credentials' + }, + 'exploit_ssh_keys': { + 'title': 'SSH key pairs list', + 'type': 'array', + 'uniqueItems': true, + 'default': [], + 'items': { + 'type': 'object', + 'properties': { + 'public_key': { + 'title': 'Public Key', + 'type': 'string' + }, + 'private_key': { + 'title': 'Private Key', + 'type': 'string' + } + } + }, + 'description': 'List of SSH key pairs to use, when trying to ssh into servers' + } + } +}