# Godehashed | Tool That Uses The Dehashed.Com API To Search For Compromised Assets

**URL:** <https://onehack.st/t/godehashed-tool-that-uses-the-dehashed-com-api-to-search-for-compromised-assets/176694>\
**Category:** Tools & Scripts\
**Tags:** tools, freebies, business\
**Created:** [March 26, 2021, 12:36pm UTC](https://onehack.st/t/godehashed-tool-that-uses-the-dehashed-com-api-to-search-for-compromised-assets/176694 "2021-03-26T12:36:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BlueHacker](https://onehack.st/user_avatar/onehack.st/bluehacker/32/174721_2.png) [@BlueHacker](https://onehack.st/u/BlueHacker)\
**Post date:** [March 26, 2021, 12:36pm UTC](https://onehack.st/t/godehashed-tool-that-uses-the-dehashed-com-api-to-search-for-compromised-assets/176694/1 "2021-03-26T12:36:57Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/4/6/461405d348919461ba2ee47836feef3e3d097fbe.png)

A golang tool that uses the [dehashed.com](http://dehashed.com) API to search for compromised assets. Results can then be compiled into a CSV for further analysis.

**Dehashed API**

You must supply the tool an api key. See apikey\_template.txt for example.

**Installation**

To install the tool in CLI run the following command. Your $GOPATH must already be set.

`go get https://github.com/an00byss/godehashed`

**Usage**

./godehashed -s email -i apikey.txt -e SOMEDOMAIN -o leaks.csv

```auto
Godehashed Usage():
-e string  
Email we are searching for  
-i string  
Name of apikey to import.  
-n string  
Name we are searching for.  
-o string  
Outfile file name, will output in CSV Format.  
-p int  
Phone number we are searching for  
-s string  
Specify what we are searching for: "name", "email", "phone", "username" or "list". Then add corresponding switch.  
-u string  
Username we are searching for
-l list  
Search a list of emails.

```

| Search Term | Examples |
| --- | --- |
| Email | `godehashed -s email -i apikey.txt -e SOMEDOMAIN.com -o leaks.csv` |
| List | `godehashed -s list -e email -i apikey.txt -l list.txt -o leaks.csv` |
| Username | `godehashed -s username -i apikey.txt -u USERNAME -o leaks.csv` |
| Name | `godehashed -s name -i apikey.txt -n "Name" -o leaks.csv` |
| Phone | `godehashed -s phone -i apikey.txt -p "phonenumber" -o leaks.csv` |

**Notice**

```auto
[!] Legal disclaimer: Usage of godehashed for attacking targets without
prior mutual consent is illegal. It is the end user's responsibility
to obey all applicable local, state and federal laws. Developers assume
no liability and are not responsible for any misuse or damage caused.

```

## GitHub:

> **[GitHub - an00byss/godehashed: A golang tool that uses the dehashed.com API to...](https://github.com/an00byss/godehashed)**
>
> A golang tool that uses the dehashed.com API to search for compromised assets.
