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

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

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

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

工具目录

分类

查看所有分类
Loading categories
censys-enumeration — 一个使用 Censys 上的 SSL/TLS 证书数据集提取指定域名的子域名/电子邮件的脚本 | Kitploit
工具/GitHubGitHub/0xbharath/censys-enumeration
OSINT (开源情报)侦察信息收集子域名枚举电子邮件收集
GitHub0xbharath/censys-enumeration

censys-enumeration

一个使用 Censys 上的 SSL/TLS 证书数据集提取指定域名的子域名/电子邮件的脚本

查看仓库
156323年前Kitploit 审核通过

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Censys 枚举

  • 一个脚本,使用 Censys 上的 SSL/TLS 证书数据集为给定域名提取子域名/电子邮件
  • 输出为 JSON 格式

演示

script-in-action

截图

非详细模式

non-verbose

详细模式

verbose

JSON 输出示例

non-verbose

第三方依赖包

censys

click

设置

  • 克隆此仓库
root@kitploit:~
$ git clone [email protected]:yamakira/censys-enumeration.git
  • 安装依赖
root@kitploit:~
$ pip install -r requirements.txt
  • 在 https://censys.io 上创建账户以获取 Censys API ID 和 Censys API secret

  • 将 Censys API ID 和 Censys API secret 分别作为 CENSYS_API_ID 和 CENSYS_API_SECRET 添加到操作系统环境变量中。在 Linux 上,您可以使用类似于以下的命令来完成此操作

root@kitploit:~
$ export CENSYS_API_SECRET="iySd1n0l2JLnHTMisbFHzxClFuE0"
  • 查看帮助菜单
root@kitploit:~
$ python censys_enumeration.py --help                                                                                                 
Usage: censys_enumeration.py [OPTIONS] FILE

Options:
  --verbose                       Verbose output
  --subdomains / --no-subdomains  Enable/Disable subdomain enumeration
  --emails / --no-emails          Enable/Disable email enumeration
  --help                          Show this message and exit.

用法

  • 子域名和电子邮件枚举
root@kitploit:~
$ python censys_enumeration.py domains.txt
  • 仅子域名枚举
root@kitploit:~
$ python censys_enumeration.py --no-emails domains.txt 
  • 仅电子邮件枚举
root@kitploit:~
$ python censys_enumeration.py --no-sudomains domains.txt 
  • 详细输出
root@kitploit:~
$ python censys_enumeration.py --verbose domains.txt 
  • 输出到自定义文件

$ python censys_enumeration.py --verbose --outfile results.json domains.txt

root@kitploit:~
下载工具