This script checks the speed and ping of a list of proxies provided in a CSV file. It logs the results and saves them to an output CSV file.
- Checks download speed of proxies.
- Checks ping response time of proxies.
- Logs results to a file.
- Supports retrying failed checks.
- Filters proxies based on previous results.
- Python 3.x
requestslibrary
Install the required Python library using pip:
pip install requests-
Prepare a CSV file named
Proxypass.csvwith the proxy details in the following format:user:pass@proxyip:proxyport -
Run the script:
python responce_rpc.py
-
Follow the on-screen instructions:
- Enter
1to check all proxies. - Enter
2to check only proxies with previous results ofERROR.
- Enter
The script will generate an output CSV file named ProxyResults.csv with the following columns:
id: Proxy IDVM: Virtual Machine (if applicable)user: Proxy usernamepass: Proxy passwordproxyip: Proxy IP addressproxyport: Proxy portspeed_mbps: Download speed in Mbpsping: Ping response time in milliseconds
NO_CONNECTION_PINGandNO_CONNECTION_SPEED: The proxy works but data could not be processed.NOT_WORKING: The proxy does not work.ERROR_LOGIN: There was an error logging in to the proxy.
The script logs detailed information to a file named proxy_check.log.
Example output in ProxyResults.csv:
id;VM;user;pass;proxyip;proxyport;speed_mbps;ping
1;;user1;pass1;192.168.1.1;8080;10.5;150
2;;user2;pass2;192.168.1.2;8080;NOT_WORKING;NOT_WORKING- Ensure the proxies are formatted correctly in the input CSV file.
- The script uses a timeout of 100 seconds for each proxy check.
