Skip to content

soccersd/freeproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Free Proxy Manager

An automated tool for downloading and testing proxies. Supports HTTP, HTTPS, SOCKS4, and SOCKS5 protocols.

Features

  • Automatic proxy download from multiple sources
  • Multi-threaded proxy testing
  • Support for HTTP, HTTPS, SOCKS4, SOCKS5
  • Display speed and IP for each proxy
  • Save working proxies by type
  • Beautiful colored output

Windows Installation

  1. Install Python 3.8 or higher from python.org

  2. Download code and install dependencies:

# Clone or download repository
git clone <repository-url>
cd getproxy

# Install dependencies
pip install -r requirements.txt
  1. Run the program:
python proxy_manager.py

VPS Installation (Ubuntu/Debian)

  1. Install Python and required tools:
# Update system
sudo apt update
sudo apt install python3-venv python3-pip -y

# Create project directory
mkdir -p /root/proxy_manager
cd /root/proxy_manager

# Clone or upload code to this directory
  1. Create and activate Virtual Environment:
# Create virtual environment
python3 -m venv venv

# Activate virtual environment
source venv/bin/activate
  1. Install dependencies:
pip install -r requirements.txt
  1. Run the program:
python proxy_manager.py

Running in Background on VPS

Method 1: Using Screen

# Install screen
sudo apt install screen -y

# Create new screen session
screen -S proxy

# Activate venv and run program
source venv/bin/activate
python proxy_manager.py

# Press Ctrl+A then D to detach screen while keeping program running
# To return to screen session, use:
screen -r proxy

Method 2: Using Nohup

# Run in background
nohup venv/bin/python proxy_manager.py > output.log 2>&1 &

# View logs
tail -f output.log

Usage

  1. When running the program, you'll be asked whether to test existing proxies or download new ones
  2. If downloading new proxies, the program will:
    • Download proxies from multiple sources
    • Combine and remove duplicates
    • Save to the proxies folder
  3. Select proxy type to test (HTTP, HTTPS, SOCKS4, SOCKS5)
  4. The program will test proxies and show:
    • Progress bar showing completion
    • Working proxies with their speed
    • Save working proxies in protocol://ip:port format

Generated Files

  • proxies/http_allfiles.txt - All HTTP proxies
  • proxies/https_allfiles.txt - All HTTPS proxies
  • proxies/socks4_allfiles.txt - All SOCKS4 proxies
  • proxies/socks5_allfiles.txt - All SOCKS5 proxies
  • proxies/working_*.txt - Tested working proxies

Stopping the Program

On Windows

  • Press Ctrl+C in Terminal window

On VPS

# Find process ID
ps aux | grep proxy_manager.py

# Kill process
kill <process_id>

Notes

  • Always activate virtual environment before running the program on VPS
  • Timeout and worker numbers can be adjusted in the code as needed
  • Proxy speeds may vary depending on various factors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages