fix relative dir calculation in extraactor hook

This commit is contained in:
Nick Sweeting 2024-10-03 04:16:42 -07:00
parent faa3f03edd
commit 3f986f09cc
No known key found for this signature in database

View file

@ -84,7 +84,7 @@ class BaseExtractor(BaseHook):
assert uplink.machine == installed_binary.machine # it would be *very* weird if this wasn't true
# output_dir = self.get_output_path(snapshot) or CONSTANTS.TMP_DIR
output_dir = CONSTANTS.TMP_DIR / 'test'
output_dir = CONSTANTS.DATA_DIR / '.tmp' / 'extractors' / self.name / str(snapshot.abid)
output_dir.mkdir(parents=True, exist_ok=True)
# execute the extractor binary with the given args