Open einar-lanfranco opened 3 years ago
Did you try to add :
_required_framework_version = (2, 0, 0)
in the SSHKeys class ?
I think you'll encounter other issues down the line because of compatibility... Take a look at my pull request (managed to make the plugin work in one case)
I have this issue :
python3 vol.py -vv
Volatility 3 Framework 2.7.1
INFO volatility3.cli: Volatility plugins path: ['/home/kali/volatility3/volatility3/plugins', '/home/kali/volatility3/volatility3/framework/plugins']
INFO volatility3.cli: Volatility symbols path: ['/home/kali/volatility3/volatility3/symbols', '/home/kali/volatility3/volatility3/framework/symbols']
DEBUG volatility3.framework: Traceback (most recent call last):
File "/home/kali/volatility3/volatility3/framework/init.py", line 185, in import_file
importlib.import_module(module)
File "/usr/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
DEBUG volatility3.framework: Failed to import module volatility3.plugins.linux.openssh_sessionkeys based on file: /home/kali/volatility3/volatility3/framework/plugins/linux/openssh_sessionkeys.py INFO volatility3.cli: The following plugins could not be loaded (use -vv to see why): volatility3.plugins.linux.openssh_sessionkeys usage: volatility [-h] [-c CONFIG] [--parallelism [{processes,threads,off}]] [-e EXTEND] [-p PLUGIN_DIRS] [-s SYMBOL_DIRS] [-v] [-l LOG] [-o OUTPUT_DIR] [-q] [-r RENDERER] [-f FILE] [--write-config] [--save-config SAVE_CONFIG] [--clear-cache] [--cache-path CACHE_PATH] [--offline] [--filters FILTERS] [--single-location SINGLE_LOCATION] [--stackers [STACKERS ...]] [--single-swap-locations [SINGLE_SWAP_LOCATIONS ...]] plugin ... volatility: error: Please select a plugin to run
And the plugin it's modified like this :
import volatility3.plugins.common as common import volatility3.commands as commands import volatility3.utils as utils import volatility3.obj as obj import volatility3.plugins.linux.common as linux_common import volatility3.plugins.linux import volatility3.plugins.linux.pslist as linux_pslist from volatility3.renderers import TreeGrid from volatility3.renderers.basic import Address import volatility3.debug as debug
To install it y copied OpenSSH-Session-Key-Recovery/volatility3/* into volatility3/volatility/plugins/linux/
After that i run it and get this error.
Could you help me? Thanks