cc: Add checkbox for ransomware encryption

This commit is contained in:
Shreya 2021-06-29 16:02:20 +05:30 committed by Mike Salvatore
parent 6301ec9d14
commit 13a94804b4
1 changed files with 27 additions and 14 deletions

View File

@ -2,23 +2,36 @@ RANSOMWARE = {
"title": "Ransomware", "title": "Ransomware",
"type": "object", "type": "object",
"properties": { "properties": {
"directories": { "encryption": {
"title": "Directories to encrypt", "title": "Encryption",
"type": "object", "type": "object",
"properties": { "properties": {
"linux_dir": { "should_encrypt": {
"title": "Linux encryptable directory", "title": "Encrypt files",
"type": "string", "type": "boolean",
"default": "", "default": True,
"description": "Files in the specified directory will be encrypted " "description": "Selected files will be encrypted using bitflip to simulate "
"using bitflip to simulate ransomware.", "ransomware. Enter target directories below.",
}, },
"windows_dir": { "directories": {
"title": "Windows encryptable directory", "title": "Directories to encrypt",
"type": "string", "type": "object",
"default": "", "properties": {
"description": "Files in the specified directory will be encrypted " "linux_dir": {
"using bitflip to simulate ransomware.", "title": "Linux encryptable directory",
"type": "string",
"default": "",
"description": "Files in the specified directory will be encrypted "
"using bitflip to simulate ransomware.",
},
"windows_dir": {
"title": "Windows encryptable directory",
"type": "string",
"default": "",
"description": "Files in the specified directory will be encrypted "
"using bitflip to simulate ransomware.",
},
},
}, },
}, },
}, },