{"id":23665814,"url":"https://github.com/b3ta-blocker/ip-flooder","last_synced_at":"2025-12-08T11:30:13.161Z","repository":{"id":244406411,"uuid":"814858414","full_name":"B3TA-BLOCKER/IP-Flooder","owner":"B3TA-BLOCKER","description":"This repo contains a Bash script to perform SYN flood attacks on local network hosts using hping3 and ipcalc. Perfect for network testing and education.","archived":false,"fork":false,"pushed_at":"2024-07-11T08:24:36.000Z","size":49,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T06:16:06.194Z","etag":null,"topics":["cybersecurity","ddos-attacks","hping3","ip-attack","ipcalc","linux","local-network","network-security","network-testing","penetration-testing","syn-flood"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/B3TA-BLOCKER.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-13T21:24:20.000Z","updated_at":"2024-12-23T19:52:17.000Z","dependencies_parsed_at":"2024-06-14T14:45:51.360Z","dependency_job_id":"3e2ee5ce-98a7-4d2b-8823-89ca1cc72ec4","html_url":"https://github.com/B3TA-BLOCKER/IP-Flooder","commit_stats":null,"previous_names":["b3ta-blocker/ip-flooder"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3TA-BLOCKER%2FIP-Flooder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3TA-BLOCKER%2FIP-Flooder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3TA-BLOCKER%2FIP-Flooder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/B3TA-BLOCKER%2FIP-Flooder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/B3TA-BLOCKER","download_url":"https://codeload.github.com/B3TA-BLOCKER/IP-Flooder/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239665891,"owners_count":19677029,"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":["cybersecurity","ddos-attacks","hping3","ip-attack","ipcalc","linux","local-network","network-security","network-testing","penetration-testing","syn-flood"],"created_at":"2024-12-29T06:16:32.537Z","updated_at":"2025-12-08T11:30:13.093Z","avatar_url":"https://github.com/B3TA-BLOCKER.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cdiv align=\"center\"\u003e\u003cstrong\u003e[![Typing SVG](https://readme-typing-svg.herokuapp.com?font=DotGothic16\u0026size=41\u0026width=800\u0026height=60\u0026lines=💀+IP+Flooder+💥\u0026center=true\u0026vCenter=true\u0026color=FF0000)](https://git.io/typing-svg)\u003c/strong\u003e\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cp\u003eThis script is a powerful tool to perform SYN flood attacks on specified target hosts within your local network. Leveraging \u003ccode\u003ehping3\u003c/code\u003e for the flood attack and \u003ccode\u003eipcalc\u003c/code\u003e to ensure target IPs are valid, it gives you a glimpse into the world of network testing.\u003c/p\u003e\n\u003c/div\u003e\n\n---\n\n## 🛠️ Prerequisites\n\nBefore running this script, ensure you have the following installed on your system:\n\n- `hping3` 📡\n- `ipcalc` 🔍\n\nInstall these tools using your package manager. \n\n### Linux (Ubuntu/Debian)\n```sh\nsudo apt-get install hping3 ipcalc\n```\n\n### Windows\nOn Windows, you can use `choco` (Chocolatey package manager) to install `hping3`. `ipcalc` is not available directly via `choco`, but you can use other similar tools or install it manually via a Linux subsystem like WSL.\n\n1. **Install Chocolatey** (if not already installed):\n```sh\nSet-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\n```\n\n2. **Install hping**:\n```sh\nchoco install hping\n```\n\nFor `ipcalc`, you might want to use a different approach or run it under WSL (Windows Subsystem for Linux).\n\n### macOS\nUsing Homebrew, the macOS package manager:\n```sh\nbrew install hping ipcalc\n```\n\nIf `ipcalc` is not available directly via Homebrew, you can install `ipcalc-ng` as an alternative:\n```sh\nbrew install ipcalc-ng\n```\n\n---\n## 🚀 Usage\n\n1. **Clone the repository**:\n\n```sh\ngit clone https://github.com/B3TA-BLOCKER/IP-Flooder.git\n```\n\n2. **Navigate to the project directory**:\n\n```sh\ncd IP-Flooder\n```\n\n3. **Make the script executable**:\n\n```sh\nchmod +x main.sh\n```\n\n4. **Run the script**:\n\n```sh\nsudo ./main.sh\n```\n\n## 💻 Script Details\n\n### Description\n\nThis script performs the following steps:\n\n1. **Get Local Network Information** 🌐:\n    - Retrieves the local IP address and determines the subnet (assuming a /24 subnet).\n\n2. **Prompt for Target Hosts** 🎯:\n    - Asks the user to enter the target IP addresses separated by spaces.\n\n3. **Validate and Attack** ⚔️:\n    - For each entered IP address, the script checks if the IP is within the local subnet.\n    - If the IP is valid, it initiates a SYN flood attack using `hping3` and logs the output to a file named after the target IP.\n    - If the IP is not within the local network, it notifies the user.\n\n4. **Wait for Attacks to Complete** ⏳:\n    - The script waits for all initiated attacks to complete before exiting.\n\n---\n\n## ⚠️ Important Notes\n\n- **Caution**: SYN flood attacks can cause network disruptions and are considered malicious activity. Use this script responsibly and only in environments where you have explicit permission to perform such actions.\n- **Permissions**: The script uses `sudo` to run `hping3`. Ensure you have the necessary permissions to execute commands with `sudo`.\n- **Logging**: Each attack's output is logged to a file named after the target IP address, e.g., `192.168.1.1_attack.log`.\n\n---\n\n## 📝 Disclaimer\n\n**This script is provided for educational purposes only. The author is not responsible for any misuse or damage caused by using this script.**\n\n---\n\n## 🛡️ License\n\nThis project is licensed under the [MIT License](LICENSE).\n\n---\n\n## 📞 Contact\n\nFor support or questions, feel free to reach out:\n\n- **GitHub Profile**: [B3TA-BLOCKER](https://github.com/B3TA-BLOCKER)\n- **Email**: hassaanalibukhari@gmail.com\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3ta-blocker%2Fip-flooder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fb3ta-blocker%2Fip-flooder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fb3ta-blocker%2Fip-flooder/lists"}