|
| 1 | +# **PyDoS - Advanced Stress Tester** |
| 2 | + |
| 3 | +## **What is PyDoS?** |
| 4 | +PyDoS is an **advanced stress testing tool** designed for **testing** the **performance and security** of your **own websites**. |
| 5 | +It supports **multi-threaded HTTP attacks**, **headless browser-based attacks**, **captcha bypassing**, and **proxy rotation**. |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | +--- |
| 10 | +## **LEGAL DISCLAIMER** |
| 11 | +> **WARNING!** This tool is intended for **educational purposes and ethical testing only**. |
| 12 | +> **DO NOT** use this tool to attack websites you do not own. Unauthorized usage is **illegal** and may result in **serious legal consequences**. |
| 13 | +> **USE RESPONSIBLY!** You are responsible for your actions. |
| 14 | +
|
| 15 | +--- |
| 16 | + |
| 17 | +# **Features** |
| 18 | +- **Multi-threaded HTTP attack** (GET/POST) |
| 19 | +- **Headless browser attack** (Selenium & Playwright) |
| 20 | +- **Captcha bypass** (Anti-Captcha API) |
| 21 | +- **User input support** (Fully customizable) |
| 22 | +- **Proxy support** (For IP rotation) |
| 23 | +- **Custom User-Agent rotation** (Avoids easy blocking) |
| 24 | +- **Test your website under high traffic** |
| 25 | + |
| 26 | +--- |
| 27 | + |
| 28 | +# **Setup & Installation** |
| 29 | +## **1. Install Required Dependencies** |
| 30 | +Run the following commands in your **VS Code terminal** (Command Prompt / PowerShell): |
| 31 | + |
| 32 | +```bash |
| 33 | + git clone https://github.com/nayandas69/pydoS.git |
| 34 | + cd pydoS |
| 35 | +``` |
| 36 | + |
| 37 | +```bash |
| 38 | +pip install -r requirements.txt |
| 39 | +``` |
| 40 | + |
| 41 | +Then, install Playwright browsers: |
| 42 | +```bash |
| 43 | +playwright install |
| 44 | +``` |
| 45 | + |
| 46 | +--- |
| 47 | + |
| 48 | +## **2. Run PyDoS with Commands** |
| 49 | +### **Basic Attack (GET Method)** |
| 50 | +```bash |
| 51 | +python pydoS.py https://yourwebsite.com -t 500 -m GET |
| 52 | +``` |
| 53 | +- Sends **500 concurrent GET requests** to `https://yourwebsite.com`. |
| 54 | + |
| 55 | +### **POST Request Attack** |
| 56 | +```bash |
| 57 | +python pydoS.py https://yourwebsite.com -t 300 -m POST |
| 58 | +``` |
| 59 | +- Sends **300 concurrent POST requests**. |
| 60 | + |
| 61 | +--- |
| 62 | + |
| 63 | +## **3. Enable Advanced Features** |
| 64 | +### **Proxy Support** |
| 65 | +```bash |
| 66 | +python pydoS.py https://yourwebsite.com -t 500 -m GET --proxy |
| 67 | +``` |
| 68 | +- Uses **proxy rotation** from `config.py`. |
| 69 | + |
| 70 | +### **Headless Browser Attack (Selenium & Playwright)** |
| 71 | +```bash |
| 72 | +python pydoS.py https://yourwebsite.com -t 500 -m GET --browser |
| 73 | +``` |
| 74 | +- Simulates **real users visiting the site** in a **headless browser**. |
| 75 | + |
| 76 | +### **Captcha Bypass** |
| 77 | +```bash |
| 78 | +python pydoS.py https://yourwebsite.com -t 500 -m GET --captcha |
| 79 | +``` |
| 80 | +- **Solves captchas** automatically using **Anti-Captcha API**. |
| 81 | + |
| 82 | +### **Headless Browser & Captcha Bypass** |
| 83 | +```bash |
| 84 | +python pydoS.py https://yourwebsite.com -t 1000 -m POST --browser --captcha |
| 85 | +``` |
| 86 | +- Uses **1000 threads** |
| 87 | +- Uses **POST requests** |
| 88 | +- Enables **headless browsers** |
| 89 | +- **Bypasses captchas** |
| 90 | + |
| 91 | +### **Ultimate Attack (All Features)** |
| 92 | +```bash |
| 93 | +python pydoS.py https://yourwebsite.com -t 1000 -m POST --browser --captcha --proxy |
| 94 | +``` |
| 95 | +- Uses **1000 threads** |
| 96 | +- Uses **POST requests** |
| 97 | +- Enables **headless browsers** |
| 98 | +- **Bypasses captchas** |
| 99 | +- **Uses proxies** |
| 100 | + |
| 101 | +--- |
| 102 | + |
| 103 | +# **Configuration Settings (config.py)** |
| 104 | +### **Modify default settings in `config.py`** |
| 105 | +```python |
| 106 | +# Default Configuration Settings |
| 107 | +DEFAULT_TARGET = "https://yourwebsite.com" |
| 108 | +DEFAULT_THREADS = 500 |
| 109 | +DEFAULT_METHOD = "GET" |
| 110 | +DEFAULT_TIMEOUT = 5 |
| 111 | +DEFAULT_USE_PROXY = False |
| 112 | +DEFAULT_PROXIES = ["http://127.0.0.1:8080"] |
| 113 | +DEFAULT_USE_BROWSER_ATTACK = False |
| 114 | +DEFAULT_USE_CAPTCHA_BYPASS = False |
| 115 | +``` |
| 116 | + |
| 117 | +--- |
| 118 | + |
| 119 | +# **How PyDoS Works** |
| 120 | +### **1. Multi-Threaded HTTP Attack** |
| 121 | +- Sends **multiple HTTP requests** to stress-test a website. |
| 122 | +- Simulates **high traffic loads**. |
| 123 | + |
| 124 | +### **2. Headless Browser Attack** |
| 125 | +- Uses **Selenium + Playwright** to **simulate real user behavior**. |
| 126 | +- Avoids **bot detection**. |
| 127 | + |
| 128 | +### **3. Captcha Bypass** |
| 129 | +- Uses **Anti-Captcha API** to **solve captchas automatically**. |
| 130 | + |
| 131 | +### **4. Proxy Support** |
| 132 | +- **Rotates IP addresses** to avoid detection. |
| 133 | + |
| 134 | +--- |
| 135 | + |
| 136 | +# **FAQ** |
| 137 | +### **1. Is this tool illegal?** |
| 138 | +> **NO, if used ethically!** PyDoS is for **testing your own website's security**. |
| 139 | +> **ILLEGAL if used maliciously!** **Do not** attack unauthorized websites. |
| 140 | +
|
| 141 | +### **2. I get a ‘No module named distutils’ error** |
| 142 | +Run: |
| 143 | +```bash |
| 144 | +pip install setuptools |
| 145 | +``` |
| 146 | + |
| 147 | +### **3. How do I enable real browser-based testing?** |
| 148 | +Run: |
| 149 | +```bash |
| 150 | +python pydoS.py https://yourwebsite.com -t 500 -m GET --browser |
| 151 | +``` |
| 152 | + |
| 153 | +--- |
| 154 | + |
| 155 | +# **Ethical Usage Notice** |
| 156 | +> **USE ONLY FOR TESTING YOUR OWN WEBSITE!** |
| 157 | +> **DO NOT ATTACK OTHER WEBSITES WITHOUT PERMISSION!** |
| 158 | +> **FAILURE TO COMPLY MAY LEAD TO LEGAL CONSEQUENCES!** |
| 159 | +> **BE RESPONSIBLE & STAY ETHICAL!** |
| 160 | +
|
| 161 | +--- |
| 162 | + |
| 163 | +# **Author Information** |
| 164 | +- **Author:** [Nayan Das](https://github.com/nayandas69) |
| 165 | +- **Email:** [nayanchandradas@hotmail.com](mailto:nayanchandradas@hotmail.com) |
| 166 | +- **Website:** [https://nayanchandradas.com](https://socialportal.nayanchandradas.com) |
| 167 | + |
| 168 | +--- |
| 169 | + |
| 170 | +# **Contributing** |
| 171 | +Want to improve PyDoS? Feel free to contribute! |
| 172 | +```bash |
| 173 | +git clone https://github.com/nayandas69/pydoS.git |
| 174 | +cd pydoS |
| 175 | +``` |
| 176 | +Make your changes and submit a **Pull Request** |
| 177 | + |
| 178 | +--- |
| 179 | + |
| 180 | +# **Support** |
| 181 | +If this tool helped you, give it a ⭐ on GitHub! |
| 182 | +For issues, contact me at **nayanchandradas@hotmail.com** |
| 183 | + |
| 184 | +--- |
| 185 | + |
| 186 | +**Built with ❤️ by nayandas69** |
| 187 | +**Happy Testing & Stay Ethical!** |
0 commit comments