vipyrsec / vipyrsec-deobfuscator

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

Add optional argcomplete support #52

Closed Realswitzer closed 3 months ago

Realswitzer commented 3 months ago

For users with argcomplete installed, they can have some form of tab-completion, especially for the --type option.

Limitations: Without needing to optimize imports to only import modules when necessary, argcomplete may feel sluggish due to it needing to evaluate the script up until the parser is created. This seems to be a problem with global completion, and there's not much to fix it besides refactoring to move the parser to invoked as quickly as possible.

Follow-ups: Rewriting README.md to address argcomplete support in a better fashion.

Example terminal output (argcomplete installed): 2024-08-07_15-42 image

Default terminal output (argcomplete uninstalled): 2024-08-07_15-49

FieryIceStickie commented 3 months ago

Being sluggish is fine for now, I was planning on doing a bit of refactoring anyways to decouple the CLI and setting up the deobf, so deferring imports after that is done should be easy.