DEV Community

Cover image for how to install assetfinder tool on any linunx distro 🐧
vala broumand
vala broumand

Posted on

4

how to install assetfinder tool on any linunx distro 🐧

With this tool we can find domains and subdomains potentially related to a given domain. this tool is greatly useful in the asset discovery proccess.

1- first of all we should install go lang on our machine

sudo apt install go-lang -y
Enter fullscreen mode Exit fullscreen mode

the command above is for Debian Based Linux distributions, if you are using a different distro find out how to install go.

check if the go lang installed successfully :

go version
Enter fullscreen mode Exit fullscreen mode

if yes you should see something like this:

go version go1.18.1 linux/amd64
Enter fullscreen mode Exit fullscreen mode

2- also we need git to be installed on our machine

sudo apt install git
Enter fullscreen mode Exit fullscreen mode

check the git installation :

git --version
Enter fullscreen mode Exit fullscreen mode

3-now change your directory and move to the downloads folder

cd Downloads
Enter fullscreen mode Exit fullscreen mode

4- now we should clone the assetfinder repository from Tomnomnom github

git clone https://github.com/tomnomnom/assetfinder.git
Enter fullscreen mode Exit fullscreen mode

5-now move into the assetfinder directory

cd assetfinder
Enter fullscreen mode Exit fullscreen mode

6- create a go module

go mod init assetfinder
Enter fullscreen mode Exit fullscreen mode

7-in this step we should build an executable go package with the command below

the dot sign means build the package in the current directory

go build .
Enter fullscreen mode Exit fullscreen mode

8- now we should move the file to bin folder so we can access assetfinder from anywhere :D

sudo mv assetfinder /usr/local/bin/
Enter fullscreen mode Exit fullscreen mode

and tada we are ready to hack !πŸ—Ώ

Heroku

Simplify your DevOps and maximize your time.

Since 2007, Heroku has been the go-to platform for developers as it monitors uptime, performance, and infrastructure concerns, allowing you to focus on writing code.

Learn More

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay