Skip to content

Commit

Permalink
Worked on script to check artifact definitions (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz authored Feb 20, 2022
1 parent e27d7fe commit 9a0faf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion artifactsrc/volume_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def _ReadStructureFromFileObject(
"""
structure_values = None

data_size = data_type_map.GetByteSize()
data_size = data_type_map.GetSizeHint()
if data_size:
file_object.seek(file_offset, os.SEEK_SET)
try:
Expand Down
3 changes: 3 additions & 0 deletions data/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ formats: ['regf']
name: WindowsScheduledTasks
formats: ['job']
---
name: WindowsSearchDatabase
formats: ['esedb']
---
name: WindowsSystemRegistryFiles
formats: ['regf']
---
Expand Down

0 comments on commit 9a0faf2

Please sign in to comment.