pranxv17/simple-subdomain-enumeration
GitHub: pranxv17/simple-subdomain-enumeration
一个基于 Bash 的轻量脚本,利用 Assetfinder 和 Httprobe 实现目标域名存活子域名的自动发现与去重。
Stars: 0 | Forks: 0
# 简单的子域名枚举
一个轻量级的 Bash 脚本,用于使用 Assetfinder 和 Httprobe 发现目标域名的存活子域名。
## 功能
- 使用 Assetfinder 查找子域名
- 使用 Httprobe 检查存活的 HTTP/HTTPS 服务
- 移除重复条目
- 将结果保存到文本文件中
- 简单易用
## 要求
安装以下工具:
- assetfinder
- httprobe
### 安装 Assetfinder
```
go install github.com/tomnomnom/assetfinder@latest
```
### 安装 Httprobe
```
go install github.com/tomnomnom/httprobe@latest
```
### 将 Go binaries 添加到 PATH
```
echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.bashrc
source ~/.bashrc
```
## 用法
赋予脚本执行权限:
```
chmod +x simple_subdomain_enumeration_script.sh
```
运行脚本:
```
./simple_subdomain_enumeration_script.sh
```
出现提示时,输入目标域名:
```
Enter the domain name (example.com): example.com
```
## 示例输出
```
[*] Finding subdomains for example.com ...
[+] Subdomains found:
https://api.example.com
https://mail.example.com
https://www.example.com
[+] Results saved in /home/user/Subdomains_list.txt
```
## 输出
结果保存在:
```
Subdomains_list.txt
```
## 免责声明
请仅对你拥有或获得明确授权测试的域名使用此工具。未经授权的扫描可能会违反法律、法规或服务条款。
## 作者
GitHub: @pranxv17
标签:动态插桩, 子域名枚举, 实时处理, 应用安全, 日志审计, 系统安全, 资产测绘