☰
信息搜集相关语法
2026/10/10 2:37:05 网站建设 项目流程

1. Google 搜索引擎

语法作用示例
site:限制搜索范围到指定网站或域名site:example.com
inurl:搜索 URL 中包含指定关键词的页面inurl:login
intext:搜索网页正文中包含指定关键词的页面intext:"admin"
intitle:搜索网页标题中包含指定关键词的页面intitle:"login"
filetype:搜索指定文件类型filetype:pdf

注意:多个语法可以组合使用,例如:

site:example.com inurl:login site:example.com filetype:pdf site:example.com intitle:"login"

2. Shodan

语法作用示例
hostname:搜索指定主机名或域名hostname:"google"
port:搜索指定端口或服务port:"21"
country:搜索指定国家country:"CN"
city:搜索指定城市city:"Hefei"
org:搜索指定组织或公司org:"google"
isp:搜索指定 ISPisp:"China Telecom"
product:搜索指定软件、平台或产品product:"Apache httpd"
version:搜索指定软件版本version:"1.6.2"
geo:根据经纬度搜索geo:"31.8639,117.2808"
before:/after:按数据收录时间筛选before:"11-11-15"
net:搜索指定 IP 或网段net:"210.45.240.0/24"

注意:多个字段可以组合使用,例如:

country:"CN" port:"80" org:"example" product:"Apache httpd" net:"210.45.240.0/24" port:"443"

3. FOFA

语法作用示例
domain=搜索指定域名相关资产domain="example.com"
host=搜索指定主机名host="www.example.com"
ip=搜索指定 IP 或网段ip="8.8.8.8"
port=搜索指定端口port="80"
title=搜索网页标题title="login"
body=搜索网页正文body="admin"
header=搜索 HTTP Header 中的内容header="nginx"
server=搜索 Server 信息server="nginx"
country=搜索指定国家country="CN"
city=搜索指定城市city="Beijing"
protocol=搜索指定协议protocol="http"
cert=搜索 SSL/TLS 证书相关信息cert="example.com"
os=搜索指定操作系统os="Windows"
status_code=搜索指定 HTTP 状态码status_code="200"

注意:FOFA 多个条件可以组合使用,常用逻辑运算符包括&&(与)、||(或)、!=(不等于),例如:

domain="example.com" && port="80" title="login" && country="CN" ip="8.8.8.8" || ip="1.1.1.1"

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询