Google Hacking 使用(旧笔记)
这是 2021 年的速查笔记。Google 搜索语法会调整;当前优先使用官方仍明确支持的精确短语、
site:、排除-、filetype:、before:、after:,其他写法使用前先实际验证。
匹配方式
"test":精确短语匹配test text:同时使用多个关键词test OR text:任意一个条件匹配,OR使用大写-test:排除关键词"test * text":*可作为引号短语中的占位;+、?不要当作通用通配符1..3:常见的数字范围写法,实际结果需验证
匹配关键字
intitle:test只匹配标题中包含关键字的网页allintitle:test text:标题中同时包含多个关键词;该老操作符当前支持度以实际结果为准inurl:test只匹配url中包含关键字的网页allinurl:test text:URL 中同时包含多个关键词;当前支持度以实际结果为准intext:test只匹配正文中包含关键字的网页allintext:test text:正文中同时包含多个关键词;当前支持度以实际结果为准inanchor:test:老的锚文本搜索写法,当前支持度需实际验证allinanchor:test text:老的多关键词锚文本写法,当前支持度需实际验证
匹配指定链接
site:url匹配指定url的网页-site:url不匹配指定url的网页link:url:老操作符,当前不再作为稳定语法使用cache:url:已停用,不再可用于查看 Google 网页缓存related:url:老的相似站点写法,当前支持度需实际验证info:url:老操作符,当前不再作为稳定语法使用
匹配类型
filetype:pdf匹配指定访问的文件类型
匹配目录
- index of /admin
- index of /passwd
- index of /password
- index of /mail
- “index of /“ +passwd
- “index of /“ +password.txt
- “index of /“ +.htaccess
- “index of /root”
- “index of /cgi-bin”
- “index of /logs”
- “index of /config”
评论将在接近此处时加载,也可点击立即加载。