Closed Hax0rG1rl closed 9 years ago
This won't build on Kali with the default go setup. You'll have to install a more up-to-date go environment.
Either that or build it on another machine :) But yeah, Kali is your problem. Cheers!
To be clear, I meant that you needed to download and install the go tools from golang.org or through a more up to date deb package. The one in the Kali repo is outdated. Thanks!
For what its worth:
golang 1.0
.golang 1.3
....Not sure what the minimum golang is (somewhere between 1.1
- 1.3
).
root@kali:~/gobuster# go build
# _/root/gobuster
./main.go:286: undefined: bufio.NewScanner
root@kali:~/gobuster#
root@kali:~/gobuster# go build
root@kali:~/gobuster# ./gobuster
WordList (-w): Must be specified
Url/Domain (-u): Must be specified
root@kali:~/gobuster# go version
go version go1.3.3 linux/amd64
root@kali:~/gobuster#
Thanks @g0tmi1k :)
Thanks @g0tmi1k. I got it installed over a Ubuntu 14 LTS VM and is working properly right now :)
Hi,
Just had a try of your toy but first compile action gave me an error.
"./main.go:286: undefined: bufio.NewScanner"
Platform: Kali 64 bit. go compiler installed by using "apt-get install golang"
Any ideas of how that can be resolved?
The NewScanner directive is located only with that line, 286, so I suppose you would know better what's going on at that point.
Thanks.