Skip to content

minph/dos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

task

go run .

func AppendFile

func AppendFile(path string, content string) error

AppendFile 追加文件内容

func CheckOrCreateFile

func CheckOrCreateFile(filepath string) error

CheckOrCreateFile 检查文件是否存在,不存在则创建

func RoutineWork

func RoutineWork(c *Config, msg chan<- string)

RoutineWork 开始协程,进行 DOS 攻击

type Config

type Config struct {
    Log      string
    URL      string
    Query    string
    Routine  int
    ReqTimes int
}

Config DOS 配置内容

Releases

No releases published

Packages

 
 
 

Languages