Skip to content

Latest commit

 

History

History
92 lines (63 loc) · 4.68 KB

README.md

File metadata and controls

92 lines (63 loc) · 4.68 KB

BistonChecker

MIT License Python 3.6 Python 3.7 Python 3.8 Python 3.9 requests rich pyfiglet ipscoop

BistonChecker is a Python script for checking the status of proxies. It supports multi-threading and can filter proxies by country. The script is designed to efficiently check large lists of proxies in a short amount of time. It can handle HTTP, SOCKS4, and SOCKS5 proxy protocols.

gambar 1 gambar 2

Features

  • Multi-threading support: BistonChecker utilizes Python's ThreadPool for fast and efficient proxy checking. You can specify the number of threads to use, allowing you to balance speed and system resources according to your needs.

  • Live Proxy Checking: With BistonChecker, you can monitor the status of proxies in real-time. The --show option allows you to view live proxies as they are being checked, enabling you to start using working proxies immediately without waiting for the entire list to be processed.

  • Country Filtering and JSON Output: BistonChecker is not just a proxy checker, it's also a powerful filtering tool. With the --filter option, you can filter proxies by country. The results are then saved to a JSON file, providing you with a structured and easily accessible list of proxies. This feature is particularly useful when you need proxies from specific countries.

  • Result Management: BistonChecker provides flexible options for managing your results. The --move option allows you to move the filtered results to a specified output folder. Moreover, BistonChecker goes a step further by splitting the results for each country into separate files. This makes it easier for you to organize and find proxies based on your specific needs.

  • Support for Multiple Proxy Protocols: BistonChecker is designed to handle various proxy protocols including HTTP, SOCKS4, and SOCKS5. It automatically detects the proxy protocol and checks the status accordingly, saving you the hassle of having to sort your proxies by protocol.

  • Colorful Terminal Output: BistonChecker uses the rich library to provide a colorful and interactive terminal output. This makes the process of checking proxies more enjoyable and easier to understand.

  • Customizable Output File: You can specify the name of the output file where the working proxies will be saved. By default, the output file is named 'proxy-working.json'.

Installation

  1. Clone this repository:
git clone https://github.com/bagusass/bistonchecker.git
  1. Navigate to the project directory:
cd bistonchecker
  1. Install the required Python packages:
pip install -r requirements.txt

Usage

python3 bistonchecker.py -i inputfile -t 500 -o outputfile.json --show --filter --move
  • -i, --input: Input file (proxy list)
  • -t, --threads: Number of threads (default is 500)
  • -o: Output file (default is 'proxy-working.json')
  • --show: Show live proxies
  • --filter: Filter by country (json)
  • --move: Move result filter to output folder (split each country)

example command use case

python3 bistonchecker.py -i inputfile -t 500 -o outputfile.json --show
python3 bistonchecker.py -i inputfile -t 500 -o outputfile.json --filter --move

Authors

References

This project was inspired by and learned from the following resources:

 License

MIT