mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 17:57:38 +02:00
#457 - filter hives for getsids and getservicesids
This commit is contained in:
@@ -62,13 +62,14 @@ class GetServiceSIDs(interfaces.plugins.PluginInterface):
|
||||
|
||||
def _generator(self):
|
||||
|
||||
# Go all over the hives
|
||||
# Get the system hive
|
||||
for hive in hivelist.HiveList.list_hives(context = self.context,
|
||||
base_config_path = self.config_path,
|
||||
layer_name = self.config['primary'],
|
||||
symbol_table = self.config['nt_symbols'],
|
||||
filter_string = 'machine\\system',
|
||||
hive_offsets = None):
|
||||
# Get ConrolSet\Services.
|
||||
# Get ControlSet\Services.
|
||||
try:
|
||||
services = hive.get_key(r"CurrentControlSet\Services")
|
||||
except (KeyError, exceptions.InvalidAddressException):
|
||||
|
||||
@@ -81,6 +81,7 @@ class GetSIDs(interfaces.plugins.PluginInterface):
|
||||
base_config_path = self.config_path,
|
||||
layer_name = self.config['primary'],
|
||||
symbol_table = self.config['nt_symbols'],
|
||||
filter_string = 'config\\software',
|
||||
hive_offsets = None):
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user