An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# PROXY-CHECK

Check if proxies are working (http, socks4 & socks5)

![](.github/.screenshot/proxy-check.png)

### 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:

![](.github/.screenshot/old-output.png)

### 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).