mirror of https://github.com/MISP/misp-modules
chg: [joe_import] Changed the user configuration param `Import PE` into `Import Executable`
parent
c5b6d218bb
commit
38047f2718
|
@ -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"])),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue