⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.116
Server IP:
97.74.87.16
Server:
Linux 16.87.74.97.host.secureserver.net 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.28
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
var
/
opt
/
nydus
/
ops
/
primordial
/
View File Name :
settings.py
# -*- coding: utf-8 -*- import os # user and group for atomic file (linux) writes (moves); can be set to "nobody" or any other linux file user name FILE_USER = None FILE_GROUP = None def get_file_user(): """Indirection for testing and settings""" return FILE_USER def get_file_group(): """Indirection for testing and settings""" return FILE_GROUP ZK_HOSTS = os.getenv("ZK_HOSTS", '127.0.0.1:2181') GD_ZKRUN_VIRTUALENV_PATH = os.getenv("GD_ZKRUN_VIRTUALENV_PATH") GD_ZKRUN_COMMAND = os.getenv("GD_ZKRUN_COMMAND") GD_ZKRUN_NAME = os.getenv("GD_ZKRUN_NAME") GD_ZKRUN_HOSTS = os.getenv("GD_ZKRUN_HOSTS", ZK_HOSTS) GD_ZKRUN_SERVICE_TYPE = os.getenv("GD_ZKRUN_SERVICE_TYPE") GD_ZKRUN_PORT = os.getenv("GD_ZKRUN_PORT") GD_ZKRUN_SSL_PORT = os.getenv("GD_ZKRUN_SSL_PORT") GD_ZKRUN_LOCATIONS = os.getenv("GD_ZKRUN_LOCATIONS") # NB: these are HFS-y, but I'm leaving them in since they are overridable. For now. -EA SSL_PRIVATE_KEY = os.getenv("SSL_PRIVATE_KEY", '/opt/hfs/ssl/server.key') SSL_CERTIFICATE = os.getenv("SSL_CERTIFICATE", '/opt/hfs/ssl/server.crt') SSL_CA_LIST = os.getenv("SSL_CA_LIST", '/opt/hfs/ssl/client-trust-chain.crt') try: from local_settings import * # pylint: disable=W0401 except ImportError: pass