hoho-cc-attack
项目开源
github(https://github.com/sansjtw/hoho-cc-attack)
gitee(https://gitee.com/sansjtw/hoho-cc-attack)
介绍
该项目提供多个语言的简易cc-attack(Challenge Collapsar),攻击类型为HTTP Flood洪水攻击类型,请注意合法使用。
语言
python | c | java | shell |
---|---|---|---|
JavaScript | php | html | go |
使用说明
注:以下格式中<target_url>
为网址url,<num_requests>
为数量,以cc.c
编译后为列:
./cc http://example.com 1000
python
cc.py
程序位于python
内。
使用方法:
python cc.py
c
cc.c
程序位于c
内。
可使用gcc
进行编译:
gcc cc.c -o cc
使用方法:
./cc
格式
./cc <target_url> <num_requests>
java
cc.java
程序位于java
内。
可使用javac
进行编译:
javac cc.java
使用方法:
java cc
格式
java cc <target_url> <num_requests>
shell
cc.sh
程序位于shell
内。
使用方法:
./cc.sh
格式
./cc.sh <target_url> <num_requests>
JavaScript
cc.js
程序位于JavaScript
内。
使用方法:
node cc.js
格式
node cc.js <target_url> <num_requests>
php
cc.php
程序位于php
内。
使用方法:
php cc.php
格式
php cc.php <target_url> <num_requests>
html
cc.html
程序位于html
内。
使用方法:
浏览器打开
go
cc.go
程序位于go
内。
使用方法:
go run cc.go
格式
go run cc.go <target_url> <num_requests>