ip:port:username:password:type_proxy
ip:port
- -h - help
- -f file - file with proxy, default proxy.txt
- -g file - out file for good proxies
- -b file - out file for bad proxies
- -u url - url for check, default "https://api.ipify.org?format=json"
- -m sec - max connect time in seconds, default 10 sec
- -c count - max ping count for AVG time, default 4 count
$ ./checkProxy.sh -f proxy_sample.txt -m 5 -g good