> For the complete documentation index, see [llms.txt](https://wiki.pentestlist.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.pentestlist.com/offensive-security/external-infrastructure/discovery/email-address-discovery.md).

# Email Address Discovery

## Generic Email Address Discovery

### Email Finder

Find emails via search engines using a domain.

* <https://github.com/Josue87/EmailFinder>

`./emailfinder -d domain.com`

### emailGuesser

Guess email addresses based on multiple inputs and preferences. The tool will then try and check that the generated email address is valid.&#x20;

* <https://github.com/WhiteHatInspector/emailGuesser>

`python3 emailGuesser.py`

## o365 User Discovery

### OneDrive Enum

Enumerate valid o365 users

* <https://github.com/nyxgeek/onedrive_user_enum>

`python3 onedrive_enum.py -t microsoft -d` [`microsoft.com`](http://microsoft.com/) `-U firstlastname.txt`

## G-Suite User Discovery

### G-Suite email finding

Find valid email accounts using Gmail/G-Suite

* <https://github.com/evilsocket/legba>

`legba http.enum --payloads <employees-names.txt> --http-success-string "COMPASS" --http-success-codes 204 --quiet --target "https://mail.google.com/mail/gxlu?email={PAYLOAD}@broadcom.com"`

## Email Address Discovery via LinkedIn

### linkedin2username

Generate username lists for companies on LinkedIn

* <https://github.com/initstring/linkedin2username>

`python3 linkedin2username.py -u <GitHub Email> -c linkedin <Company> -p`

## Email Address Discovery via Third Party Sources

The following websites actively track and record valid email addresses for marketing purposes. But, we can make use of them in offensive security too.&#x20;

* Hunter.io&#x20;
* <https://rocketreach.co>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://wiki.pentestlist.com/offensive-security/external-infrastructure/discovery/email-address-discovery.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
