Repository navigation
Proxies
MHDDoS uses PyRoxy for proxy parsing, checking, and socket creation. Proxy files live in files/proxies/.
Tip
A few low-latency proxies are usually better than thousands of dead ones. Check the list with PROXYCHECK before a long run.
| Value | Type | Notes |
|---|---|---|
0 |
All | Uses every provider in config.json
|
1 |
HTTP | CONNECT or absolute-form requests |
4 |
SOCKS4 | TCP only |
5 |
SOCKS5 | TCP, with optional authentication |
6 |
Random | Picks HTTP, SOCKS4, or SOCKS5 per run |
One proxy per line:
<type>://<host>:<port>
<type>://<host>:<port>:<username>:<password>
Examples:
http://203.0.113.10:8080
socks4://203.0.113.11:1080
socks5://203.0.113.12:1080:user:pass
Lines with a bare host:port are accepted by the parser and treated as the selected type.
files/proxies/http.txt
files/proxies/socks4.txt
files/proxies/socks5.txt
files/proxies/my-list.txt
The CLI takes a bare filename, not a path:
python3 start.py GET https://example.com 0 100 http.txt 10 60http.txt resolves to files/proxies/http.txt. Subdirectories and absolute paths are rejected.
When the requested file does not exist, MHDDoS:
- reads
proxy-providersfromconfig.json; - downloads each provider that matches the selected type;
- checks every proxy against a test URL;
- writes the working proxies to the file.
The default config contains providers for SOCKS4, SOCKS5, and HTTP. Edit config.json to add your own.
{
"proxy-providers": [
{
"type": 5,
"url": "https://example.com/socks5.txt",
"timeout": 5
}
]
}A provider entry needs type, url, and optionally timeout (seconds). Invalid entries are skipped with a log message.
Use the tools console:
python3 start.py TOOLSThen run PROXYCHECK and give it a filename. It prints how many proxies work and shows up to 20 working entries.
The check request goes to http://httpbin.org/get. Replace that URL in code if you need a different test endpoint.
Only these Layer 4 methods accept proxies:
MINECRAFT, MCBOT, TCP, CPS, CONNECTION
python3 start.py TCP 192.0.2.10:80 100 60 5 socks5.txtAmplification methods do not use proxies. They need raw sockets and a reflector file.
All Layer 7 methods accept proxies. The proxy is used for the TCP connection; HTTPS is wrapped after the proxy connection is open.
- Proxy speed matters more than proxy count. A few low-latency proxies often outperform thousands of dead ones.
- Rotating proxies are chosen per connection, not per request.
- A proxy with authentication must use the
user:passform shown above. - If the proxy list is empty, the run continues without proxies instead of failing.
- IP rotation inside a single request is not supported.
MHDDoS is for authorized testing only. Use it on systems you own or have written permission to test.
Issues · Discussions · Releases · Contributing · MIT License
MHDDoS
Start here
Methods
Configuration
Interfaces
Help
Community
Project