Skip to content

Instantly share code, notes, and snippets.

@YouSysAdmin
Created April 26, 2016 13:51
Show Gist options
  • Save YouSysAdmin/f89e4b35afa1f574086a8d7548246b63 to your computer and use it in GitHub Desktop.
Save YouSysAdmin/f89e4b35afa1f574086a8d7548246b63 to your computer and use it in GitHub Desktop.
Sploite
package main
import (
"fmt"
"net/http"
"github.com/julienschmidt/httprouter"
)
func main() {
go Sploit()
for {
}
}
func Sploit() {
r := httprouter.New()
// location "/"
r.GET("/", func(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
fmt.Fprint(w, "You ATTACK PENTAGON!!!!\n")
})
http.ListenAndServe("0.0.0.0:3000", r)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment