{"id":28386127,"url":"https://github.com/batcherss/gosmurfflood","last_synced_at":"2026-07-10T22:31:55.688Z","repository":{"id":284403957,"uuid":"954833856","full_name":"Batcherss/goSmurfFlood","owner":"Batcherss","description":"An example of a smurf attack with IP substitution and echo packets.","archived":false,"fork":false,"pushed_at":"2025-04-10T19:12:03.000Z","size":502,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-23T22:00:47.406Z","etag":null,"topics":["ddos","icmp","icmp-ping","router","smurfattack"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Batcherss.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,"zenodo":null}},"created_at":"2025-03-25T17:27:22.000Z","updated_at":"2025-04-10T19:12:07.000Z","dependencies_parsed_at":"2025-06-26T13:44:55.985Z","dependency_job_id":null,"html_url":"https://github.com/Batcherss/goSmurfFlood","commit_stats":null,"previous_names":["batcherss/gosmurfattack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Batcherss/goSmurfFlood","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Batcherss%2FgoSmurfFlood","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Batcherss%2FgoSmurfFlood/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Batcherss%2FgoSmurfFlood/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Batcherss%2FgoSmurfFlood/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Batcherss","download_url":"https://codeload.github.com/Batcherss/goSmurfFlood/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Batcherss%2FgoSmurfFlood/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35345661,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-10T02:00:06.465Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["ddos","icmp","icmp-ping","router","smurfattack"],"created_at":"2025-05-30T13:10:46.880Z","updated_at":"2026-07-10T22:31:55.666Z","avatar_url":"https://github.com/Batcherss.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Use for educational purposes only!\nUse at your own risk\nThe author is not responsible, the program uses the MIT license.\nThis is just an example of the work of the smurf attack\n\n# Main\n\n![Repo Size](https://img.shields.io/github/repo-size/Batcherss/goSmurfAttack?color=green)\n![goSmurfAttack'er](https://img.shields.io/badge/Status-WIP-yellow)\n![Go Version](https://img.shields.io/badge/Go-%3E%3D%201.18-blue)\n![License](https://img.shields.io/badge/License-MIT-blue)\n![Version](https://img.shields.io/badge/Version-1.0.3-blue)\n![OS Support](https://img.shields.io/badge/OS-Supported%20Windows%2C%20Unix%2C%20MacOS%2C%20FreeBSD-lightgray)\n![Last Commit](https://img.shields.io/github/last-commit/Batcherss/goSmurfAttack)\n\n\n\n\n## Description\n\nThis is a smurf attack program developed in Go. It is designed for attacking network load by sending data packets over ICMP(type:Echo). The program uses several libraries to process packets, interact with the network, and generate random data.\n\n\n\n### Important Note\nFor the program to work correctly, you need to install **Npcap**. Without it, the program may not work properly.\n\nYou can download **Npcap** from the [official Npcap website](https://nmap.org/npcap/).\n\n## Dependencies\n\nBefore running the program, make sure you have installed the following dependencies:\n\n- **`golang.org/x/sys/windows`** — for working with the Windows API.\n- Go standard libraries:\n  - `bufio`\n  - `bytes`\n  - `encoding/binary`\n  - `fmt`\n  - `log`\n  - `math/rand`\n  - `net`\n  - `os`\n  - `strconv`\n  - `strings`\n  - `time`\n\nTo install the `golang.org/x/sys/windows` dependency, use the following command:\n\n```cmd\ngo get golang.org/x/sys/windows\n```\nAlso, make sure you have Npcap installed. You can download and install it from the official Npcap website.\n\nHow to Run\nClone the repository:\n\n```git\ngit clone https://github.com/Batcherss/goSmurfFlood.git\n```\n\nEnter the folder:\n```cmd\ncd goSmurfFlood\n```\n\nInstall the necessary dependencies (if not already installed):\n```cmd\ngo mod tidy\n```\n\nRun the program:\n```cmd\ngo run main.go\n```\n\nOr you can just start\n```\ncmd.bat\n```\nthat will automatic start the main.go\n# How it works?\n![How it works](.github/instructions1.png)\n\nA smurf attack is a type of distributed denial-of-service (DDoS) attack in which an attacker exploits a network protocol to flood a target system with traffic, overwhelming it. Here's how it works:\n1. Spoofing the Source Address: The attacker sends a ping request (ICMP Echo Request) to a network's broadcast address, but with the source IP address spoofed to be that of the target system.\n2. Amplification: When the broadcast address receives the ping request, it replies to all devices on the network. Each device sends a ping response (ICMP Echo Reply) to the target IP address, which is spoofed by the attacker.\n3. Flooding the Target: As a result, the target system is bombarded with a large number of ping replies from all devices on the network, consuming its bandwidth and potentially causing it to become unresponsive or crash.\nThis type of attack leverages the amplification of the broadcast address to increase the volume of traffic directed at the target, making it more damaging with fewer resources required from the attacker.\n\n# How to use\n- Set it up:\n  - `src ip: (Enter here victim ip)`\n  - `packet size: (There's packet size of sending icmp , preferably up to 1000 bytes)`\n  - `num. of req.: (Number of requests (from 100 to 200 average for routes)`\n\n# Notes\nMake sure you have administrator rights to work with network packets.\nThe program uses Npcap, so be sure to install it before running the program, otherwise, it may not work correctly.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatcherss%2Fgosmurfflood","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbatcherss%2Fgosmurfflood","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbatcherss%2Fgosmurfflood/lists"}