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",
"type": "object",
"properties": {
"directories": {
"title": "Directories to encrypt",
"encryption": {
"title": "Encryption",
"type": "object",
"properties": {
"linux_dir": {
"title": "Linux encryptable directory",
"type": "string",
"default": "",
"description": "Files in the specified directory will be encrypted "
"using bitflip to simulate ransomware.",
"should_encrypt": {
"title": "Encrypt files",
"type": "boolean",
"default": True,
"description": "Selected files will be encrypted using bitflip to simulate "
"ransomware. Enter target directories below.",
},
"windows_dir": {
"title": "Windows encryptable directory",
"type": "string",
"default": "",
"description": "Files in the specified directory will be encrypted "
"using bitflip to simulate ransomware.",
"directories": {
"title": "Directories to encrypt",
"type": "object",
"properties": {
"linux_dir": {
"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.",
},
},
},
},
},