How To Install Gf tool and waybackrurls in Kali Linux

Hello all

Let’s see how we can install gf tool and how to configure it in our linux machine

you need to install golang in your machine so let’s install it just run this command

sudo apt-get install golang

golang will be installed in your machine

Now run this command go get -u github.com/tomnomnom/gf

go to go/bin folder using this command cd go/bin

gf tool is here let’s see using ls command

Now let’s move it to /usr/loacl/bin folder using this command sudo cp gf /usr/local/bin

it will ask you to your root password enter your password and hit <ENTER>

now setup his patterns so let’s back to one directory and run this command

cd src/github.com/tomnomnom/gf/examples

all patterns are here you can see using ls command

Open another tab and create folder in your home directory using this command mkdir .gf

Now copy all patterns in .gf folder in my case my directory name is sudo cp * /home/dark/.gf/

all patterns will be copied in .gf folder you can see using ls command

now let’s add some other patterns clone this repository using this command

git clone https://github.com/1ndianl33t/Gf-Patterns

cd Gf-Patterns

copy all patterns in .gf folder using this command

sudo cp * ../.gf/

Now let’s see all patterns

Our gf tool fully installed now we need to install waybackurls to test and find urls let’s install it

go get -u github.com/tomnomnom/waybackurls

go to your go/bin directory and move it to /usr/local/bin folder

cd go/bin

cp waybackurls /usr/local/bin

configuration has been completed let’s test it

waybackurls starbucks.com | gf xss

Leave a Reply