# Assetfinder

Assetfinder is a subdomain enumeration tool that can be used to find subdomains for a given domain. To install Assetfinder, you need to have a basic understanding of the command line and some experience with using a terminal or command prompt.

Here are the steps to install Assetfinder on a Linux or macOS system:

1. Install Go, if you don't have it already installed:

```bash
sudo apt-get install golang-go
```

2. Set up the GOPATH environment variable:

```bash
export GOPATH=$HOME/go
```

3. Install Assetfinder:

```bash
go install github.com/tomnomnom/assetfinder@latest
```

4. Once the installation is complete, you can run Assetfinder from the terminal by typing:

```bash
assetfinder
```

To install Assetfinder on a Windows system, you will need to follow a similar process, but some of the commands and steps may be different.

Once Assetfinder is installed, you can use it to perform subdomain enumeration on a target domain. For example, to enumerate subdomains for the domain "example.com", you can run the following command:

```bash
assetfinder example.com
```

This will enumerate subdomains for the domain "example.com" using the sources specified in the tool's configuration file.

You can also combine the results of Assetfinder with other subdomain enumeration tools to get a more comprehensive list of subdomains. For example, you can pipe the output of Assetfinder into another tool, such as Aquatone, to perform screenshotting and HTML content analysis:

```bash
assetfinder example.com | aquatone
```

These are the basic steps for installing and using Assetfinder for subdomain enumeration. You can find more information on the options available with Assetfinder by running the following command:

```bash
assetfinder -h
```

This will display the help information for the tool, which includes a description of each option and how to use it.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bugbounty-for-starters.humbertojunior.com.br/reconnaissance-phase/subdomain-enumeration/assetfinder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
