Giter Site home page Giter Site logo

Compile error about gobuster HOT 5 CLOSED

oj avatar oj commented on August 16, 2024
Compile error

from gobuster.

Comments (5)

OJ avatar OJ commented on August 16, 2024

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!

from gobuster.

OJ avatar OJ commented on August 16, 2024

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!

from gobuster.

g0tmi1k avatar g0tmi1k commented on August 16, 2024

For what its worth:

  • Kali 1.x was based on Debian 7 - uses golang 1.0.
  • Kali 2.x is based on Debian 8 - uses golang 1.3.

...Not sure what the minimum golang is (somewhere between 1.1 - 1.3).

Kali 1

root@kali:~/gobuster# go build
# _/root/gobuster
./main.go:286: undefined: bufio.NewScanner
root@kali:~/gobuster#

Kali 2

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#

from gobuster.

OJ avatar OJ commented on August 16, 2024

Thanks @g0tmi1k :)

from gobuster.

Hax0rG1rl avatar Hax0rG1rl commented on August 16, 2024

Thanks @g0tmi1k. I got it installed over a Ubuntu 14 LTS VM and is working properly right now :)

from gobuster.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.