diff --git a/web/analysis/views.py b/web/analysis/views.py index 894d2c018e7..7beee2909f7 100644 --- a/web/analysis/views.py +++ b/web/analysis/views.py @@ -1858,7 +1858,7 @@ def file(request, category, task_id, dlfile): if not isinstance(path, list): path = [path] if USE_SEVENZIP: - zip_path = os.path.join(CUCKOO_ROOT, "storage", "analysis", f"{task_id}", f"{file_name}.zip") + zip_path = os.path.join(CUCKOO_ROOT, "storage", "analyses", f"{task_id}", f"{file_name}.zip") sevenZipArgs = [SEVENZIP_PATH, f"-p{settings.ZIP_PWD.decode()}", "a", zip_path] sevenZipArgs.extend(path) try: diff --git a/web/apiv2/views.py b/web/apiv2/views.py index a07fe237df3..089e0ab2356 100644 --- a/web/apiv2/views.py +++ b/web/apiv2/views.py @@ -1796,7 +1796,7 @@ def tasks_procmemory(request, task_id, pid="all"): return Response(resp) parent_folder = os.path.dirname(srcdir) - analysis_dir = os.path.join(CUCKOO_ROOT, "storage", "analysis", f"{task_id}") + analysis_dir = os.path.join(CUCKOO_ROOT, "storage", "analyses", f"{task_id}") if pid == "all": if not apiconf.taskprocmemory.get("all"): resp = {"error": True, "error_value": "Downloading of all process memory dumps is disabled"}