-
Oleobj preserve file extension
-
Test xlm samples
-
tests: Treat xlsb properly in ftguess tests
-
Files provided by decalage2
-
Sofar we have only looked at the `filename` attribute but in malware samples the path has been empty and windows used src_path or tmp_path to determine dumped file type. Look at all 3 filenames/paths, try to preserve suffix but still limit length of resulting file name. Deal with multiple objects of same resulting filename by offering random file names
-
Use log helper
-
On my test VM this reduces test time for this one test from 33s to 10s
-
VBA stomping warning might occur here
-
Logging in mraptor is used for debugging olevba only
-
Help debugging
-
Do not need the last meta-information return code json output from olevba any more
-
This is part of LoggerAdapter only since python 3.2
-
This constant is needed for enable_logging() functions. It is the only reason for `import logging` in common-logging-enabled modules. Easier to provide it in log_helper
-
Logging uses the default StreamHandler, which per default sends its output to sys.stderr. However, the surrounding '[', ']' are printed to stdout. Fix that.
-
Make log_helper compatible with olevba which has its own print_json function and does not (yet?) use logging to create json.
-
This is slightly more complicated since olevba has its own json-print functions that need to be made compatible with log_helper's json formatting
-
So glad we have the unittests, otherwise would never have found this
-
Need something like this for when modules are imported by other modules (no main in oletools is run, so no log_helper.enable_logging)