WhatWeb 开源项目介绍

项目简介
WhatWeb 是一个开源项目,Next generation web scanner
- 项目地址:urbanadventurer/WhatWeb
- Star 数:6995 ⭐
- 开发语言:Ruby
- 项目作者:urbanadventurer
- 主题标签:
#application-security#appsec#hacking#hacking-tools#kali-linux#network-security#owasp#penetration-test
功能特点
- 开源免费,可自由使用和修改
- 社区活跃,持续更新维护
- 文档完善,易于上手
- 支持二次开发和定制
相关链接
- 📦 GitHub 仓库:https://github.com/urbanadventurer/WhatWeb
- 📖 官方文档:请参考项目 README.md
- 🐛 提交 Issues:https://github.com/urbanadventurer/WhatWeb/issues
注意事项
- 请前往 GitHub 主页查看最新版本和更新日志
- 部分项目需要配合 API Key 或配置文件才能使用
- 建议在开发环境测试无误后再部署到生产环境
- 喜欢的话可以给项目点个 Star ⭐ 支持作者
本文由自动化整理发布,项目信息来自 GitHub。如有疑问请参考项目官方文档。
安装部署(实操步骤)
1. 前置准备
- 项目仓库:urbanadventurer/WhatWeb(https://github.com/urbanadventurer/WhatWeb)
- 需要本机具备 Git;按项目语言准备对应运行时(Python / Node.js / Go / Java 等)
- 建议先在本机或测试服务器上跑通,再部署到生产环境
- 遇到依赖版本问题时,以仓库 README 与 Releases 说明为准
2. 官方安装 / 启动命令(摘自项目 README,可直接复制执行)
$ ./whatweb reddit.com
http://reddit.com [301 Moved Permanently] Country[UNITED STATES][US], HTTPServer[snooserv], IP[151.101.65.140], RedirectLocation[https://www.reddit.com/], UncommonHeaders[retry-after,x-served-by,x-cache-hits,x-timer], Via-Proxy[1.1 varnish]
https://www.reddit.com/ [200 OK] Cookies[edgebucket,eu_cookie_v2,loid,rabt,rseor3,session_tracker,token], Country[UNITED STATES][US], Email[banner@2x.png,snoo-home@2x.png], Frame, HTML5, HTTPServer[snooserv], HttpOnly[token], IP[151.101.37.140], Open-Graph-Protocol[website], Script[text/javascript], Strict-Transport-Security[max-age=15552000; includeSubDomains; preload], Title[reddit: the front page of the internet], UncommonHeaders[fastly-restarts,x-served-by,x-cache-hits,x-timer], Via-Proxy[1.1 varnish], X-Frame-Options[SAMEORIGIN]# Force real-time output to screen and logs (slower but immediate)
./whatweb --output-sync -t 100 --log-brief=results.txt targets.txt
# Custom buffer size for high-volume logging
./whatweb --output-buffer-size=50 -t 100 --log-verbose=detailed.log targets.txt
# Disable buffering entirely for immediate file writes
./whatweb --output-buffer-size=0 -t 10 --log-json=results.json targets.txt# Basic profiling to stderr
WHATWEB_PROFILE=1 ./whatweb -t 25 targets.txt
# Save profile to file
WHATWEB_PROFILE=1 WHATWEB_PROFILE_FILE=profile.txt ./whatweb -t 25 targets.txt3. 部署流程
- 克隆仓库:
git clone https://github.com/urbanadventurer/WhatWeb - 进入目录后按上面的官方命令安装依赖
- 参考 README 的配置说明填写配置文件或环境变量
- 按官方说明启动服务,确认监听端口与访问地址
- 浏览器访问验证功能,确认无报错后再开放外网
4. 常见问题排查
- 依赖安装失败:先升级包管理器,再确认运行时版本符合 README 要求
- 启动报端口占用:修改配置中的端口或释放被占用端口
- 页面打不开:检查防火墙 / 安全组是否放行对应端口
- 功能异常:查看运行日志,对照 Issues 中同类问题处理