Closed cat-j closed 5 years ago
I think you might want to update your go version. I am not sure when they implemented semantic versioning but it could fix your problem (current is 1.12.6)
Did updating Golang solve the issue for you?
Just did a test in a fresh golang docker container, and it was fine. So I do think that the version update is the problem.
$ sudo -h docker docker run -it golang:latest
Unable to find image 'golang:latest' locally
Trying to pull repository docker.io/library/golang ...
sha256:35200a727dc44175d9221a6ece398eed7e4b8e17cb7f0d72b20bf2d5cf9dc00d: Pulling from docker.io/library/golang
6f2f362378c5: Pull complete
494c27a8a6b8: Pull complete
7596bb83081b: Pull complete
372744b62d49: Pull complete
0658c6765517: Pull complete
fc2529ce2b56: Pull complete
c9a1ca7e4a49: Pull complete
Digest: sha256:35200a727dc44175d9221a6ece398eed7e4b8e17cb7f0d72b20bf2d5cf9dc00d
Status: Downloaded newer image for docker.io/golang:latest
root@c62ea4ad7853:/go# go get github.com/OJ/gobuster
root@c62ea4ad7853:/go# ls bin
gobuster
root@c62ea4ad7853:/go# bin/gobuster
Usage:
gobuster [command]
Available Commands:
dir Uses directory/file brutceforcing mode
dns Uses DNS subdomain bruteforcing mode
help Help about any command
vhost Uses VHOST bruteforcing mode
Flags:
--delay duration Time each thread waits between requests (e.g. 1500ms)
-h, --help help for gobuster
-z, --noprogress Don't display progress
-o, --output string Output file to write results to (defaults to stdout)
-q, --quiet Don't print the banner and other noise
-t, --threads int Number of concurrent threads (default 10)
-v, --verbose Verbose output (errors)
-w, --wordlist string Path to the wordlist
Use "gobuster [command] --help" for more information about a command.
Updating Go fixed it. Thank you both very much!
Trying to build from source on Ubuntu 16.04 and getting this error message when I run
go get
:Output of
$go version
:go version go1.6.2 linux/amd64
Any help?