Jump to content

Title: Automated IP Address Pool Script - Auto_proxy

Featured Replies

Posted

Use Python scripts to automatically generate Clash configuration files to realize FUZZ automatically switch IP. Now Blue Dog is blocking IPs too fast. Thinking about the days when he used Burp to blast and block IPs, he wanted to cry. Don't ask me why I don't need flying fish, it's too expensive.

0x00 Purchase IP address pool

Purchase by recommending balance packages. This script is more cost-effective to pay with balance payment.

http://http.py.cn/pay/?paytype=banlance

0x01  Get API interface

After purchasing the package, choose "API Extraction" to directly extract, and the recommended configuration is as follows:

1. Balance withdrawal. 2. Use it for a long time and you need to choose it as needed. It is recommended to choose 25 minutes to 180 minutes. 3. The recommended number of extraction is 5-10, and the local tyrants can do whatever they want. 4. It is recommended that provinces be mixed and choose their own province or nearby province to increase the access speed. 5. Currently, this proxy protocol only supports SOKCS5 connection. 6. Select Json format for data format to facilitate script parsing. 7. Select all attributes to check, otherwise an error will occur. 8. IP removal for 365 days.image

0x02  Deployment Instructions

Copy the Auto_proxy code (Auto_proxy_example.yaml, Auto_proxy.py, proxyIgnoreList.plist) to the Clash configuration file directory.

Windows default: Clash\Data\profiles\Mac default: ~/.config/clash/image

Modify the Auto_proxy.py related configuration, the main parameters are as follows.

test_url: The IP address that needs to be monitored for testing. py_api: Pinyi API interface obtained in the previous step. max_connect_error: Number of error connections, N consecutive connection errors, re-acquire the proxy.image

Whitelist configuration, please refer to https://www.cnblogs.com/PowerTips/p/14775956.html

Windows: Add cfw-bypass configuration in Auto_proxy_example.yaml. Mac: Just use proxyIgnoreList.plist in the project directly, and it needs to be restarted and effective. Note: Be sure to add *.taolop.com to the whitelist, otherwise it may cause the proxy to expire and keep retrieving the proxy.

0x03 Instructions for use

Execute python3 Auto_proxy.py in the Clash directory, and select the configuration of Clash as Auto_proxy.

image

Clash needs to be configured in global mode and the system proxy is set at the same time. Currently, the script sets two rules:

Acceleration mode: Select the lowest latency agent according to the monitoring website. Load Mode: Each request will connect randomly with a proxy.image

Load mode operation effect:

image

When the operation error exceeds the set threshold, it will prompt "IP has been blocked, re-acquire the proxy". At this time, Clash prompts "Reload the configuration file", and you need to manually click to update.

image

0x05 Usage effect

This effect mode is load mode. Please test Dirsearch. Please test other tools yourself.

Target machine side: python3 -m http.server 8000 Attack side: python3 dirsearch.py -u http://X.X.X.X:8000 --proxy=http://127.0.0.1:7890 image

At the same time, there are 10 IP explosion directories, and I will ask you if you are panicked!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Important Information

HackTeam Cookie PolicyWe have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.