Skip to content

Commit 1440421

Browse files
committed
fix: bug that only test 10 servers
1 parent f0787f4 commit 1440421

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ this will create a temporary xray server for you
3131
you can use the following reality link:
3232

3333
```
34-
vless://hiddify@SERVER_IP:11443/?fp=chrome&security=reality&pbk=Z84J2IelR9ch3k8VtlVhhs5ycBUlXA7wHBWcBrjqnAw&sid=6ba85179e30d4fc2&sni=www.google.com&type=tcp&flow=xtls-rprx-vision&encryption=none#Hiddify
34+
vless://hiddify@SERVER_IP:11443/?fp=chrome&security=reality&pbk=Z84J2IelR9ch3k8VtlVhhs5ycBUlXA7wHBWcBrjqnAw&sid=6ba85179e30d4fc2&sni=www.yahoo.com&type=tcp&flow=xtls-rprx-vision&encryption=none#Hiddify
3535
```
3636

3737
## Install it from PyPI

domains.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
www.google.com
2+
www.speedtest.net
3+
www.cloudflare.com
4+
cp.cloudflare.com
15
www.iransocialforum.org
26
www.irdiplomacy.ir
37
www.khabaronline.ir

hiddify_reality_scanner/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def main():
116116

117117
# Add the command-line arguments
118118
parser.add_argument("reality_link", help="Vless Reality link")
119-
parser.add_argument("--jobs",required=False,default=4, type=int,help="Number of concurrent requests (default=4)")
119+
parser.add_argument("--jobs",required=False,default=5, type=int,help="Number of concurrent requests (default=4)")
120120
# parser.add_argument("--server_address", required=False, help="Server address")
121121
# parser.add_argument("--server_port", required=False, type=int, help="Server port")
122122
# parser.add_argument("--uuid", required=False, help="UUID")
@@ -197,7 +197,7 @@ def run_in_parallel(data,domains,num_cpu_cores=4):
197197
partial_task = partial(test_domain, data)
198198

199199
# Use the pool to run the tasks in parallel with variable parameters
200-
results = pool.map(partial_task, domains[0:10])
200+
results = pool.map(partial_task, domains)
201201
return results
202202

203203
def test_domain(data, domain):

server_config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"network": "tcp",
2121
"security": "reality",
2222
"realitySettings": {
23-
"dest": "www.google.com:443",
23+
"dest": "www.yahoo.com:443",
2424
"serverNames": [],
2525
"privateKey": "2KZ4uouMKgI8nR-LDJNP1_MHisCJOmKGj9jUjZLncVU",
2626
"shortIds": [ "6ba85179e30d4fc2"]

0 commit comments

Comments
 (0)