0% found this document useful (0 votes)
688 views2 pages

Golang Tools Setup Guide

1. Install golang using apt and configure go get by adding a line to ~/.bashrc. 2. There are two ways to install waybackurls - by cloning the github repository and building from source, or using go get and copying the binary to /usr/local/bin. 3. Similarly, there are two ways to install gau - by cloning the github repository and building from source in the gau/cmd/gau directory, or using go get and copying the binary to /usr/local.

Uploaded by

bugs bunny
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
688 views2 pages

Golang Tools Setup Guide

1. Install golang using apt and configure go get by adding a line to ~/.bashrc. 2. There are two ways to install waybackurls - by cloning the github repository and building from source, or using go get and copying the binary to /usr/local/bin. 3. Similarly, there are two ways to install gau - by cloning the github repository and building from source in the gau/cmd/gau directory, or using go get and copying the binary to /usr/local.

Uploaded by

bugs bunny
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

First install golang:

## sudo apt install golang


Configuring go get in kali:
Enter this command in terminal
## echo 'source $GOPATH/src/github.com/tomnomnom/gf/gf-completion.bash' >>
~/.bashrc

Installing waybackurls:
1. With directly clone from the github:
step 1. go to github of waybackurls then click on code
step 2. copy the url
step 3. go to terminal an type
## git clone https://github.com/tomnomnom/waybackurls.git
step 4. type on terminal ## cd waybackurls
step 5. Type command ## chmod +x main.go
step 6. Type this command
## go build main.go
OR
## go make main.go
step 7. Then ls the directory you can see a file is created with name ## main
step 8. Type command in terminal:
## sudo cp main /usr/local/bin/waybackurls (For use waybackurls anywhere)
###############Complete######################
2. With go get
Step1. Type the command interminal or you can find this command in waybackurls
github
## go install github.com/tomnomnom/waybackurls@latest
Step2. Type cd command and hit enter you are in your home directory
Step3. Type command
## cd /go/bin
Step4. ls the directory then you can see waybackurls in this directory
Step5. Type the command
## sudo cp waybackurls /usr/local (For use waybackurls anywhere)
###################Complete########################

Installing gau:
1. With directly clone from the github:
step 1. go to github of gau then click on code
step 2. copy the url
step 3. go to terminal an type
## git clone https://github.com/lc/gau.git
step 4. type on terminal ## cd gau/cmd/gau
step 5. Type command ## chmod +x main.go
step 7. Type this command
## go build main.go
OR
## go make main.go
step 7. Then ls the directory you can see a file is created with name ## main
step 9. Type command in terminal:
## sudo cp main /usr/local/gau (For use gau anywhere)
###############Complete######################
2. With go get
Step1. Type the command interminal or you can find this command in gau github
## $ go install github.com/lc/gau/v2/cmd/gau@latest
Step2. Type cd command and hit enter you are in your home directory
Step3. Type command
## cd /go/bin
Step4. ls the directory then you can see gau in this directory
Step5. Type the command
## sudo cp gau /usr/local (For use gau anywhere)
##############Complete##############################

You might also like