Fixes formatting and naming for ransomware configuration options
This commit is contained in:
parent
1ede7ebaec
commit
9ef4ce8bac
|
@ -197,8 +197,8 @@ class Configuration(object):
|
|||
# ransomware config
|
||||
###########################
|
||||
|
||||
windows_dir = ""
|
||||
linux_dir = ""
|
||||
windows_dir_ransom = ""
|
||||
linux_dir_ransom = ""
|
||||
|
||||
def get_exploit_user_password_pairs(self):
|
||||
"""
|
||||
|
|
|
@ -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.",
|
||||
},
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue