A fast concurrent SOCKS5 proxy checker for proxies with authentication (username and password). Written in Go.
- Checks SOCKS5 proxies with username:password authentication
- Highly concurrent (default: 80 workers)
- Measures latency for each working proxy
- Sorts working proxies by speed
- Simple output: working/dead proxies, error reason, and summary
- Input format:
ip:port:user:pass(one per line)
-
Prepare your proxy list:
-
Create a text file (e.g.,
proxies.txt) with one proxy per line in the format:127.0.0.1:1080:user:pass 192.168.1.2:1080:username:password ...
-
-
Run the checker:
go run checksock.go proxies.txt
- The script will print the status of each proxy and a summary at the end.
Checking 2 authenticated SOCKS5 proxies...
✅ WORKING 127.0.0.1:1080:user:pass → 12ms
❌ DEAD 192.168.1.2:1080:username:password → timeout
=== FINAL RESULT ===
Total checked : 2
Working : 1
Working proxies (sorted by speed):
127.0.0.1:1080:user:pass → 12ms
- Go 1.18 or newer
- golang.org/x/net/proxy
Install the dependency if needed:
go get golang.org/x/net/proxy
- Only supports SOCKS5 proxies with authentication (username and password).
- Ignores lines starting with
#or empty lines in the proxy list. - Timeout for each proxy is set to 12 seconds by default.
MIT