My oledump.py and zipdump.py tools have a new option: –jsonoutput. With this option, my tools will output JSON data to stdout. For oledump, the JSON data will contain the content of all the streams found inside the analyzed OLE file, and for zipdump respectively, the JSON data will contain the content of all the files found inside the analyzed ZIP file.
This is meant to be piped into a new tool I will release soon.
Let’s take a small ZIP files with 2 small files as example (a binary file and a text file). Here is the content displayed with zipdump:
With zipdump’s option –jsonoutput, we output JSON data with the content of these 2 files encoded in BASE64:
Here is the same data pretty-printed:
This can now be piped into other tools that support this JSON data format.