侧边栏壁纸
  • 累计撰写 7 篇文章
  • 累计创建 9 个标签
  • 累计收到 0 条评论

目 录CONTENT

文章目录

check-fn-files

Admin
2026-01-31 / 0 评论 / 0 点赞 / 3 阅读 / 0 字
温馨提示:
部分素材来自网络,若不小心影响到您的利益,请联系我们删除。

简单ai了个代码监测飞牛有没有被黑

代码详情:

#!/bin/bash
GREEN='\033[0;32m'
RED='\033[0;31m'
NC='\033[0m' # No Color
echo "========== 文件检查结果 =========="
for file in /usr/sbin/gots /usr/bin/nginx /usr/trim/bin/trim_https_cgi; 
do
    if [ -f "$file" ]; then
        echo -e "${GREEN}[✓ 存在]${NC} $file"
    else
        echo -e "${RED}[✗ 缺失]${NC} $file"
    fi
done
echo "================================="

手动使用:

vim check_files.sh #粘贴代码进去,esc+:wq保存
chmod +x check_files.sh
sudo ./check_files.sh

联网在线使用:

Curl

curl -fsSL https://d.vekixx.com/Code/check_files.sh | bash

Wget

wget -qO- https://d.vekixx.com/Code/check_files.sh | bash

大神的自动化工具

https://gist.github.com/luodaoyi/3317b3b584ce173bff15d76e7797bcda

使用

联网在线使用:

Curl

curl -fsSL https://d.vekixx.com/Code/fnos_security_fix.sh | bash

Wget

wget -qO- https://d.vekixx.com/Code/fnos_security_fix.sh | bash

手动使用:

vim fnos_security_fix.sh #粘贴代码进去,esc+:wq保存
chmod +x fnos_security_fix.sh
sudo ./fnos_security_fix.sh

源代码

前往https://d.vekixx.com/Code/fnos_security_fix.sh下载查看

0

评论区