render: ida: add sha256, filetype

This commit is contained in:
William Ballenthin
2020-07-02 16:26:55 -06:00
parent ff44801e5c
commit e13b5c77c6

View File

@@ -370,11 +370,11 @@ class CapaExplorerForm(idaapi.PluginForm):
"sample": {
"md5": idautils.GetInputFileMD5(),
# "sha1" not easily accessible
# "sha256" not easily accessible
"sha256": idaapi.retrieve_input_file_sha256(),
"path": idaapi.get_input_file_path(),
},
"analysis": {
# "format" is difficult to determine via IDAPython
"format": idaapi.get_file_type_name(),
"extractor": "ida",
},
}