From 2363247a3cad10ce430231ecec962753dbac4a2e Mon Sep 17 00:00:00 2001 From: Philippe Lagadec Date: Fri, 1 Apr 2016 22:26:33 +0200 Subject: [PATCH] olevba: fixed process_file_triage with skip_deobfuscate --- oletools/olevba.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/oletools/olevba.py b/oletools/olevba.py index 424edda..3560b78 100755 --- a/oletools/olevba.py +++ b/oletools/olevba.py @@ -2720,7 +2720,7 @@ class VBA_Parser_CLI(VBA_Parser): return result - def process_file_triage(self, show_decoded_strings=False): + def process_file_triage(self, show_decoded_strings=False, skip_deobfuscate=False): """ Process a file in triage mode, showing only summary results on one line. """ @@ -2955,11 +2955,11 @@ def main(): json_results = json2ascii(json_results) #print_json(json_results) - if False: # options.outfile: # (option currently commented out) - with open(outfile, 'w') as write_handle: - json.dump(write_handle, **json_options) - else: - print json.dumps(json_results, **json_options) + # if False: # options.outfile: # (option currently commented out) + # with open(outfile, 'w') as write_handle: + # json.dump(write_handle, **json_options) + # else: + print json.dumps(json_results, **json_options) def print_json(j): -- libgit2 0.21.4