chg: [joe_import] Changed the user configuration param `Import PE` into `Import Executable`

pull/560/head v2.4.156
chrisr3d 2022-03-07 23:04:37 +01:00
parent c5b6d218bb
commit 38047f2718
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@ from joe_parser import JoeParser
misperrors = {'error': 'Error'} misperrors = {'error': 'Error'}
userConfig = { userConfig = {
"Import PE": { "Import Executable": {
"type": "Boolean", "type": "Boolean",
"message": "Import PE Information", "message": "Import Executable Information (PE, elf or apk for instance)",
}, },
"Mitre Att&ck": { "Mitre Att&ck": {
"type": "Boolean", "type": "Boolean",
@ -29,7 +29,7 @@ def handler(q=False):
return False return False
q = json.loads(q) q = json.loads(q)
config = { config = {
"import_pe": bool(int(q["config"]["Import PE"])), "import_executable": bool(int(q["config"]["Import Executable"])),
"mitre_attack": bool(int(q["config"]["Mitre Att&ck"])), "mitre_attack": bool(int(q["config"]["Mitre Att&ck"])),
} }