MCPcopy Create free account
hub / github.com/dedsec1121fk/DedSec / network_disable_tor

Function network_disable_tor

Scripts/Settings.py:7420–7427  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7418 '__SPONSORS_GREEK_FOLDER_NAME__': repr(SPONSORS_GREEK_FOLDER_NAME),
7419 '__DEDSEC_OS_ROOT__': repr(DEDSEC_OS_ROOT),
7420 }
7421 for token, value in replacements.items():
7422 server_template = server_template.replace(token, value)
7423 return textwrap.dedent(server_template).lstrip()
7424
7425
7426def ensure_dedsec_os_files():
7427 os.makedirs(DEDSEC_OS_ROOT, exist_ok=True)
7428 os.makedirs(DEDSEC_OS_RUNTIME_DIR, exist_ok=True)
7429 if not os.path.exists(DEDSEC_OS_CONFIG_PATH):
7430 with open(DEDSEC_OS_CONFIG_PATH, 'w', encoding='utf-8') as handle:

Callers 1

network_utilities_menuFunction · 0.70

Calls 6

printFunction · 0.85
network_load_configFunction · 0.70
network_stop_torFunction · 0.70
network_save_configFunction · 0.70
_Function · 0.70

Tested by

no test coverage detected