Skip to content

ishan-saha/DehashedMe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔍 DeHashed v2 API Lookup Tool

Python License Status API

A powerful and simple Python script that allows you to search breaches using the DeHashed v2 API and exports the results into a clean Excel file for further analysis or investigation.


🚀 Features

  • 🔐 Authenticated access via API key
  • 📄 Exports results to .xlsx file
  • 📚 Flattened, human-readable format
  • 📡 Supports large query results with pagination
  • 🧹 Clean and structured output format
  • 🐍 Compatible with Python 3.9+

⚙️ Installation

git clone https://github.com/ishan-saha/DehashedMe.git
cd DehashedMe
pip install -r requirements.txt

🔑 Configuration

Create a config.json file in the root directory:

{
  "api_key": "YOUR_DEHASHED_API_KEY_HERE"
}

Replace YOUR_DEHASHED_API_KEY_HERE with your actual DeHashed API key.

🛠️ Usage

python dehashed.py "<search_term>" <output_filename>

Example:

python dehashed.py "gmail.com" gmail_results

This will create an Excel file named gmail_results-dehashed.xlsx in the current directory.

📦 Output Format

The Excel file includes the following fields (flattened): • Email • Username • IP Address • Password / Hashed Password • Name, DOB, Phone, Address • Company, URL, Social • Raw record flags (e.g., LE only, Unstructured)

📸 Sample Output

email	username	ip_address	password	dob
test@example.com	username@example.com	127.0.0.1	examplepassword	01/02/60

🧩 Dependencies • requests • pandas • openpyxl

Install them via:

pip install requests pandas openpyxl

⚠️ Warning Suppression (Optional)

If you see warnings like NotOpenSSLWarning, you can suppress them by adding:

import warnings
from urllib3.exceptions import NotOpenSSLWarning
warnings.filterwarnings("ignore", category=NotOpenSSLWarning)

📄 License

This project is licensed under the MIT License.

🤝 Contributing

PRs are welcome! If you have suggestions for improvements or bug fixes, feel free to open an issue or submit a pull request.

📫 Contact

Built with ❤️ by Your Name · Feel free to reach out!

About

A python based API caller for dehashed.com. Used for exporting the data to excel.

Topics

Resources

License

Stars

Watchers

Forks

Languages