Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 741 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 741 Bytes

Simple bash proxy checker with avrage time

Simple bash proxy checker


Proxy format (in text file):

with authorization:

ip:port:username:password:type_proxy  

without authorization:

ip:port

Arguments:

  • -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

Example:

$ ./checkProxy.sh -f proxy_sample.txt -m 5 -g good