https://github.com/mmpx12/proxy-check
Check if proxies (http, socks4, socks5) are working.
https://github.com/mmpx12/proxy-check
go golang pentest proxies proxies-checker proxy proxy-checker
Last synced: 5 months ago
JSON representation
Check if proxies (http, socks4, socks5) are working.
- Host: GitHub
- URL: https://github.com/mmpx12/proxy-check
- Owner: mmpx12
- Created: 2021-08-19T23:04:18.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-06-15T01:55:37.000Z (about 2 years ago)
- Last Synced: 2025-11-22T17:09:25.383Z (7 months ago)
- Topics: go, golang, pentest, proxies, proxies-checker, proxy, proxy-checker
- Language: Go
- Homepage:
- Size: 132 KB
- Stars: 113
- Watchers: 5
- Forks: 18
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PROXY-CHECK
Check if proxies are working (http, socks4 & socks5)

### usage:
```
-h, --help Show this help
-s, --socks4 Test socks4 proxies
-S, --socks5 Test socks5 proxies
-H, --http Test http proxies
-i, --ip Test all proto if no proto is specified in input file
-r, --randomize-file Shuffle proxies files
-t, --thread=NBR Number of threads
-T, --timeout=SEC Set timeout (default 3 seconds)
-u, --url=TARGET url to test proxies
-f, --proxies-file=FILE File to check proxy
-m, --max-valid=NBR Stop when NBR valid proxies are found
-U, --proxies-url=URL url with proxies file
-p, --dis-progressbar Disable progress bar
-g, --github use github.com/mmpx12/proxy-list
-o, --output=FILE File to write valid proxies
-v, --version Print version and exit
```
Without **-i|--ip** flag local or remote file with proxy should be on format: proto://ip:port; If -i flag is set and no protocol is set for an ip, all protocols will be test.
If you disable the progress bar `-p|--dis-progressbar` you will have the old ouptut:

### Examples:
Only check socks5 proxies from "https://raw.githubusercontent.com/mmpx12/proxy-list/master/proxies.txt" and stop after founding 30 valid proxies.
`proxy-check -r -m 30 --socks5 -o valid-socks5.txt -g`
Check all proxies from "/path/to/proxy" to url "www.urltotest.me" with a timeout f 6 second.
`proxy-check -u www.urltotest.me -T 6 /path/to/proxy`
#### Warnings:
By default this will check to "checkip.amazonaws.com" and some false negative might occurs (timeout, rate limit, flagged ip etc...).
### Install
With one liner if **$GOROOT/bin/** is in **$PATH**:
```sh
go install github.com/mmpx12/proxy-check@latest
```
or from source with:
```sh
git clone https://github.com/mmpx12/proxy-check.git
cd proxy-check
make
sudo make install
# or
sudo make all
```
for **termux** you can do:
```sh
git clone https://github.com/mmpx12/proxy-check.git
cd proxy-check
make
make termux-install
# or
make termux-all
```
There is also prebuild binaries [here](https://github.com/mmpx12/proxy-check/releases/latest).