vipyrsec / vipyrsec-deobfuscator

Rewrapping FieryIceStickie's Deobfuscation Tools
MIT License
9 stars 3 forks source link

Accept output path in argparse #37

Closed import-pandas-as-numpy closed 6 months ago

import-pandas-as-numpy commented 7 months ago

-o --output should be acceptable arguments to pass to the command line tool to output the deobfuscated script to a file instead of printing to stdout.

FieryIceStickie commented 7 months ago

Should the logs go into the same file as the deobfuscated output, or should it still be printed to stdout? It's also possible to have the logs be output to a separate file if that's desirable.

import-pandas-as-numpy commented 7 months ago

Should the logs go into the same file as the deobfuscated output, or should it still be printed to stdout? It's also possible to have the logs be output to a separate file if that's desirable.

Logs should be printed to stdout; the output file should represent to the best of its ability the 'deobfuscated' version of the Python file that was obfuscated.

Logs can be tee'd to logfiles as necessary if that's a desired option, but that is on the user to perform/utilize, and doesn't need to be directly supported with our package.