volatility3.cli package
A CommandLine User Interface for the volatility framework.
- User interfaces make use of the framework to:
determine available plugins
request necessary information for those plugins from the user
determine what “automagic” modules will be used to populate information the user does not provide
run the plugin
display the results
- class CommandLine[source]
Bases:
object
Constructs a command-line interface object for users to run plugins.
- CLI_NAME = 'volatility'
- load_system_defaults(filename)[source]
Modify the main configuration based on the default configuration override
- classmethod location_from_file(filename)[source]
Returns the URL location from a file parameter (which may be a URL)
- populate_config(context, configurables_list, args, plugin_config_path)[source]
Populate the context config based on the returned args.
We have already determined these elements must be descended from ConfigurableInterface
- Parameters:
context (
ContextInterface
) – The volatility3 context to operate onconfigurables_list (
Dict
[str
,Type
[ConfigurableInterface
]]) – A dictionary of configurable items that can be configured on the pluginargs (
Namespace
) – An object containing the arguments necessaryplugin_config_path (
str
) – The path within the context’s config containing the plugin’s configuration
- Return type:
- populate_requirements_argparse(parser, configurable)[source]
Adds the plugin’s simple requirements to the provided parser.
- Parameters:
parser (
Union
[ArgumentParser
,_ArgumentGroup
]) – The parser to add the plugin’s (simple) requirements toconfigurable (
Type
[ConfigurableInterface
]) – The plugin object to pull the requirements from
- process_exceptions(excp)[source]
Provide useful feedback if an exception occurs during a run of a plugin.
- process_unsatisfied_exceptions(excp)[source]
Provide useful feedback if an exception occurs during requirement fulfillment.
- class MuteProgress[source]
Bases:
PrintedProgress
A dummy progress handler that produces no output when called.
- class PrintedProgress[source]
Bases:
object
A progress handler that prints the progress value and the description onto the command line.
- main()[source]
A convenience function for constructing and running the
CommandLine
’s run method.
Subpackages
- volatility3.cli.volshell package
VolShell
VolShell.CLI_NAME
VolShell.file_handler_class_factory()
VolShell.load_system_defaults()
VolShell.location_from_file()
VolShell.order_extra_verbose_levels()
VolShell.populate_config()
VolShell.populate_requirements_argparse()
VolShell.process_exceptions()
VolShell.process_unsatisfied_exceptions()
VolShell.run()
VolShell.setup_logging()
main()
- Submodules
Submodules
- volatility3.cli.text_filter module
- volatility3.cli.text_renderer module
- volatility3.cli.volargparse module
HelpfulArgParser
HelpfulArgParser.add_argument()
HelpfulArgParser.add_argument_group()
HelpfulArgParser.add_mutually_exclusive_group()
HelpfulArgParser.add_subparsers()
HelpfulArgParser.convert_arg_line_to_args()
HelpfulArgParser.error()
HelpfulArgParser.exit()
HelpfulArgParser.format_help()
HelpfulArgParser.format_usage()
HelpfulArgParser.get_default()
HelpfulArgParser.parse_args()
HelpfulArgParser.parse_intermixed_args()
HelpfulArgParser.parse_known_args()
HelpfulArgParser.parse_known_intermixed_args()
HelpfulArgParser.print_help()
HelpfulArgParser.print_usage()
HelpfulArgParser.register()
HelpfulArgParser.set_defaults()
HelpfulSubparserAction