电报防广告机器人 新成员入群时ID小于2B免验证 在群内发言时ID小于8B免验证 查看相关主题: antispam Telegram 之前, 为了防广告机器人, 我面向GPT开发了两个电报telegram机器人. 一个是加群时的验证. https://github.com/crazypeace/tg-join-group-exam-bot 一个是发言时的验证. https://github.com/crazypeace/tg-send-msg-exam-bot 用了一段时间, 确实防广告的效果很好. 但是, 也有群友报怨说, 连着验证2次 机器人功能坏了. 没人想到这是两个不同的机器人. Read more »
bash -x打印日志中断 用BASH_XTRACEFD=3输出完整的bash -x日志 查看相关主题: shell TL;DR exec 3> bashx运行日志.log; BASH_XTRACEFD=3 bash -x 需要解密的脚本.sh Read more »
用指定版本的233boy sing-box脚本安装指定版本的sing-box内核 GitHub fork并指定版本tag 查看相关主题: 233boy 翻墙 Github 前言 sing-box 在最近的几个版本 配置文件的语法有改动, 而且不向后兼容. 也就是说, 旧版本的配置文件用在新版本的内核, 会报错. Read more »
电报telegram 不是公开群组的群成员也可以发送贴纸? 查看相关主题: Telegram 在 https://t.me/sing_box_community 公开群中, https://t.me/threecolordummy 用户 不是 群成员member 但是我发现 TA 可以在群里发送贴纸 Read more »
在受限的VPS环境下 使用233boy的sing-box脚本 查看相关主题: 233boy 翻墙 在233boy的群里, 总是遇到有人在受限的VPS环境下安装失败. 看了不少失败的案例, 一般是2个原因: 1. 访问github资源失败 2. 检测服务器IP失败 LT; DR 安装命令 bash <(wget -qO- https://gh-proxy.org/ https://github.com/233boy/sing-box/raw/main/install.sh | sed s#one\.one\.one\.one#www.cloudflare.com#gi) 维护, 在安装完成之后 find /etc/sing-box/sh -type f -name "*.sh" -exec sed -i 's#one\.one\.one\.one/dns-query#dns.alidns.com/resolve#gi' {} + find /etc/sing-box/sh -type f -name "*.sh" -exec sed -i 's#one\.one\.one\.one#www.cloudflare.com#gi' {} + Read more »