INNER CODE UNIT · Python
StrToBool
loxy0devlp/RedTiger-Tools · Config/Utils.py:40
def StrToBool(value): return value == "True"
with open(path_file_credits, "r", encoding="utf-8") as file: data_credits = json.load(file)
with open(path_file_version_settings, "r", encoding="utf-8") as file: data_version_settings = json.load(file)
with open(path_file_default_parameters, "r", encoding="utf-8") as file: data_default_parameters = json.load(file)
with open(path_file_ports, "r", encoding="utf-8") as file: data_ports = json.load(file)
with open(path_file_default_ports, "r", encoding="utf-8") as file: data_default_ports = json.load(file)
with open(path_file_vulnerability_errors, "r", encoding="utf-8") as file: data_vulnerability_errors = json.load(file)
with open(path_file_vulnerability_payloads, "r", encoding="utf-8") as file: data_vulnerability_payloads = json.load(file)
with open(path_file_vulnerability_sensitive_paths, "r", encoding="utf-8") as file: data_vulnerability_sensitive_paths = json.load(file)
with open(path_file_username_tracker_plateforms, "r", encoding="utf-8") as file: data_username_tracker_plateforms = json.load(file)
tool_name, tool_version, tool_license, tool_github, developer, website, telegram, gunslol = (
data_credits.get("tool_name", None),
data_credits.get("tool_version", None),
data_credits.get("tool_license", None),
data_credits.get("tool_github", None),
data_credits.get("developer", None),