From c5a718d5ba6173238a17362f2308ca71d80fd463 Mon Sep 17 00:00:00 2001 From: William Ballenthin Date: Mon, 29 Jun 2020 12:06:31 -0600 Subject: [PATCH] main: emit json even if there are file limitations closes #53 --- capa/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/main.py b/capa/main.py index f695ba59..8a475da7 100644 --- a/capa/main.py +++ b/capa/main.py @@ -746,7 +746,7 @@ def main(argv=None): if has_file_limitation(rules, capabilities): # bail if capa encountered file limitation e.g. a packed binary # do show the output in verbose mode, though. - if not (args.verbose or args.vverbose): + if not (args.verbose or args.vverbose or args.json): return -1 # colorama will detect: