DoSinator 是一款使用 Python 开发的强大拒绝服务(DoS)测试工具。该工具专为安全专业人员和研究人员设计,允许他们模拟各种 DoS 攻击,为评估网络、系统和应用程序抵御潜在网络威胁的能力提供真实环境。

克隆仓库:
git clone https://github.com/HalilDeniz/DoSinator.git
进入项目目录:
cd DoSinator
安装所需依赖:
pip install -r requirements.txt
$ python3 dosinator.py --help
____ ____ __
/ __ \____ _____/ _/___ ____ _/ /_____ _____
/ / / / __ \/ ___// // __ \/ __ `/ __/ __ \/ ___/
/ /_/ / /_/ (__ )/ // / / / /_/ / /_/ /_/ / / _ _ _
/_____/\____/____/___/_/ /_/\__,_/\__/\____/_/ (_|_|_)
usage: dosinator.py [-h] -t TARGET [-p PORT] [-np NUM_PACKETS] [-ps PACKET_SIZE] [-ar ATTACK_RATE] [-d DURATION]
[--attack-mode {syn,sctp,udp,icmp,http,dns,os_fingerprint,slowloris,smurf,rudy,arp,port_scan,traceroute}]
[-sp SPOOF_IP] [--data DATA] [--file FILE] [--pcap PCAP] [--arp-mode {request,reply}]
[--ttl TTL] [--port-range PORT_RANGE] [--id ID] [--win WIN] [--max-hops MAX_HOPS]
options:
-h, --help show this help message and exit
-t TARGET, --target TARGET
Target IP address
-p PORT, --port PORT Target port number (required for non-ARP attacks)
-np NUM_PACKETS, --num_packets NUM_PACKETS
Number of packets to send (default: 500)
-ps PACKET_SIZE, --packet_size PACKET_SIZE
Packet size in bytes (default: 64)
-ar ATTACK_RATE, --attack_rate ATTACK_RATE
Attack rate in packets/second (default: 10)
-d DURATION, --duration DURATION
Duration of the attack in seconds
--attack-mode {syn,sctp,udp,icmp,http,dns,os_fingerprint,slowloris,smurf,rudy,arp,port_scan,traceroute}
Attack mode (default: syn)
-sp SPOOF_IP, --spoof-ip SPOOF_IP
Spoof IP address
--data DATA Custom data string to send
--file FILE File path to read data from
--pcap PCAP PCAP file path to save outgoing packets
--arp-mode {request,reply}
ARP mode (default: request)
--ttl TTL TTL value for the outgoing packets (default: 64)
--port-range PORT_RANGE
Port range for port scan (default: 1-1000)
--id ID IP identification field (default: None)
--win WIN TCP window size (default: None)
--max-hops MAX_HOPS Max hops for traceroute (default: 30)
target_ip:目标系统的 IP 地址。target_port:目标服务的端口号。num_packets:要发送的数据包数量(默认:500)。packet_size:每个数据包的大小(字节)(默认:64)。attack_rate:攻击速率(数据包/秒)(默认:10)。duration:攻击持续时间(秒)。attack_mode:攻击模式:syn、udp、icmp、http(默认:syn)。spoof_ip:欺骗 IP 地址(默认:None)。data:要发送的自定义数据字符串。file:从中读取数据的文件路径。pcap:用于保存外发数据包的 PCAP 文件路径。--arp-mode:可选标志,用于指定 ARP 模式。使用 request 发送 ARP 请求数据包(默认),或使用 reply 发送 ARP 回复数据包。以下是 DoSinator 的一些使用示例:你可以在此处查看
请负责任地使用此工具,并在进行任何测试前确保你拥有必要的权限。
欢迎贡献!如果你发现任何问题或有改进建议,请随时提出问题(issue)或提交拉取请求(pull request)。
如果你对 Dosinator 有任何问题、评论或建议,请随时联系我:
本项目采用 MIT 许可证授权。有关更多详细信息,请参阅 LICENSE 文件。
感谢你考虑支持我!你的支持使我能够投入更多时间和精力来创建像 DNSWatch 这样有用的工具并开发新项目。通过贡献,你不仅是在帮助我改进现有工具,也在激发新的想法和创新。你的支持对这个项目及未来努力的发展起着至关重要的作用。让我们一起继续构建和学习。谢谢!"