-
Notifications
You must be signed in to change notification settings - Fork 9
v2rayChecker
Mahdi Heidari edited this page Feb 8, 2023
·
1 revision
usage: v2rayChecker [-h] [-f FILE] [-d DOMAIN] [-t TIMEOUT] [-l LPORT] [-v] [-vv] [-T THREADS] [-x]
[--t2exec T2EXEC] [--t2kill T2KILL] [--url URL] [--free] [--stdin] [--reuse] [-o OUTPUT]
Simple proxy checker
options:
-h, --help show this help message and exit
-f FILE, --file FILE file contain proxy
-d DOMAIN, --domain DOMAIN
test connect domain
-t TIMEOUT, --timeout TIMEOUT
timeout in seconds, default is 3
-l LPORT, --lport LPORT
start local port, default is 1080
-v, --verbose increase output verbosity
-vv, --debug debug log
-T THREADS, --threads THREADS
threads number, default is 10
-x, --xray use xray core instead v2ray
--t2exec T2EXEC time to execute v2ray, default is 1
--t2kill T2KILL time to kill v2ray, default is 0.1
--url URL get proxy from url
--free get free proxy
--stdin get proxy from stdin
--reuse reuse last checked proxy
-o OUTPUT, --output OUTPUT
output file
example :
- fast checkout live proxy:
or :
v2rayChecker -T 50 -f servers.txt
cat servers.txt | v2rayChecker -T 50 --stdin
- for check proxy in
proxy.txt
with 50 thread and 3sec timeout with specific domain with xray core:v2rayChecker --domain http://cp.cloudflare.com --timeout 3 -T 50 -x -f proxy.txt
- for check proxy from specific url:
v2rayChecker --url 'https://www.site.xyz/servers.txt'
- get and check some free proxy:
v2rayChecker --free
tip: better to use a fixed IP address instead of fully qualified domain name (FQDN), cuz a FQDN would require a DNS lookup. When the machine does not have a working internet connection, the DNS lookup itself may block for more than a second. (stackoverflow)
- find a current IP address for google.com (on unix) by running :
% dig +noall +answer google.com ... google.com. 300 IN A 216.58.192.142
🕊️ Woman, Life, Freedom | Home