Skip to content

Commit

Permalink
Add package_files path to allowed uploadable paths
Browse files Browse the repository at this point in the history
In resultserver.py, add 'package_files' to the list of uploadable paths.
This path is used in 'analyzer.py' (both linux and windows versions) when
uploading files reported by the 'package_files' method.
  • Loading branch information
omeranson committed May 13, 2020
1 parent 6d7df64 commit 8e472fc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cuckoo/core/resultserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@

# Directories in which analysis-related files will be stored; also acts as
# whitelist
RESULT_UPLOADABLE = ("files", "shots", "buffer", "extracted", "memory")
RESULT_UPLOADABLE = ("files", "shots", "buffer", "extracted", "memory",
"package_files")
RESULT_DIRECTORIES = RESULT_UPLOADABLE + ("reports", "logs")

# Prevent malicious clients from using potentially dangerous filenames
Expand Down

0 comments on commit 8e472fc

Please sign in to comment.