DEV Community

Trix Cyrus
Trix Cyrus

Posted on

Proxy Checker: The Ultimate Proxy Validation Tool πŸ•΅οΈβ€β™‚οΈπŸ’»

Author: Trix Cyrus

Waymap Pentesting tool: Click Here
TrixSec Github: Click Here
TrixSec Telegram: Click Here
Proxy-Checker Tool: Click Here


Introduction

As web scraping, automation, and security testing become increasingly important, the need for reliable proxies has never been greater. Proxies help mask your identity online and prevent IP bans during web scraping or security scans. But, how do you ensure your proxies are actually working?

Enter Proxy Checker β€” a powerful Python tool designed to validate proxies of all types: HTTP, SOCKS4, and SOCKS5. This tool is efficient, fast, and easy to use, thanks to its async and multi-threaded architecture.

Features

  • Multi-Threaded Proxy Testing: With async support, the tool can handle proxy validation in parallel, saving you time when checking large proxy lists.
  • Supports Multiple Proxy Types: Whether you're using HTTP, SOCKS4, or SOCKS5 proxies, this tool has you covered.
  • Response Time Display: For each working proxy, the tool also displays the response time, so you know how fast each proxy is.
  • Saving Working Proxies: All valid proxies are saved to a text file in the format ip:port, so you can use them later.

Installation

To get started with Proxy Checker, you’ll need to install Python 3.7+ and the dependencies from requirements.txt.

Step 1: Clone the Repository

git clone https://github.com/TrixSec/ProxyChecker.git
cd ProxyChecker
Enter fullscreen mode Exit fullscreen mode

Step 2: Install the Requirements

pip install -r requirements.txt
Enter fullscreen mode Exit fullscreen mode

Step 3: Run the Script

Once the dependencies are installed, you can run the script:

python proxy_checker.py --proxy-file proxies.txt --type http --timeout 10 --threads 5 --output-file working_proxies.txt
Enter fullscreen mode Exit fullscreen mode

Arguments:

  • --proxy-file: The file containing the list of proxies (format: ip:port per line).
  • --type: Proxy type (http, socks4, socks5).
  • --timeout: Timeout for each proxy check (default: 10 seconds).
  • --threads: Number of threads to use (default: 5).
  • --output-file: File to save the working proxies (default: proxy_output.txt).

Example Usage:

python proxy_checker.py --proxy-file proxies.txt --type http --timeout 10 --threads 500 --output-file working_proxies.txt
Enter fullscreen mode Exit fullscreen mode

or use

python proxy_checker.py --proxy-file proxies.txt --threads 500 
Enter fullscreen mode Exit fullscreen mode

Test Run

Image description

Why Use Proxy Checker?

If you’re scraping data from websites or performing security audits, having reliable proxies is essential. Proxy Checker lets you easily validate proxies from a list, check their response times, and save the working ones for future use.

This tool saves you the hassle of manually testing proxies and helps you avoid using dead or slow proxies. With its multi-threading capabilities, it processes hundreds of proxies in a matter of minutes.

πŸ”— GitHub Repository Link


~Trixsec

Top comments (1)

Collapse
 
urbanisierung profile image
Adam

Something I was already looking for. Thanks!