mirror of
https://github.com/hanzoui/custom-nodes-security-scan.git
synced 2026-10-30 20:56:54 +00:00
47 lines
1.6 KiB
Python
47 lines
1.6 KiB
Python
# Copyright (C) 2013 Claudio Guarnieri.
|
|
# Copyright (C) 2014-2017 Cuckoo Foundation.
|
|
# This file is part of Cuckoo Sandbox - http://www.cuckoosandbox.org
|
|
# See the file 'docs/LICENSE' for copying permission.
|
|
|
|
import web.errors
|
|
|
|
# Maximum upload size (10GB, so there's basically no limit).
|
|
MAX_UPLOAD_SIZE = 10 * 1024 * 1024 * 1024
|
|
|
|
# Override default secret key stored in $CWD/web/.secret_key
|
|
# Make this unique, and don't share it with anybody.
|
|
# SECRET_KEY = "YOUR_RANDOM_KEY"
|
|
|
|
# Language code for this installation. All choices can be found here:
|
|
# http://www.i18nguy.com/unicode/language-identifiers.html
|
|
LANGUAGE_CODE = "en-us"
|
|
|
|
ADMINS = (
|
|
# ("Your Name", "[email protected]"),
|
|
)
|
|
|
|
MANAGERS = ADMINS
|
|
|
|
# Allow verbose debug error message in case of application fault.
|
|
# It's strongly suggested to set it to False if you are serving the
|
|
# web application from a web server front-end (i.e. Apache).
|
|
DEBUG = False
|
|
DEBUG404 = False
|
|
|
|
# A list of strings representing the host/domain names that this Django site
|
|
# can serve.
|
|
# Values in this list can be fully qualified names (e.g. 'www.example.com').
|
|
# When DEBUG is True or when running tests, host validation is disabled; any
|
|
# host will be accepted. Thus it's usually only necessary to set it in production.
|
|
ALLOWED_HOSTS = ["*"]
|
|
|
|
handler404 = web.errors.handler404
|
|
handler500 = web.errors.handler500
|
|
|
|
#A list of strings representing the subnets or ipaddresses that can download
|
|
#samples and dropped files
|
|
#Values in this list can be ipv4 or ipv6 separated by ","
|
|
#(e.g. '127.0.0.0/8,10.0.0.0/8,fd00::/8').
|
|
ALLOWED_FILEDOWNLOAD_SUBNETS = '127.0.0.0/8,10.0.0.0/8,fd00::/8'
|
|
|