CeWL
CeWL
CeWL (Custom Word List generator) 是一款从网站内容生成密码字典的工具,通过爬取指定网站收集单词。
基础使用
从网站生成字典
cewl https://target.com -w custom_dict.txt
指定深度和最小长度
cewl https://target.com -d 2 -m 6 -w custom_dict.txt
包含邮件地址
cewl https://target.com -e -w emails.txt
使用代理
cewl https://target.com -w dict.txt --proxy http://127.0.0.1:8080
常用参数
| 参数 |
描述 |
| -d |
爬取深度 |
| -m |
最小单词长度 |
| -w |
输出文件 |
| -e |
提取邮件地址 |
| -n |
仅爬取指定域名 |
| -v |
详细输出 |
| –proxy |
使用代理 |
功能特性
- 网站爬取 - 自动收集网站内容
- 自定义深度 - 控制爬取范围
- 邮件提取 - 收集邮件地址
- 多语言支持 - 支持多种语言
- 代理支持 - 支持 HTTP/HTTPS 代理
使用示例
# 爬取深度 3,最小 8 个字符
cewl https://target.com -d 3 -m 8 -w dict.txt
# 仅爬取主域名
cewl https://target.com -n -w dict.txt
# 提取邮件和单词
cewl https://target.com -e -w output.txt
# 使用用户代理
cewl https://target.com -w dict.txt --user-agent "Mozilla/5.0"
参考资源