Skip to content

Commit d464420

Browse files
committed
Plugins: fix svcdiff deprecation wrapper
1 parent 93defa1 commit d464420

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

volatility3/framework/plugins/windows/svcdiff.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,21 @@
44
import logging
55
from volatility3.framework import interfaces, deprecation
66
from volatility3.plugins.windows.malware import svcdiff
7+
from volatility3.plugins.windows import svcscan
78

89
vollog = logging.getLogger(__name__)
910

1011

1112
class SvcDiff(
12-
interfaces.plugins.PluginInterface,
13+
svcscan.SvcScan,
1314
deprecation.PluginRenameClass,
1415
replacement_class=svcdiff.SvcDiff,
1516
removal_date="2026-06-07",
1617
):
1718
"""Compares services found through list walking versus scanning to find rootkits (deprecated)."""
18-
19+
def __init__(self, *args, **kwargs):
20+
super().__init__(*args, **kwargs)
21+
self._enumeration_method = self.service_diff
1922
_required_framework_version = (2, 4, 0)
2023

2124
_version = (2, 0, 0)

0 commit comments

Comments
 (0)