{"id":17972958,"url":"https://github.com/rainwangpupil/dos_attack","last_synced_at":"2025-09-07T02:10:16.951Z","repository":{"id":40457241,"uuid":"487498907","full_name":"Rainwangpupil/dos_attack","owner":"Rainwangpupil","description":"This project is a dos attack tool that you can use on the command line","archived":false,"fork":false,"pushed_at":"2022-07-19T13:10:10.000Z","size":13574,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-06T00:51:37.938Z","etag":null,"topics":["attack","commond","dos","python","python3","socket","webattack"],"latest_commit_sha":null,"homepage":"","language":"Python","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/Rainwangpupil.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}},"created_at":"2022-05-01T09:45:58.000Z","updated_at":"2023-05-22T11:38:31.000Z","dependencies_parsed_at":"2022-08-09T21:01:16.845Z","dependency_job_id":null,"html_url":"https://github.com/Rainwangpupil/dos_attack","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainwangpupil%2Fdos_attack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainwangpupil%2Fdos_attack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainwangpupil%2Fdos_attack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rainwangpupil%2Fdos_attack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rainwangpupil","download_url":"https://codeload.github.com/Rainwangpupil/dos_attack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252601675,"owners_count":21774657,"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":["attack","commond","dos","python","python3","socket","webattack"],"created_at":"2024-10-29T16:26:41.090Z","updated_at":"2025-05-06T00:51:45.102Z","avatar_url":"https://github.com/Rainwangpupil.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dos attack\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://img.shields.io/pypi/pyversions/Django.svg\" \u003e\u003c/img\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e可以用来DOS攻击\u003c/p\u003e\n\n## 简单介绍\n\n\u003cp align=\"center\"\u003e\u003cb\u003e本项目仅供渗透学习所用，请适当使用\u003c/b\u003e\u003c/p\u003e\n\n本项目可以进行DOS攻击，有一定的威力\n\n## 安装教程\n\n接下来为大家讲解安装方法\n\n### Linux\n\n```\n\n$ sudo apt install git\n\n......\n\n$ sudo git clone https://github.com/rainwangpupil/dos_attack\n\n......\n\n$ dir\n\n.....\n\n$ cd dos_attack\n\n$ sudo apt install python\n\n$ cd dos_attack\n\n.....\n\n```\n\n### Windows\n\n```\n\nC:\\Users\\Rainwang\u003eE: #建议不要在C盘安装\n\nD:\\\u003egit clone https://github.com/rainwangpupil/dos_attack #如果没有安装git，请去官网安装\n\n......\n\nD:\\\u003ecd dos_attack\n\n```\n\n### Termux\n\n```\n\n~$ pkg install git\n\n......\n\n~$ pkg install python\n\n......\n\n~$ git clone https://github.com/rainwangpupil/dos_attack\n\n......\n\n~$ cd dos_atack\n\n~/dos_attack$ \n\n```\n\n## 运行\n\n只需要cd到程序目录然后输入以下命令\n\n中国用户：\n\n```\n\n$ python -m dos_attack_Chinese #这是Python版\n\n......\n\n$ dos_attack_Chinese.exe #如果是Windows用户，可以用这个\n\n```\n\n除中国以外的其他用户:\n\n```\n\n$ python -m dos_attack_English\n\n......\n\n$ dos_attack_English.exe #如果是Windows用户，可以用这个\n\n```\n\n## 获取IP地址和端口\n\n如果是攻击网站，那么我们需要获取IP地址\n\n```\n\n$ ping (网站名)\n\n.......\n\n```\n\n返回的数据中，类似43.193.46.733这样的数据就是我们要的IP地址\n\n返回的数据中，TTL就是端口，一般为80，23，443\n\nWindows用户同理\n\n## 使用并攻击\n\n下面带来的是中国用户的攻击页面，外国用户类似\n\n```\n\n......\n\nDog_dos\u003eset_ip  你的IP地址\n\nSet IP address 你的IP地址\n\nDog_dos\u003eset_port 你的端口 #默认80，如果端口不是80，才需要用这条命令调整\n\nSet port 你的端口\n\nDog_dos\u003eset_thread_num 线程数量 #视自己电脑硬件性能决定，默认为500，可以不用这条命令调整\n\nSet thread num 线程数量\n\nDog_dos\u003eattack #攻击\n\n......(Y/N)y #这个是一条法律声明，意思是谨慎使用，如果退出写N，继续写Y\n\n......\n\n```\n\n## 带来的效果\n\n我不能说所有的设备，但是我攻击我家一台电脑后，查看任务管理器，CPU占有率是非常接近100%，看视频也比较卡\n\n## 将来的版本有可能会增加的功能\n\n本作者有可能在将来的0.0.2版本增加以下功能\n\n- [ ] 用户能随意更改发送数据包，只要不超过规定范围\n\n- [ ]  增加网站自动识别IP功能，新增set_ip_port_url命令，输入URL，即可获取IP地址\n\n- [ ] 增加网站自动识别端口功能,也是用set_ip_port_url命令，输入URL，即可获取端口\n\n- [ ] 可以根据电脑CPU核数，为你计算出合适的攻击线程数量\n\n- [ ] 可以选择攻击程度，自动为你挑选攻击数据包，和，攻击线程数量\n\n有可能会在1.0.0版本添加gui功能，当然，也不妨碍那些喜欢命令行的人，使用命令行攻击\n\n## 结尾和法律声明\n\n本工具仅限装逼和渗透学习使用，也可以做为渗透工作中的得力助手。\n\n《刑法》第二百八十五条\n\n- **违反国家规定，侵入国家事务、国防建设、尖端科学技术领域的计算机信息系统的，处三年以下有期徒刑或者拘役。**\n\n- **违反国家规定，侵入前款规定以外的计算机信息系统或者采用其他技术手段，获取该计算机信息系统中存储、处理或者传输的数据，或者对该计算机信息系统实施非法控制，情节严重的，处三年以下有期徒刑或者拘役，并处或者单处罚金；情节特别严重的，处三年以上七年以下有期徒刑，并处罚金。**\n\n希望大家合法使用，祝大家使用愉快，也别忘了点star+fork+watch哦，么么哒～(^з^)-☆\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainwangpupil%2Fdos_attack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frainwangpupil%2Fdos_attack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frainwangpupil%2Fdos_attack/lists"}