diff --git a/config/check_config.py b/config/check_config.py index 21a75d7..e0ccf8f 100644 --- a/config/check_config.py +++ b/config/check_config.py @@ -20,7 +20,7 @@ def get_core_config(): debug = config.get('debug', 'False') # 使用 get 方法提供默认值 if str(debug).lower() == "true": # 统一转换为小写进行比较 logger.debug("Debug mode is on") - logger.debug(f"Loaded config: {config}") # 输出加载的配置 + # logger.debug(f"Loaded config: {config}") # 输出加载的配置,可能导致密钥泄露,请勿取消注释 time_choice = int(f"{config['time_mode']}") choice = config['mode'] # 假设 mode 是一个列表 diff --git a/index.php b/index.php index bfbeeea..023cc43 100644 --- a/index.php +++ b/index.php @@ -556,7 +556,7 @@ if ($db) { - 资讯推送Web端 + SecPulse Web端 diff --git a/install.sh b/install.sh index 6b50bd7..6b2fe30 100644 --- a/install.sh +++ b/install.sh @@ -5,6 +5,16 @@ set -e BASE_DIR=$(cd "$(dirname "$0")"; pwd) USER_NAME=$(whoami) +ehco -e "███████ ███████ ██████ ██████ ██ ██ ██ ███████ ███████ +██ ██ ██ ██ ██ ██ ██ ██ ██ ██ +███████ █████ ██ ██████ ██ ██ ██ ███████ █████ + ██ ██ ██ ██ ██ ██ ██ ██ ██ +███████ ███████ ██████ ██ ██████ ███████ ███████ ███████ + + " + +echo "欢迎使用 SecPulse 赛博脉动监控推送系统" + echo "项目路径: $BASE_DIR" # 检测 Python @@ -45,9 +55,9 @@ else fi # 创建 systemd 服务 -sudo tee /etc/systemd/system/PyBot.service > /dev/null < /dev/null < - 程序运行日志 + + SecPulse运行日志