Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from cado-security/cdoman/subfolder_collected_…
Browse files Browse the repository at this point in the history
…files

10 - Collect files in a subfolder
  • Loading branch information
chrisdoman authored Sep 30, 2022
2 parents 3e796c3 + 3b7c994 commit 33d7637
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion varc_core/systems/base_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def acquire_volatile(self, output_path: Optional[str] = None) -> str:
logging.warning(f"Skipping file as too large {file_path}")
else:
try:
zip_file.write(file_path, strip_drive(file_path))
zip_file.write(file_path, strip_drive(f"./collected_files/{file_path}"))
except PermissionError:
logging.warn(f"Permission denied copying {file_path}")
except FileNotFoundError:
Expand Down

0 comments on commit 33d7637

Please sign in to comment.