Files
dsh_ai1net_server/归档/域名迁移_ai1net_20260919/recon47c.sh
T
admin ce8e6ceed9 chore(工作区): 纳入版本控制基线(回收 411 MB 过程产物)
回收 411 MB(470 M → 58.8 M),全部经回收站,可恢复:
- 待清理/(146.2 M,含 relay 分片 128 M 与 42 项过程目录)
- tmp/(32.4 M,按接续棒命名的过程临时区)
- .workbuddy/tmp/(39.5 M)
- 4 份 workbuddy.db 冗余副本(101 M,09-23 事故的坏副本 / 抢救产物)
- tmp/im16/gw/centrifugo 二进制(63.9 M,可重下)+ 缓存残留

入库范围:常驻规则(CODEBUDDY.md / README.md / state.py)、在途接续入口与
接续包、docs/、交付物/、交接单/、归档/、scripts/、.codebuddy/、
.workbuddy/memory/;共 398 件,其中 >60 KB 的 26 件全为文档。

排除(.gitignore):tmp/、待清理/、运行态日志与缓存、*.db 与 DB 备份整目录、
打包二进制(*.tar.gz / *.tgz)、记忆修复前备份。
2026-09-24 07:51:03 +08:00

30 lines
1.9 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
set +e
C=/www/server/panel/vhost/cert
echo "=== [B2] 证书目录实际文件 ==="
ls -la "$C/alotbuy.com/" 2>/dev/null | head -12
echo "--- 证书信息(取第一个 pem) ---"
for f in "$C/alotbuy.com"/*.pem; do [ -f "$f" ] && { echo "FILE: $f"; openssl x509 -in "$f" -noout -subject -issuer -dates 2>/dev/null; openssl x509 -in "$f" -noout -ext subjectAltName 2>/dev/null | tail -3; break; }; done
echo "=== [A2] alotbuy.com.conf 的 443 段 ==="
awk '/listen 443/,0' /www/server/panel/vhost/nginx/alotbuy.com.conf 2>/dev/null | grep -vE "set_real_ip_from|^$" | head -45
echo "=== [C2] 活动 lib/web 里 alotbuy 具体行 ==="
grep -rn "alotbuy" /opt/dshs/lib /opt/dshs/web 2>/dev/null | head -12
grep -n "alotbuy" /opt/dshs/package.json 2>/dev/null | head -4
echo "=== [D] ai1net 命中 ==="
grep -rl "ai1net" /opt/dshs 2>/dev/null | head -8
echo "=== [E] /etc/dshs.env 全部键名(只报键,不报值) ==="
grep -oE "^[A-Za-z_][A-Za-z0-9_]*" /etc/dshs.env 2>/dev/null | sort -u | tr '\n' ' ' | head -c 1200
echo
grep -inE "domain|origin|portal|cookie|url" /etc/dshs.env 2>/dev/null | sed 's/=.*/=<值已隐藏>/' | head -12
echo "=== [F] BT DNS 凭据存在性 ==="
for p in /www/server/panel/data/dns_accounts.json /root/.acme.sh/account.conf /www/server/panel/config/panel.json; do
[ -f "$p" ] && echo "存在: $p ($(wc -c < "$p") B)" || echo "不存在: $p"
done
echo "=== [G] relay-direct.conf server_name ==="
grep -nE "server_name|listen|proxy_pass" /www/server/panel/vhost/nginx/relay-direct.conf 2>/dev/null | head -12
echo "=== [H] dsh.alotbuy.com.conf 是否仍在生效 ==="
grep -nE "server_name|listen|proxy_pass|root " /www/server/panel/vhost/nginx/dsh.alotbuy.com.conf 2>/dev/null | head -14
echo "=== [I] nginx -T 里 alotbuy 出现次数 ==="
nginx -T 2>/dev/null | grep -c "alotbuy"
echo "=== [J] 80/443 监听 ==="
ss -lntp 2>/dev/null | grep -E ":443 |:80 " | head -6