{"id":19140246,"url":"https://github.com/geraked/miniattack","last_synced_at":"2026-03-02T11:01:59.865Z","repository":{"id":176725298,"uuid":"380270493","full_name":"geraked/miniattack","owner":"geraked","description":"Simulate Attacks With Mininet And Hping3","archived":false,"fork":false,"pushed_at":"2021-07-01T11:57:11.000Z","size":3966,"stargazers_count":12,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-06T23:15:00.160Z","etag":null,"topics":["attack","computer-engineering","ddos","ddos-attacks","dos","dos-attack","geraked","hping","hping3","mininet","monitoring","network","python","python3","rabist","security","simulation","undergraduate","yazd-university"],"latest_commit_sha":null,"homepage":"","language":"Python","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/geraked.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":"2021-06-25T14:53:36.000Z","updated_at":"2024-10-25T21:24:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"f791a159-1740-4862-95e8-dcf434c5dbbf","html_url":"https://github.com/geraked/miniattack","commit_stats":null,"previous_names":["geraked/miniattack"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/geraked/miniattack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fminiattack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fminiattack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fminiattack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fminiattack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/geraked","download_url":"https://codeload.github.com/geraked/miniattack/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/geraked%2Fminiattack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29999221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T09:59:02.300Z","status":"ssl_error","status_checked_at":"2026-03-02T09:59:02.001Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["attack","computer-engineering","ddos","ddos-attacks","dos","dos-attack","geraked","hping","hping3","mininet","monitoring","network","python","python3","rabist","security","simulation","undergraduate","yazd-university"],"created_at":"2024-11-09T07:16:54.115Z","updated_at":"2026-03-02T11:01:59.835Z","avatar_url":"https://github.com/geraked.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![catalog](docs/catalog.jpg)\r\n\r\n# Miniattack\r\n\r\nSimulate Attacks With Mininet And Hping3\r\n\r\nIt measures network load with `bwm-ng` when the net is under attack and plots the result.\r\n\r\n![help](docs/demo.gif)\r\n\r\nThis demo has been tested on `Ubuntu 20` with `Python 3.8`. \r\n\r\nThe attack range is highlighted in red color.\r\n\r\nView the topology on [Mininet-Topology-Visualizer](http://demo.spear.narmox.com/app/?apiurl=demo#!/mininet?data=%7B%22dump%22%3A%22%3CHost%20h1%3A%20h1-eth0%3A10.0.0.1%20pid%3D29037%3E%20%5Cn%3CHost%20h2%3A%20h2-eth0%3A10.0.0.2%20pid%3D29039%3E%20%5Cn%3CHost%20h3%3A%20h3-eth0%3A10.0.0.3%20pid%3D29041%3E%20%5Cn%3CHost%20h4%3A%20h4-eth0%3A10.0.0.4%20pid%3D29043%3E%20%5Cn%3CHost%20h5%3A%20h5-eth0%3A10.0.0.5%20pid%3D29045%3E%20%5Cn%3CHost%20h6%3A%20h6-eth0%3A10.0.0.6%20pid%3D29047%3E%20%5Cn%3CHost%20h7%3A%20h7-eth0%3A10.0.0.7%20pid%3D29049%3E%20%5Cn%3CHost%20h8%3A%20h8-eth0%3A10.0.0.8%20pid%3D29051%3E%20%5Cn%3COVSSwitch%20s1%3A%20lo%3A127.0.0.1%2Cs1-eth1%3ANone%2Cs1-eth2%3ANone%2Cs1-eth3%3ANone%2Cs1-eth4%3ANone%20pid%3D29056%3E%20%5Cn%3COVSSwitch%20s2%3A%20lo%3A127.0.0.1%2Cs2-eth1%3ANone%2Cs2-eth2%3ANone%2Cs2-eth3%3ANone%2Cs2-eth4%3ANone%20pid%3D29059%3E%20%5Cn%3COVSSwitch%20s3%3A%20lo%3A127.0.0.1%2Cs3-eth1%3ANone%2Cs3-eth2%3ANone%2Cs3-eth3%3ANone%2Cs3-eth4%3ANone%20pid%3D29062%3E%20%5Cn%3COVSSwitch%20s4%3A%20lo%3A127.0.0.1%2Cs4-eth1%3ANone%2Cs4-eth2%3ANone%2Cs4-eth3%3ANone%2Cs4-eth4%3ANone%20pid%3D29065%3E%20%5Cn%3COVSSwitch%20s5%3A%20lo%3A127.0.0.1%2Cs5-eth1%3ANone%2Cs5-eth2%3ANone%2Cs5-eth3%3ANone%2Cs5-eth4%3ANone%20pid%3D29068%3E%20%5Cn%3COVSSwitch%20s6%3A%20lo%3A127.0.0.1%2Cs6-eth1%3ANone%2Cs6-eth2%3ANone%2Cs6-eth3%3ANone%2Cs6-eth4%3ANone%20pid%3D29071%3E%20%5Cn%3COVSSwitch%20s7%3A%20lo%3A127.0.0.1%2Cs7-eth1%3ANone%2Cs7-eth2%3ANone%2Cs7-eth3%3ANone%2Cs7-eth4%3ANone%20pid%3D29074%3E%20%5Cn%3COVSSwitch%20s8%3A%20lo%3A127.0.0.1%2Cs8-eth1%3ANone%2Cs8-eth2%3ANone%2Cs8-eth3%3ANone%2Cs8-eth4%3ANone%20pid%3D29077%3E%20%5Cn%3COVSSwitch%20s9%3A%20lo%3A127.0.0.1%2Cs9-eth1%3ANone%2Cs9-eth2%3ANone%2Cs9-eth3%3ANone%2Cs9-eth4%3ANone%20pid%3D29080%3E%20%5Cn%3COVSSwitch%20s10%3A%20lo%3A127.0.0.1%2Cs10-eth1%3ANone%2Cs10-eth2%3ANone%2Cs10-eth3%3ANone%2Cs10-eth4%3ANone%20pid%3D29083%3E%20%5Cn%3CController%20c0%3A%20127.0.0.1%3A6653%20pid%3D29030%3E%22%2C%22links%22%3A%22h1-eth0%3C-%3Es1-eth1%20(OK%20OK)%20%5Cnh2-eth0%3C-%3Es1-eth2%20(OK%20OK)%20%5Cnh3-eth0%3C-%3Es2-eth1%20(OK%20OK)%20%5Cnh4-eth0%3C-%3Es2-eth2%20(OK%20OK)%20%5Cnh5-eth0%3C-%3Es3-eth1%20(OK%20OK)%20%5Cnh6-eth0%3C-%3Es3-eth2%20(OK%20OK)%20%5Cnh7-eth0%3C-%3Es4-eth1%20(OK%20OK)%20%5Cnh8-eth0%3C-%3Es4-eth2%20(OK%20OK)%20%5Cns1-eth3%3C-%3Es5-eth1%20(OK%20OK)%20%5Cns1-eth4%3C-%3Es6-eth1%20(OK%20OK)%20%5Cns2-eth4%3C-%3Es5-eth2%20(OK%20OK)%20%5Cns2-eth3%3C-%3Es6-eth2%20(OK%20OK)%20%5Cns3-eth3%3C-%3Es7-eth1%20(OK%20OK)%20%5Cns3-eth4%3C-%3Es8-eth1%20(OK%20OK)%20%5Cns4-eth4%3C-%3Es7-eth2%20(OK%20OK)%20%5Cns4-eth3%3C-%3Es8-eth2%20(OK%20OK)%20%5Cns5-eth3%3C-%3Es9-eth1%20(OK%20OK)%20%5Cns5-eth4%3C-%3Es10-eth1%20(OK%20OK)%20%5Cns6-eth3%3C-%3Es9-eth2%20(OK%20OK)%20%5Cns6-eth4%3C-%3Es10-eth2%20(OK%20OK)%20%5Cns7-eth3%3C-%3Es9-eth3%20(OK%20OK)%20%5Cns7-eth4%3C-%3Es10-eth3%20(OK%20OK)%20%5Cns8-eth3%3C-%3Es9-eth4%20(OK%20OK)%20%5Cns8-eth4%3C-%3Es10-eth4%20(OK%20OK)%22%2C%22positions%22%3A%22%7B%5C%22objects%5C%22%3A%5B%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s1%5C%22%2C%5C%22x%5C%22%3A-118.73140130536854%2C%5C%22y%5C%22%3A221.26629968384344%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s2%5C%22%2C%5C%22x%5C%22%3A56.388501053877235%2C%5C%22y%5C%22%3A221.27949853657918%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s3%5C%22%2C%5C%22x%5C%22%3A265.41809477535026%2C%5C%22y%5C%22%3A222.1676058496177%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s4%5C%22%2C%5C%22x%5C%22%3A465.4056160659434%2C%5C%22y%5C%22%3A221.88560816475155%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s5%5C%22%2C%5C%22x%5C%22%3A-118.08230003837195%2C%5C%22y%5C%22%3A100.62729794721747%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s6%5C%22%2C%5C%22x%5C%22%3A50.740002434551684%2C%5C%22y%5C%22%3A98.1864028302789%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s7%5C%22%2C%5C%22x%5C%22%3A264.2184182438018%2C%5C%22y%5C%22%3A105.75010075792818%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s8%5C%22%2C%5C%22x%5C%22%3A463.0250923488302%2C%5C%22y%5C%22%3A109.09860392061768%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s9%5C%22%2C%5C%22x%5C%22%3A-36.6969991430193%2C%5C%22y%5C%22%3A-26.542601027229466%7D%2C%7B%5C%22type%5C%22%3A%5C%22switch%5C%22%2C%5C%22id%5C%22%3A%5C%22s10%5C%22%2C%5C%22x%5C%22%3A357.8463188088881%2C%5C%22y%5C%22%3A-24.73690069819844%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h1%5C%22%2C%5C%22x%5C%22%3A-150.14686599564223%2C%5C%22y%5C%22%3A329.5646106237859%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h2%5C%22%2C%5C%22x%5C%22%3A-62.282358918536744%2C%5C%22y%5C%22%3A328.7932177900256%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h3%5C%22%2C%5C%22x%5C%22%3A35.03174088971062%2C%5C%22y%5C%22%3A331.4581043043449%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h4%5C%22%2C%5C%22x%5C%22%3A116.02394485537755%2C%5C%22y%5C%22%3A330.68680302332046%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h5%5C%22%2C%5C%22x%5C%22%3A244.26344871941993%2C%5C%22y%5C%22%3A330.77451054415855%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h6%5C%22%2C%5C%22x%5C%22%3A325.25563742629765%2C%5C%22y%5C%22%3A330.00311771039827%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h7%5C%22%2C%5C%22x%5C%22%3A442.3276606551817%2C%5C%22y%5C%22%3A324.0775194775687%7D%2C%7B%5C%22type%5C%22%3A%5C%22server%5C%22%2C%5C%22id%5C%22%3A%5C%22h8%5C%22%2C%5C%22x%5C%22%3A531.0512642721883%2C%5C%22y%5C%22%3A323.3062181965442%7D%5D%7D%22%7D)\r\n\r\n### Usage\r\n```\r\nsudo python3 miniattack \u003coption-1\u003e \u003coption-2\u003e \u003cinterfaces\u003e\r\n```\r\nFor the options, you can set any supported options of `hping3`. See `hping3 -h` for more information.\r\n\r\nAfter setting options, you can declare the name of the interfaces which want to be displayed. If no interface is declared, all of them will be displayed.\r\n\r\n#### Sample 1:\r\n```\r\nsudo python3 miniattack --flood --udp\r\n```\r\n\r\n#### Sample 2:\r\n```\r\nsudo python3 miniattack --flood --udp s1-eth1 s1-eth2\r\n```\r\n\r\nEvery time the program runs, the resulting plot will be saved as pdf with the name `plot.pdf` in the same directory.\r\n\r\n## Author\r\n**Rabist** - view on [LinkedIn](https://www.linkedin.com/in/rabist)\r\n\r\n## Details\r\n- **Course:** Internet Engineering - Undergraduate\r\n- **Teacher:** [Dr. Mehran Shetabi](https://yazd.ac.ir/en/people/shetabi)\r\n- **Univ:** Yazd University\r\n- **Semester:** Spring 1400\r\n\r\n## License\r\nLicensed under [MIT](LICENSE).\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraked%2Fminiattack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeraked%2Fminiattack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeraked%2Fminiattack/lists"}