diff --git a/volatility/framework/interfaces/plugins.py b/volatility/framework/interfaces/plugins.py index 30d779b55..8d296ef7b 100644 --- a/volatility/framework/interfaces/plugins.py +++ b/volatility/framework/interfaces/plugins.py @@ -57,8 +57,9 @@ class PluginInterface(interfaces_configuration.ConfigurableInterface, validity.V :rtype: interfaces.renderers.TreeGrid """ - def __call__(self, **kwargs): + def __call__(self, method = 'run', **kwargs): """Method to make a plugin callable. It must still have been instantiated with a context and a config_path""" for k, v in kwargs: self.config[k] = v - return self.run() + method = getattr(self, method) + return method()