tomnomnom / httprobe

Take a list of domains and probe for working HTTP and HTTPS servers
MIT License
2.84k stars 500 forks source link

error when i run go get -u #5

Open prosecurity opened 5 years ago

prosecurity commented 5 years ago

package bufio: unrecognized import path "bufio" (import path does not begin with hostname) package crypto/tls: unrecognized import path "crypto/tls" (import path does not begin with hostname) package flag: unrecognized import path "flag" (import path does not begin with hostname) package fmt: unrecognized import path "fmt" (import path does not begin with hostname) package net/http: unrecognized import path "net/http" (import path does not begin with hostname) package os: unrecognized import path "os" (import path does not begin with hostname) package strings: unrecognized import path "strings" (import path does not begin with hostname) package sync: unrecognized import path "sync" (import path does not begin with hostname) package time: unrecognized import path "time" (import path does not begin with hostname)

tomnomnom commented 5 years ago

Hey!

I think your Go installation is a bit messed up. Specifically I think $GOROOT may be set to the wrong value (and/or you're using a very old version of Go)

Did you install Go by downloading a package from the Go website, or did you install it with a package manager or through some other means?

Thanks!

cyb3rsalih commented 5 years ago

EDIT

Solved! Solution


go get -u github.com/tomnomnom/httprobe not work for me. I installed go with brew installer