██████╗ ██████╗ ██████╗ ██╗ ██╗██╗ ██╗ ██████╗██╗ ██╗███████╗ ██████╗██╗ ██╗███████╗██████╗
██╔══██╗██╔══██╗██╔═══██╗╚██╗██╔╝╚██╗ ██╔╝ ██╔════╝██║ ██║██╔════╝██╔════╝██║ ██╔╝██╔════╝██╔══██╗
██████╔╝██████╔╝██║ ██║ ╚███╔╝ ╚████╔╝ ██║ ███████║█████╗ ██║ █████╔╝ █████╗ ██████╔╝
██╔═══╝ ██╔══██╗██║ ██║ ██╔██╗ ╚██╔╝ ██║ ██╔══██║██╔══╝ ██║ ██╔═██╗ ██╔══╝ ██╔══██╗
██║ ██║ ██║╚██████╔╝██╔╝ ██╗ ██║ ╚██████╗██║ ██║███████╗╚██████╗██║ ██╗███████╗██║ ██║
╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
By 0x1Jar
A collection of Python scripts for checking and validating HTTP and SOCKS5 proxies.
- Support for both HTTP and SOCKS5 proxy checking
- Concurrent proxy testing using thread pools
- Multiple input file formats supported (TXT, CSV, JSON)
- Detailed output with response times
- Saves working proxies to separate files
- Progress tracking during checks
pysocks==1.7.1
requests==2.31.0- Clone this repository:
git clone https://github.com/yourusername/proxy-checker.git
cd proxy-checker- Install required packages:
pip install -r requirements.txtThere are two ways to use this tool:
python main.pyThis provides an interactive menu where you can:
- Choose proxy type:
- Option 1: HTTP/HTTPS Proxies
- Option 2: SOCKS5 Proxies
- Option 3: Exit
- Enter the path to your proxy file when prompted
██╗ ██╗████████╗████████╗██████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗██╗ ██╗
██║ ██║╚══██╔══╝╚══██╔══╝██╔══██╗ ██╔══██╗██╔══██╗██╔═══██╗╚██╗██╔╝╚██╗ ██╔╝
███████║ ██║ ██║ ██████╔╝ ██████╔╝██████╔╝██║ ██║ ╚███╔╝ ╚████╔╝
██╔══██║ ██║ ██║ ██╔═══╝ ██╔═══╝ ██╔══██╗██║ ██║ ██╔██╗ ╚██╔╝
██║ ██║ ██║ ██║ ██║ ██║ ██║ ██║╚██████╔╝██╔╝ ██╗ ██║
╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
python HTTPproxy.py <proxy_file>Supported formats:
http://ip:port(e.g., http://172.64.151.116:80)ip:port(e.g., 172.64.151.116:80)
███████╗ ██████╗ ██████╗██╗ ██╗███████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗██╗ ██╗
██╔════╝██╔═══██╗██╔════╝██║ ██╔╝██╔════╝ ██╔══██╗██╔══██╗██╔═══██╗╚██╗██╔╝╚██╗ ██╔╝
███████╗██║ ██║██║ █████╔╝ ███████╗ ██████╔╝██████╔╝██║ ██║ ╚███╔╝ ╚████╔╝
╚════██║██║ ██║██║ ██╔═██╗ ╚════██║ ██╔═══╝ ██╔══██╗██║ ██║ ██╔██╗ ╚██╔╝
███████║╚██████╔╝╚██████╗██║ ██╗███████║ ██║ ██║ ██║╚██████╔╝██╔╝ ██╗ ██║
╚══════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═╝
python socks5.py <proxy_file>Supported format:
ip:port(e.g., 172.64.151.116:1080)
The tools support multiple input file formats:
- Text File (.txt):
ip:port
ip:port
- CSV File (.csv):
ip:port,other_data
ip:port,other_data
- JSON File (.json) - HTTP proxy checker only:
{
"proxies": [
"ip:port",
"http://ip:port"
]
}Both tools will:
- Display real-time progress during checking
- Show detailed results for each proxy
- Save working proxies to:
aliveproxy_http.txtfor HTTP proxiesaliveproxy.txtfor SOCKS5 proxies
- Provide a summary of active and inactive proxies
- Tests proxies against httpbin.org
- Verifies proxy functionality by checking returned IP
- Supports both HTTP and HTTPS protocols
- Handles various proxy string formats
- Tests proxies against Google's DNS (8.8.8.8)
- Measures response time for each proxy
- Handles connection timeouts gracefully
- Simple and efficient checking mechanism
Feel free to submit issues, fork the repository, and create pull requests for any improvements.
This project is licensed under the MIT License - see the LICENSE file for details.