dissect.target icon indicating copy to clipboard operation
dissect.target copied to clipboard

Enhance target-dump with --exclude and --list

Open DissectBot opened this issue 1 year ago • 0 comments

When figuring out a workaround for DIS-2743, I noticed I needed to use a different tools to list the plugins that we can use.

That does not seem very user friendly, so I propose a change to also allow the listing of plugins, the dry run of plugins and all that other stuff for target-dump and all other tools that use the plugins.

Requirement: Make argument parsing for plugins generic instead of target-query exclusive

Dev note:

  • complimentary to a configure_generic_arguments() function, make a similar function like configure_plugin_arguments()
  • think of better function name
  • also make loaders generic in this configure_generic_arguments() (because each tool should be able to choose the loader)
  • Include the following options in configure_plugin_arguments():
    • ~~l/~~-list
    • ~~f/~~-function
    • ~~xf/~~-excluded-functions
    • ~~n/~~-dry-run
  • There should also be a process function of the arguments configured by configure_plugin_arguments()

DissectBot avatar Mar 18 '24 14:03 DissectBot