UI: Add credentials json schema

This commit is contained in:
Ilija Lazoroski 2022-07-12 18:25:42 +02:00
parent f5e026ff85
commit f8e4c5cddc
1 changed files with 60 additions and 0 deletions

View File

@ -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'
}
}
}