主动基础设施识别
Whatweb
Whatweb 可识别网络技术,包括内容管理系统 (CMS)、博客平台、统计/分析软件包、JavaScript 库、网络服务器和嵌入式设备。我们建议通过 whatweb -h 阅读 whatweb 帮助菜单,以了解可用选项,如攻击级别控制或冗长输出。在本例中,我们将通过 -a 标记使用 3 级攻击性,并通过 -v标记使用冗长输出。
AcesMin@htb[/htb]$ whatweb -a3 https://www.facebook.com -v
WhatWeb report for https://www.facebook.com
Status : 200 OK
Title : <None>
IP : 31.13.92.36
Country : IRELAND, IE
Summary : Strict-Transport-Security[max-age=15552000; preload], PasswordField[pass], Script[text/javascript], X-XSS-Protection[0], HTML5, X-Frame-Options[DENY], Meta-Refresh-Redirect[/?_fb_noscript=1], UncommonHeaders[x-fb-rlafr,x-content-type-options,x-fb-debug,alt-svc]
Detected Plugins:
[ HTML5 ]
HTML version 5, detected by the doctype declaration
[ Meta-Refresh-Redirect ]
Meta refresh tag is a deprecated URL element that can be
used to optionally wait x seconds before reloading the
current page or loading a new page. More info:
https://secure.wikimedia.org/wikipedia/en/wiki/Meta_refresh
String : /?_fb_noscript=1
..............
..............
[ X-Frame-Options ]
This plugin retrieves the X-Frame-Options value from the
HTTP header. - More Info:
http://msdn.microsoft.com/en-us/library/cc288472%28VS.85%29.
aspx
String : DENY
[ X-XSS-Protection ]
This plugin retrieves the X-XSS-Protection value from the
HTTP header. - More Info:
http://msdn.microsoft.com/en-us/library/cc288472%28VS.85%29.
aspx
String : 0
HTTP Headers:
HTTP/1.1 200 OK
Vary: Accept-Encoding
Content-Encoding: gzip
Set-Cookie: noscript=1; path=/; domain=.facebook.com; secure
x-fb-rlafr: 0
Pragma: no-cache
Cache-Control: private, no-cache, no-store, must-revalidate
Expires: Sat, 01 Jan 2000 00:00:00 GMT
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
X-Frame-Options: DENY
Strict-Transport-Security: max-age=15552000; preload
Content-Type: text/html; charset="utf-8"
X-FB-Debug: 7bEryjJ3tsTb/ap562d5L6KUJyJJ3bJh9XoamIo2lCVrX4cK/VAGbLx7muaAwnyobVm9myC3fQ+CXJqkk0eacg==
Date: Wed, 06 Oct 2021 09:04:31 GMT
Alt-Svc: h3=":443"; ma=3600, h3-29=":443"; ma=3600,h3-27=":443"; ma=3600
Connection: closeWafW00f
WafW00f是一种 Web 应用程序防火墙 ( WAF) 指纹识别工具,可发送请求并分析响应以确定安全解决方案是否到位。我们可以使用以下命令安装它:
我们可以使用 -a 等选项检查所有可能的 WAF,而不是在第一次匹配时停止扫描;也可以通过 -i 标志从输入文件中读取目标;还可以使用 -p 选项代理请求。
Aquatone
Aquatone 是一款用于对跨多个主机的网站进行自动可视化检查的工具,通过扫描可配置的端口列表、使用无头 Chrome 浏览器访问网站并截图,可以方便地快速获得基于 HTTP 的攻击面概况。这非常有用,尤其是在处理庞大的子域列表时。Aquatone 默认未安装在 Parrot Linux 中,因此我们需要通过以下命令进行安装。
Install Aquatone
Aquatone Options
现在,我们可以在子域列表中使用 cat,并通过管道将命令发送到 aquatone:
完成后,我们将有一个名为aquatone_report.html的文件,我们可以在其中看到屏幕截图、已识别的技术、服务器响应标头和 HTML。
最后更新于
这有帮助吗?