DEV Community

Trix Cyrus
Trix Cyrus

Posted on

4 2 2 2 2

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

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (1)

Collapse
 
urbanisierung profile image
Adam

Something I was already looking for. Thanks!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay