Plugins: fix svcdiff deprecation wrapper

This commit is contained in:
SolitudePy
2025-06-07 17:32:54 +03:00
parent 93defa112c
commit d4644208a9
@@ -4,18 +4,21 @@
import logging
from volatility3.framework import interfaces, deprecation
from volatility3.plugins.windows.malware import svcdiff
from volatility3.plugins.windows import svcscan
vollog = logging.getLogger(__name__)
class SvcDiff(
interfaces.plugins.PluginInterface,
svcscan.SvcScan,
deprecation.PluginRenameClass,
replacement_class=svcdiff.SvcDiff,
removal_date="2026-06-07",
):
"""Compares services found through list walking versus scanning to find rootkits (deprecated)."""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self._enumeration_method = self.service_diff
_required_framework_version = (2, 4, 0)
_version = (2, 0, 0)