Skip to content

Commit 07a3701

Browse files
author
V2RaySSR综合网
committed
feat: 更新RealiTLScanner配置和提醒信息
- 将线程数从10更新为100,提高扫描效率 - 添加本地运行建议和文件名更改提醒 - 统一更新所有相关文件:代码、文档、GitHub Actions - 确保用户获得一致的使用指导
1 parent 31d27f1 commit 07a3701

File tree

3 files changed

+24
-7
lines changed

3 files changed

+24
-7
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,18 @@ jobs:
100100
**推荐工作流程:**
101101
1. 使用 [RealiTLScanner](https://github.com/XTLS/RealiTLScanner) 扫描VPS IP:
102102
```bash
103-
./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv
103+
./RealiTLScanner -addr <VPS IP> -port 443 -thread 100 -timeout 5 -out file.csv
104104
```
105105
2. 使用本工具检测生成的CSV文件:
106106
```bash
107107
./reality-checker csv file.csv
108108
```
109109
110+
**⚠️ 重要提示:**
111+
- RealiTLScanner 尽量在本地运行,不要在远端
112+
- 多次运行RealiTLScanner时,请更改输出文件名,如:`file1.csv`、`file2.csv`、`file3.csv` 等
113+
- 如果使用相同的文件名,可能会导致文件导出失败或覆盖之前的扫描结果
114+
110115
### 版本信息
111116
- **版本**: ${{ steps.version.outputs.version }}
112117
- **提交**: ${{ github.sha }}

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,19 @@ go build -o reality-checker
129129

130130
**1. 使用RealiTLScanner扫描VPS IP:**
131131
```bash
132-
./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv
132+
./RealiTLScanner -addr <VPS IP> -port 443 -thread 100 -timeout 5 -out file.csv
133133
```
134134

135135
**2. 使用本工具检测生成的CSV文件:**
136136
```bash
137137
./reality-checker csv file.csv
138138
```
139139

140+
**⚠️ 重要提示:**
141+
- RealiTLScanner 尽量在本地运行,不要在远端
142+
- 多次运行RealiTLScanner时,请更改输出文件名,如:`file1.csv``file2.csv``file3.csv`
143+
- 如果使用相同的文件名,可能会导致文件导出失败或覆盖之前的扫描结果
144+
140145
### 查看帮助
141146

142147
```bash

internal/cmd/csv.go

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ func (r *RootCmd) executeCSV(csvFile string) {
1717
ui.PrintErrorWithDetails(
1818
fmt.Sprintf("错误:CSV文件不存在 '%s'", csvFile),
1919
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
20-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
21-
"(提示:RealiTLScanner 不要在VPS上面运行)",
20+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 100 -timeout 5 -out file.csv",
21+
"(提示:RealiTLScanner 尽量在本地运行,不要在远端)",
22+
"(重要:多次运行时请更改输出文件名,如 file1.csv、file2.csv 等)",
2223
)
2324
return
2425
}
@@ -38,7 +39,9 @@ func (r *RootCmd) executeCSV(csvFile string) {
3839
ui.PrintErrorWithDetails(
3940
fmt.Sprintf("错误:解析CSV文件失败: %v", err),
4041
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
41-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
42+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 100 -timeout 5 -out file.csv",
43+
"(提示:RealiTLScanner 尽量在本地运行,不要在远端)",
44+
"(重要:多次运行时请更改输出文件名,如 file1.csv、file2.csv 等)",
4245
)
4346
return
4447
}
@@ -47,7 +50,9 @@ func (r *RootCmd) executeCSV(csvFile string) {
4750
ui.PrintErrorWithDetails(
4851
"错误:CSV文件格式错误或为空",
4952
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
50-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
53+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 100 -timeout 5 -out file.csv",
54+
"(提示:RealiTLScanner 尽量在本地运行,不要在远端)",
55+
"(重要:多次运行时请更改输出文件名,如 file1.csv、file2.csv 等)",
5156
)
5257
return
5358
}
@@ -58,7 +63,9 @@ func (r *RootCmd) executeCSV(csvFile string) {
5863
ui.PrintErrorWithDetails(
5964
"错误:未找到有效的域名",
6065
"请使用 RealiTLScanner 工具扫描,得到 CSV 文件",
61-
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 10 -timeout 5 -out file.csv",
66+
"命令:./RealiTLScanner -addr <VPS IP> -port 443 -thread 100 -timeout 5 -out file.csv",
67+
"(提示:RealiTLScanner 尽量在本地运行,不要在远端)",
68+
"(重要:多次运行时请更改输出文件名,如 file1.csv、file2.csv 等)",
6269
)
6370
return
6471
}

0 commit comments

Comments
 (0)