mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-17 20:35:40 +02:00
Prepare core plugins for moving into the framework namespace.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
import os
|
||||
import sys
|
||||
|
||||
from PyInstaller.building.api import PYZ, EXE
|
||||
from PyInstaller.building.build_main import Analysis
|
||||
from PyInstaller.utils.hooks import collect_submodules, collect_data_files
|
||||
|
||||
block_cipher = None
|
||||
@@ -15,9 +17,11 @@ a = Analysis(['vol.py'],
|
||||
pathex = [],
|
||||
binaries = [],
|
||||
datas = collect_data_files('volatility.framework') + \
|
||||
collect_data_files('volatility.framework.plugins', include_py_files = True) + \
|
||||
collect_data_files('volatility.schemas') + \
|
||||
collect_data_files('volatility.plugins', include_py_files = True),
|
||||
hiddenimports = collect_submodules('volatility.plugins'),
|
||||
hiddenimports = collect_submodules('volatility.framework.plugins') + \
|
||||
collect_submodules('volatility.plugins'),
|
||||
hookspath = [],
|
||||
runtime_hooks = [],
|
||||
excludes = [],
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
"""All core generic plugins
|
||||
|
||||
These modules should only be imported from volatility.plugins NOT volatility.framework.plugins
|
||||
"""
|
||||
|
||||
import logging
|
||||
import typing
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
"""All core linux plugins
|
||||
|
||||
These modules should only be imported from volatility.plugins NOT volatility.framework.plugins
|
||||
"""
|
||||
@@ -0,0 +1,4 @@
|
||||
"""All core windows plugins
|
||||
|
||||
These modules should only be imported from volatility.plugins NOT volatility.framework.plugins
|
||||
"""
|
||||
@@ -0,0 +1,4 @@
|
||||
"""All core windows registry plugins
|
||||
|
||||
These modules should only be imported from volatility.plugins NOT volatility.framework.plugins
|
||||
"""
|
||||
@@ -1 +1,9 @@
|
||||
"""All Linux-related plugins"""
|
||||
|
||||
import os
|
||||
|
||||
from volatility.framework import constants
|
||||
|
||||
# This is necessary to ensure the core plugins are available, whilst still be overridable
|
||||
plugin_path_components = __name__.split('.')[2:]
|
||||
__path__ = [os.path.join(x, *plugin_path_components) for x in constants.PLUGINS_PATH]
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
"""All Windows OS plugins"""
|
||||
|
||||
import os
|
||||
|
||||
from volatility.framework import constants
|
||||
|
||||
# This is necessary to ensure the core plugins are available, whilst still be overridable
|
||||
plugin_path_components = __name__.split('.')[2:]
|
||||
__path__ = [os.path.join(x, *plugin_path_components) for x in constants.PLUGINS_PATH]
|
||||
|
||||
@@ -1 +1,9 @@
|
||||
"""Windows registry plugins"""
|
||||
|
||||
import os
|
||||
|
||||
from volatility.framework import constants
|
||||
|
||||
# This is necessary to ensure the core plugins are available, whilst still be overridable
|
||||
plugin_path_components = __name__.split('.')[2:]
|
||||
__path__ = [os.path.join(x, *plugin_path_components) for x in constants.PLUGINS_PATH]
|
||||
|
||||
Reference in New Issue
Block a user