Fixes formatting and naming for ransomware configuration options

This commit is contained in:
VakarisZ 2021-06-22 09:47:11 +03:00
parent 1ede7ebaec
commit 9ef4ce8bac
2 changed files with 28 additions and 3 deletions

View File

@ -197,8 +197,8 @@ class Configuration(object):
# ransomware config # ransomware config
########################### ###########################
windows_dir = "" windows_dir_ransom = ""
linux_dir = "" linux_dir_ransom = ""
def get_exploit_user_password_pairs(self): def get_exploit_user_password_pairs(self):
""" """

View File

@ -1 +1,26 @@
RANSOMWARE = {"linux_dir": "", "windows_dir": ""} RANSOMWARE = {
"title": "Ransomware",
"type": "object",
"properties": {
"directories": {
"title": "Directories to encrypt",
"type": "object",
"properties": {
"linux_dir_ransom": {
"title": "Linux encryptable directory",
"type": "string",
"default": "",
"description": "Files in the specified directory will be encrypted "
"using bitflip to simulate ransomware.",
},
"windows_dir_ransom": {
"title": "Windows encryptable directory",
"type": "string",
"default": "",
"description": "Files in the specified directory will be encrypted "
"using bitflip to simulate ransomware.",
},
},
}
},
}