阅读我的 Medium 博客空间:👩💻Proviesec Security Medium 文章 - 快来阅读
⭐ 在 GitHub 上为我们加星标 — 这能带来巨大的动力!⭐
如果你有任何 google dork,只需创建一个 PullRequest 或在 Twitter 上给我留言。
我关于 Google Dorks 的 Medium 文章 如何使用 google dorks
intext:"index of" "parent directory"
该操作符仅搜索引号内的精确词条。例如,当你查找的词条含义模糊、容易与其他内容混淆,或搜索结果不够相关时,可以使用它。
下面是一个示例:
"Admin Loginpage"
该操作符搜索某个特定搜索词或另一个词。
site:instagram.com | site:github.com
该操作符同时搜索某个特定搜索词和另一个词。
site:github.com & site:twitter.com
该操作符组合多个搜索词。
(site:instagram.com | site:twitter.com) (intext:"admin")
(site:instagram.com | site:twitter.com) & intext:"admin"
这将根据关键词的出现次数对结果进行排序。
site:twitter.com +site:twitter.*
site:twitter.* -site:twitter.com
site:*.site.com
site:*.*.site.com
site:*.*.*.site.com
~set
site:*.com
https://infosecwriteups.com/my-first-reflected-xss-bug-bounty-google-dork-xxx-92ac1180e0d0 https://dewangpanchal98.medium.com/microsoft-bug-bounty-writeup-5ee4a7264dbf

对用户名、密码等敏感数据进行编码/加密。 对自己的网站运行查询,检查是否能够找到任何敏感数据。万一发现了敏感信息,你可以通过 Google Search Console 将其从搜索结果中移除。 利用位于网站根目录中的 robots.txt 文件来保护敏感内容。 使用 robots.txt 有助于防止 Google 索引你的网站,但它也可能向攻击者暴露敏感数据可能存在的位置。 User-agent: * Disallow: /
你也可以屏蔽特定目录,使其不被网络爬虫抓取。 如果你有 /phpinfo 站点并需要保护它,只需在其中放入以下代码:
User-agent: *
Disallow: /phpinfo/
限制对特定文件的访问:
User-agent: *
Disallow: /member/info.html
限制对包含 ? 符号的动态 URL 的访问:
User-agent: *
Disallow: /*?
毋庸置疑,请非常非常小心地使用此工具。作者不对任何后果负责。
| Filter | Description | Example |
|---|
| allintext | 搜索所有指定关键词的出现。 | allintext:"keyword" |
| intext | 搜索同时或连续出现的关键词。 | intext:"keyword" |
| intitle | 搜索标题中全部或任一关键词的出现。 | intitle:"keyword" |
| allintitle | 一次性搜索所有关键词的出现。 | allintitle:"keyword" |
| inurl | 搜索匹配任一关键词的 URL。 | inurl:"keyword" |
| allinurl | 搜索匹配查询中所有关键词的 URL。 | allinurl:"keyword" |
| site | 专门搜索指定网站,并列出该网站的所有结果。 | site:"www.github.com" |
| filetype | 搜索查询中指定的特定文件类型。 | filetype:"pdf" |
| link | 搜索指向页面的外部链接。 | link:"keyword" |
| numrange | 用于在搜索中查找特定数字。 | numrange:33-43 |
| before/after | 用于在指定的日期范围内进行搜索。 | filetype:pdf & (before:2021-01-01 after:2021-05-01) |
| allinanchor(以及 inanchor) | 按链接数量从多到少显示链接中包含关键词的网站。 | inanchor:rat |
| allinpostauthor(以及 inpostauthor) | 专用于博客搜索,可筛选出特定作者撰写的博客文章。 | allinpostauthor:"keyword" |
| related | 列出与给定网页“相似”的网页。 | related:www.github.com |
| cache | 显示 Google 缓存中的网页版本。 | cache:www.github.com |