git clone https://github.com/Stoic-123/simple-ddos-kh.git
cd your-repo-name# Windows
python -m venv venv
venv\Scripts\activate
# macOS/Linux
python3 -m venv venv
source venv/bin/activateMake sure requirement.txt is in the root directory (next to main.py).
pip install -r requirement.txtIf you don't have a requirement.txt, install these manually:
pip install aiohttp aiohttp-socks fake-useragent certifi numpyEdit config.json and set your target URL and options:
{
"target_url": "https://www.example.com/",
"max_rps": 50,
"duration": 60,
"proxies": [], // put ur proxy or not put it
"methods": ["GET"]
}- Change
"target_url"to the website you want to test. - Adjust
max_rps,duration,proxies, andmethodsas needed.
python main.py --config config.jsonpython main.py --url https://your-target.com --rps 100 --duration 60 --methods GET POST- Command-line arguments override values in
config.json.
- Real-time progress is shown in the terminal:
Requests: <total> | Success: <success> | Failed: <failed> - Results are saved to a CSV file (e.g.,
stress_test_results_XXXXXXXX.csv). - Chart configuration for response times is saved to
chart_config.json. - Logs are written to
stress_test_audit.log.
- Change the
target_urlinconfig.jsonbefore running the test. - Only use this tool on servers you own or have explicit permission to test.
- For SOCKS proxies, ensure you have
aiohttp-socksinstalled. - Logs and CSV results are stored in the root