{"id":19032830,"url":"https://github.com/nomadsdev/ddos-simulation-tool","last_synced_at":"2025-09-09T11:45:24.050Z","repository":{"id":255381268,"uuid":"849429901","full_name":"nomadsdev/ddos-simulation-tool","owner":"nomadsdev","description":"A DDoS simulation tool to generate high traffic to a server using multiple threads and configurable user agents. For educational purposes only.","archived":false,"fork":false,"pushed_at":"2024-08-30T02:53:37.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T04:28:49.597Z","etag":null,"topics":["concurrency","ddos","educational","http-https","multi-threading","networking","security","traffic-simulation","user-agent-spoofing","windows-api"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nomadsdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-29T15:22:17.000Z","updated_at":"2024-08-30T02:53:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"d914a74d-2a19-4a33-83b6-2bb3ef17403d","html_url":"https://github.com/nomadsdev/ddos-simulation-tool","commit_stats":null,"previous_names":["nomadsdev/ddos-simulation-tool"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fddos-simulation-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fddos-simulation-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fddos-simulation-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nomadsdev%2Fddos-simulation-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nomadsdev","download_url":"https://codeload.github.com/nomadsdev/ddos-simulation-tool/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240082960,"owners_count":19745327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["concurrency","ddos","educational","http-https","multi-threading","networking","security","traffic-simulation","user-agent-spoofing","windows-api"],"created_at":"2024-11-08T21:31:51.522Z","updated_at":"2025-02-21T20:28:45.327Z","avatar_url":"https://github.com/nomadsdev.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# DDoS Simulation Tool\n\n## Overview\nThis project is a simple Distributed Denial of Service (DDoS) simulation tool designed to send multiple HTTP/HTTPS requests to a specified URL or IP address. It utilizes multithreading to simulate a large number of simultaneous connections, which can overwhelm the target server. This tool is intended strictly for educational purposes and should **not** be used for any malicious activities.\n\n## Features\n- **Supports HTTP and HTTPS:** Automatically switches between HTTP and HTTPS based on the port (80 for HTTP, 443 for HTTPS).\n- **Custom User-Agent Strings:** Load configurable user-agent strings from an external file to simulate requests from various clients.\n- **Multithreading:** Simulates multiple concurrent requests using threads.\n- **Timeout Settings:** Customize connection and receive timeouts for each request.\n\n## Prerequisites\n- **Operating System:** Windows\n- **Compiler:** GCC (for compiling the code)\n\n## Compilation\nTo compile the source code, run the following command in your terminal:\n\n```bash\ngcc ddos.c -o ddos -lwininet\n```\n\n## Usage\n### 1. Prepare the User-Agent File\n- Create a file named `qa.txt` inside the `bin` directory of your project.\n- Add one user-agent string per line in this file.\n\n### 2. Run the Tool\n- Open a command prompt and navigate to the directory containing the `ddos` executable.\n- Run the program by executing `ddos.exe`.\n\n### 3. Input Parameters\n- When prompted, enter the target URL or IP address and the port number.\n- If you enter port `443`, the program will use HTTPS; otherwise, it will default to HTTP.\n\n### 4. Behavior\n- The tool continuously sends requests to the specified URL or IP address using multiple threads.\n- Each request uses a randomly selected user-agent string from the `qa.txt` file.\n\n## Example\n```bash\nEnter the URL or IP address: example.com\nEnter the port number (e.g., 80): 80\n```\nThis will start sending HTTP requests to `example.com` on port `80`.\n\n## Ethical Considerations\nThis tool should **only** be used on servers that you own or have explicit permission to test. Unauthorized use against other servers is illegal and unethical.\n\n## Performance\nThe number of threads (`num_threads`) is set to `100000` by default. Depending on your system's capabilities and the target server, you may need to adjust this number. Running too many threads may overwhelm your own system before impacting the target.\n\n## License\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomadsdev%2Fddos-simulation-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnomadsdev%2Fddos-simulation-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnomadsdev%2Fddos-simulation-tool/lists"}