开发者

How do I build a simple DDoS attack using Ruby?

开发者 https://www.devze.com 2023-01-25 20:12 出处:网络
I\'m building an arsenal of dif开发者_JAVA技巧ferent things to attack my site with, to see how I can protect it. I was curious if there were gems available for this.If you want to simulate a DDos atta

I'm building an arsenal of dif开发者_JAVA技巧ferent things to attack my site with, to see how I can protect it. I was curious if there were gems available for this.


If you want to simulate a DDos attack you may want to spin up a bunch of Amazon EC2 instances and run ApacheBench on them. That should do it :)

Disclaimer

I'm not sure if the Apache terms say anything about using EC2 in this way. Please make sure you don't get your account banned for DDOSing your own site!


you can use something like fail2ban to avoid too much request from IP

0

精彩评论

暂无评论...
验证码 换一张
取 消