mirror of
https://github.com/hanzoui/custom-nodes-security-scan.git
synced 2026-10-30 20:56:54 +00:00
17 lines
575 B
Python
17 lines
575 B
Python
# Copyright (C) 2014-2016 Cuckoo Foundation.
|
|
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
|
|
# See the file 'docs/LICENSE' for copying permission.
|
|
|
|
import os
|
|
import tempfile
|
|
from lib.common.utils import random_string
|
|
|
|
ROOT = os.path.join(tempfile.gettempdir(), random_string(6, 10))
|
|
|
|
PATHS = {"root" : ROOT,
|
|
"logs" : os.path.join(ROOT, "logs"),
|
|
"files" : os.path.join(ROOT, "files"),
|
|
"shots" : os.path.join(ROOT, "shots"),
|
|
"memory" : os.path.join(ROOT, "memory"),
|
|
"drop" : os.path.join(ROOT, "drop")}
|