Proxy Tester Script
I wrote a script to tests and sorts proxy servers (socks4, socks5, http, https).
There are readily available scripts out there on the Internet that does the same. I just want to write my own.
Sometimes, during a web application test, your IP address might get flagged and blocked by the target’s WAF.
Proxy servers might just be useful in this type of situation. However, regard all proxy servers as malicious and unsafe. You do not want to send sensitive data like credentials over the proxy servers.
If you are doing anything malicious, do not access the proxy servers directly as the ISP might be able to pinpoint the end point of the attack easily.
Below is a screenshot of the help menu for the proxyTester.py script.
Below is an example of the command to run
python proxyTester.py -i proxies.txt -o profile1 -n 100 -time -t https -sort
The script accepts a text file containing proxy servers in the below format
The input file can contain a mixture of Socks4, Socks5, HTTPs, HTTP proxies.
In the below example, the script reads the list of proxies from the file using the -in argument, tests and sorts the proxies using 80 concurrent threads into categories (Socks4, Socks5, HTTPs) and outputs a Proxifier profile PPX file (which you can import into Proxifier if you are using this).
You can use the -time argument in the script to test the latency of the connection.
It might be useful as you might want to avoid using a proxy that has a high latency.
Your computer -> Proxy server -> Website
You can download the script from the below Github repo.