diff --git a/cuckoo/common/files.py b/cuckoo/common/files.py index 9a23e846d0..283d7a4cca 100644 --- a/cuckoo/common/files.py +++ b/cuckoo/common/files.py @@ -149,10 +149,10 @@ def create(root, filename, content): filepath = os.path.join(root, filename) with open(filepath, "wb") as f: if hasattr(content, "read"): - chunk = content.read(1024) + chunk = content.read(1024 * 1024) while chunk: f.write(chunk) - chunk = content.read(1024) + chunk = content.read(1024 * 1024) else: f.write(content) return filepath