This script will loop through a range of ports on an ip address and return the fastest ports(proxies).
Iterates through a specified range of ports (5 times by default), and only returns proxies that are faster than your ping_limit on 4 of those 5 iterations.
- install latest ruby
- clone this repository
- open terminal and navigate to cloned directory location
- run
gem install bundler - run
bundle install
- open terminal and navigate to project folder
- run
ruby fastest_ports
- when prompted enter
1 - when prompted enter url for test site
- when prompted enter your proxy address
- when prompted enter the
port_floorwhich is a number indicating the lower limit in the range of ports to be tested. - when prompted enter the
port_ceilingwhich is a number indicating the upper limit in the range of ports to be tested. - when prompted enter the
ping_limitwhich is a number (milliseconds). This integer is the ping time that we want our ports to be faster than