Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Simple SOCKS5 Proxy Checker

A fast concurrent SOCKS5 proxy checker for proxies with authentication (username and password). Written in Go.

Features

  • 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)

Usage

  1. 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
      ...
      
  2. Run the checker:

    go run checksock.go proxies.txt
    • The script will print the status of each proxy and a summary at the end.

Output Example

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

Requirements

Install the dependency if needed:

go get golang.org/x/net/proxy

Notes

  • 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.

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages