Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
h8mail — 电子邮件OSINT与密码泄露搜索工具,支持本地运行或使用付费服务。支持追查相关电子邮件。 | Kitploit
工具/GitHubGitHub/khast3x/h8mail
OSINT (开源情报)密码破解侦察信息收集威胁情报电子邮件收集
GitHubkhast3x/h8mail

h8mail

电子邮件OSINT与密码泄露搜索工具,支持本地运行或使用付费服务。支持追查相关电子邮件。

查看仓库
5.2k608114年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

platforms PyPI version PyPI - Python Version Downloads travis
Docker Pulls
h8mail 是一款电子邮件OSINT和违规数据搜索工具,利用不同的违规和情报服务,或本地违规数据,如Troy Hunt的"Collection1"和臭名昭著的"Breach Compilation"种子。



📖 目录

  • 目录
  • 功能
    • API
  • 使用
  • 使用示例
  • 感谢与致谢
  • 相关开源项目

🍊 功能

  • 🔎 电子邮件模式匹配(正则表达式),适用于从其他工具输出中读取
  • 🌍 传入URL,直接查找并定位页面中的电子邮件
  • 💫 本地搜索的宽松模式("john.smith", "evilcorp")
  • 📦 安装简便。可通过 pip 安装,仅需 requests
  • ✅ 批量读取文件作为目标
  • 📝 输出为CSV或JSON文件
  • 💪 兼容"Breach Compilation"种子脚本
  • 🏠 使用多进程在本地搜索明文和压缩的.gz文件
    • 🌀 兼容"Collection#1"
  • 🔥 获取相关电子邮件
  • 🐲 通过将相关电子邮件加入正在进行的搜索来追踪关联
  • 👑 支持高级用户的高级查找服务
  • 🏭 自定义查询高级API。支持用户名、哈希、IP、域名和密码等
  • 📚 汇总所有目标和方法的违规结果
  • 👀 包含隐藏密码选项,用于演示
  • 🌈 美观的颜色

📦 pip3 install h8mail


API

🔑 - 需要API密钥


🍊 使用

root@kitploit:~
usage: h8mail [-h] [-t USER_TARGETS [USER_TARGETS ...]]
              [-u USER_URLS [USER_URLS ...]] [-q USER_QUERY] [--loose]
              [-c CONFIG_FILE [CONFIG_FILE ...]] [-o OUTPUT_FILE]
              [-j OUTPUT_JSON] [-bc BC_PATH] [-sk]
              [-k CLI_APIKEYS [CLI_APIKEYS ...]]
              [-lb LOCAL_BREACH_SRC [LOCAL_BREACH_SRC ...]]
              [-gz LOCAL_GZIP_SRC [LOCAL_GZIP_SRC ...]] [-sf]
              [-ch [CHASE_LIMIT]] [--power-chase] [--hide] [--debug]
              [--gen-config]

Email information and password lookup tool

optional arguments:
  -h, --help            show this help message and exit
  -t USER_TARGETS [USER_TARGETS ...], --targets USER_TARGETS [USER_TARGETS ...]
                        Either string inputs or files. Supports email pattern
                        matching from input or file, filepath globing and
                        multiple arguments
  -u USER_URLS [USER_URLS ...], --url USER_URLS [USER_URLS ...]
                        Either string inputs or files. Supports URL pattern
                        matching from input or file, filepath globing and
                        multiple arguments. Parse URLs page for emails.
                        Requires http:// or https:// in URL.
  -q USER_QUERY, --custom-query USER_QUERY
                        Perform a custom query. Supports username, password,
                        ip, hash, domain. Performs an implicit "loose" search
                        when searching locally
  --loose               Allow loose search by disabling email pattern
                        recognition. Use spaces as pattern seperators
  -c CONFIG_FILE [CONFIG_FILE ...], --config CONFIG_FILE [CONFIG_FILE ...]
                        Configuration file for API keys. Accepts keys from
                        Snusbase, WeLeakInfo, Leak-Lookup, HaveIBeenPwned,
                        Emailrep, Dehashed and hunterio
  -o OUTPUT_FILE, --output OUTPUT_FILE
                        File to write CSV output
  -j OUTPUT_JSON, --json OUTPUT_JSON
                        File to write JSON output
  -bc BC_PATH, --breachcomp BC_PATH
                        Path to the breachcompilation torrent folder. Uses the
                        query.sh script included in the torrent
  -sk, --skip-defaults  Skips Scylla and HunterIO check. Ideal for local scans
  -k CLI_APIKEYS [CLI_APIKEYS ...], --apikey CLI_APIKEYS [CLI_APIKEYS ...]
                        Pass config options. Supported format: "K=V,K=V"
  -lb LOCAL_BREACH_SRC [LOCAL_BREACH_SRC ...], --local-breach LOCAL_BREACH_SRC [LOCAL_BREACH_SRC ...]
                        Local cleartext breaches to scan for targets. Uses
                        multiprocesses, one separate process per file, on
                        separate worker pool by arguments. Supports file or
                        folder as input, and filepath globing
  -gz LOCAL_GZIP_SRC [LOCAL_GZIP_SRC ...], --gzip LOCAL_GZIP_SRC [LOCAL_GZIP_SRC ...]
                        Local tar.gz (gzip) compressed breaches to scans for
                        targets. Uses multiprocesses, one separate process per
                        file. Supports file or folder as input, and filepath
                        globing. Looks for 'gz' in filename
  -sf, --single-file    If breach contains big cleartext or tar.gz files, set
                        this flag to view the progress bar. Disables
                        concurrent file searching for stability
  -ch [CHASE_LIMIT], --chase [CHASE_LIMIT]
                        Add related emails from hunter.io to ongoing target
                        list. Define number of emails per target to chase.
                        Requires hunter.io private API key if used without
                        power-chase
  --power-chase         Add related emails from ALL API services to ongoing
                        target list. Use with --chase
  --hide                Only shows the first 4 characters of found passwords
                        to output. Ideal for demonstrations
  --debug               Print request debug information
  --gen-config, -g      Generates a configuration file template in the current
                        working directory & exits. Will overwrite existing
                        h8mail_config.ini file


🍊 使用示例

查询单个目标
root@kitploit:~
$ h8mail -t [email protected]
查询目标列表,指定API密钥配置文件,输出到 pwned_targets.csv
root@kitploit:~
$ h8mail -t targets.txt -c config.ini -o pwned_targets.csv
查询目标列表,针对本地副本的Breach Compilation,从命令行传入Snusbase的API密钥
root@kitploit:~
$ h8mail -t targets.txt -bc ../Downloads/BreachCompilation/ -k "snusbase_token=$snusbase_token"
查询本地副本的Breach Compilation,不调用API
root@kitploit:~
$ h8mail -t targets.txt -bc ../Downloads/BreachCompilation/ -sk
搜索本地所有.gz文件中的目标,跳过默认检查
root@kitploit:~
$ h8mail -t targets.txt -gz /tmp/Collection1/ -sk
检查明文转储中的目标。将接下来10个相关电子邮件加入目标列表。从命令行读取密钥
root@kitploit:~
$ h8mail -t [email protected] -lb /tmp/4k_Combo.txt -ch 10 -k "hunterio=ABCDE123"
查询用户名。从命令行读取密钥
root@kitploit:~
$ h8mail -t JSmith89 -q username -k "[email protected]" "dehashed_key=ABCDE123"
查询IP。追踪所有相关目标。从命令行读取密钥
root@kitploit:~
$ h8mail -t 42.202.0.42 -q ip -c h8mail_config_priv.ini -ch 2 --power-chase
获取URL内容(命令行+文件)。定位所有发现的电子邮件
root@kitploit:~
$ h8mail -u "https://pastebin.com/raw/kQ6WNKqY" "list_of_urls.txt"

🍊 感谢与致谢

  • Snusbase 对开发者友好
  • kodykinzie 撰写了一篇优秀的介绍与操作指南文章并录制了视频,介绍如何安装和使用h8mail
  • Leak-Lookup 对开发者友好
  • Dehashed 对开发者友好
  • h8mail的Pypi集成基于audreyr的CookieCutter PyPackage项目
  • Logo由Shopify的Hatchful生成
  • Jake Creps 撰写了h8mail v2介绍文章
  • Alejandro Caceres 提供了scylla.so。如果可能,请支持他
  • IntelX 对开发者友好
  • Breachdirectory.tk 对开发者友好

💜 h8mail 可以在以下系统中找到:

  • BlackArch Linux
  • Tsurugi DFIR VM
  • CSI Linux
  • Trace Labs OSINT VM

🍊 相关开源项目

  • WhatBreach 作者 Ekultek
  • HashBuster 作者 s0md3v
  • BaseQuery 作者 g666gle
  • LeakLooker 作者 woj-ciech
  • buster 作者 sham00n
  • Scavenger 作者 ndinfosecguy
  • pwndb 作者 davidtavarez

🍊 备注

  • 希望被集成的服务提供商可以发送邮件至 k at khast3x dot club (支持PGP)
  • h8mail 是我在空闲时间维护的。欢迎反馈和故事。
  • 许可证为 BSD 3-Clause
  • 我的代码使用我的 Keybase PGP 密钥进行签名。你可以通过以下方式获取:
root@kitploit:~
# curl + gpg 技巧:导入ktx的密钥
curl https://keybase.io/ktx/pgp_keys.asc | gpg --import

# Keybase应用也可以将密钥推送到gpg密钥链
keybase pgp pull ktx

如果您希望随时了解此项目的最新动态:

下载工具
服务功能状态
HaveIBeenPwned(v3)电子邮件违规数量✅ 🔑
HaveIBeenPwned Pastes(v3)提及目标的文本文件URL✅ 🔑
Hunter.io - 公开相关电子邮件数量✅
Hunter.io - 服务(免费层)明文相关电子邮件,追踪关联✅ 🔑
Snusbase - 服务明文密码、哈希和盐值、用户名、IP - 快速 ⚡✅ 🔑
Leak-Lookup - 公开可搜索的违规结果数量✅ (🔑)
Leak-Lookup - 服务明文密码、哈希和盐值、用户名、IP、域名✅ 🔑
Emailrep.io - 服务(免费)最后出现的违规、社交媒体档案✅ 🔑
scylla.so - 服务(免费)明文密码、哈希和盐值、用户名、IP、域名🚧
Dehashed.com - 服务明文密码、哈希和盐值、用户名、IP、域名✅ 🔑
IntelX.io - 服务(免费试用)明文密码、哈希和盐值、用户名、IP、域名、比特币钱包、IBAN✅ 🔑
🆕 Breachdirectory.org - 服务(免费)明文密码、哈希和盐值、用户名、域名🚧 🔑