天天看點

Slow HTTP POST慢速攻擊

模拟測試工具:slowhttptest https://github.com/shekyan/slowhttptest

安裝:

https://github.com/shekyan/slowhttptest/wiki

使用:

slowhttptest -c 5000 -u [hostname/ip]

-c 表示發起5000個連接配接,由于是慢速DDOS且是基于http協定的,這裡發起的連接配接請求是确确實實會與伺服器進行三次握手并維持與伺服器的連接配接的。

-u 注意這裡的hostname或者ip都需要在前面加上協定 http://。

模拟測試:

./slowhttptest -c 5000 -u https://192.168.1.3      
slow HTTP test status on 50th second:

initializing:        0
pending:             8
connected:           1757
error:               0
closed:              3
service available:   YES      

攻擊如果成功,service available會變成no。

上一篇: String
下一篇: JDK8中的Date

繼續閱讀