# Recon

## Related

[Bug bounty/Tools](/the-pentesters-cheat-sheet/bug-bounty/02-tools.md)

## Subdomain discovery

### SSL/TLS Certificates

Find subdomains via ssl-certificates.\
E.g. using [crt.sh](https://crt.sh)

### Google

Exclude default `www` subdomain and look for any other subdomains.

```
-site:www.domain.com site:*.domain.com
```

### dnsrecon

```bash
dnsrecon -t brt -d <domain>
```

### Sublist3r

> Sublist3r is a python tool designed to enumerate subdomains of websites using OSINT.\
> [Sublist3r](https://github.com/aboul3la/Sublist3r)

```bash
/sublist3r.py -d <domain>
```

### Non-public DNS

E.g. private DNS server or specified locally in `/etc/hosts`

### fuff

See also [Webserver scanning](/the-pentesters-cheat-sheet/enumeration/03-webserver-scanning.md)

```bash
ffuf -w <wordlist-file> -H "Host: FUZZ.domain.com" -u http://<ip>
```


---

# 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://d4rk1337.gitbook.io/the-pentesters-cheat-sheet/reconnaissance/01-reconnaissance.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.
