# Server setup for Bug Bounty

### Download go lang

{% embed url="<https://golang.org/dl/>" %}
Download the latest version of go lang
{% endembed %}

### Extract go lang

```bash
tar -C /usr/local/ -xzf {insert the file name}
```

### Setting go variables&#x20;

```bash
nano ~/.zshrc
nano ~/.bashrc
```

```bash
mkdir -p ~/go
```

Put the below text into zshrc and bashrc files

```bash
# GO Lang Variables
export GOPATH=$HOME/go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
export GOROOT=/usr/local/go
PATH=$PATH:$GOROOT/bin/:$GOPATH/bin
```

Source the files and check the go version

```bash
sudo apt update -y && sudo apt upgrade -y
source ~/.zshrc ~/.bashrc
go version
```

***

### ZSH shell setup with [PowerLevel10k](https://github.com/romkatv/powerlevel10k)

```bash
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
```

```bash
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
```

Configuring the \~/.zshrc file

```bash
ZSH_THEME="powerlevel10k/powerlevel10k"
```

Source the \~/.zshrc file to apply the changes

```bash
source ~/.zshrc
```

***

### Bug bounty hunter's tools:

```bash
go install -v github.com/tomnomnom/gf@latest
go install -v github.com/tomnomnom/gron@latest
go install -v github.com/tomnomnom/unfurl@latest
go install -v github.com/trap-bytes/403jump@latest
go install -v github.com/owasp-amass/amass/v4/...@master
go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
```


---

# 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://docs.matrixploit.com/bug-bounty-server-setup.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.
