mirror of
https://github.com/volatilityfoundation/volatility
synced 2026-06-08 18:04:46 +00:00
Fixed so that we don't print out the list head as a possible hive. For details see: http://moyix.blogspot.com/2008/02/enumerating-registry-hives.html
This commit is contained in:
@@ -58,7 +58,7 @@ class HiveList(hs.HiveScan):
|
||||
hive_offsets = []
|
||||
|
||||
for hive in result:
|
||||
if hive.obj_offset not in hive_offsets:
|
||||
if hive.Hive.Signature == 0xbee0bee0 and hive.obj_offset not in hive_offsets:
|
||||
try:
|
||||
name = str(hive.FileFullPath or '') or str(hive.FileUserName or '') or str(hive.HiveRootPath or '') or "[no name]"
|
||||
except AttributeError:
|
||||
|
||||
Reference in New Issue
Block a user