mirror of
https://github.com/vee1e/capa.git
synced 2026-09-01 18:57:15 +00:00
Merge branch 'master' into vmray-extractor
This commit is contained in:
commit
d98c315eb4
58 changed files with 2094 additions and 519 deletions
|
|
@ -84,8 +84,7 @@ def main() -> int:
|
|||
args = _parse_args()
|
||||
|
||||
try:
|
||||
with Path(args.capa_output).open() as capa_output:
|
||||
json_data = json.load(capa_output)
|
||||
json_data = json.loads(Path(args.capa_output).read_text(encoding="utf-8"))
|
||||
except ValueError:
|
||||
logger.error("Input data was not valid JSON, input should be a capa json output file.")
|
||||
return -1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue