BG4KKI's blog

BG4KKI's blog
一个专注于网络安全和物联网的创客自媒体
  1. 首页
  2. 网络安全
  3. 正文

挖洞入门_谷歌语法

2020年5月14日 2800点热度 3人点赞 0条评论

此篇文章介绍了渗透测试中搜集资产时常用的谷歌语法,理论兼容所有搜索引擎,当然适配最好的还是Google,另外文章还给出了一些常用的例子。

0x01:维基百科

Google hacking - 维基百科

0x02:常用语法

  • 字符
*                   - 通配符
-                   - 排除项
""                  - 整体词
  • 命令
site:               - 指定站点
inurl:              - 匹配URL
intext:             - 匹配内容
intitle:            - 匹配标题
filetype:           - 文件类型

0x03:组合举例

  • PHP站点
inurl:/login.php    - PHP登录站点(弱密码、逻辑缺陷、SQL注入)
inurl:/php?id=      - PHP疑似注入点(SQL注入)
  • ASP站点
inurl:/login.asp    - ASP登录站点(弱密码、逻辑缺陷、SQL注入)
inurl:/asp?id=      - ASP疑似注入点(SQL注入)
  • JSP站点
inurl:/login.jsp    - JSP登录站点(弱密码、逻辑缺陷、SQL注入)
inurl:/jsp?id=      - JSP疑似注入点(SQL注入)
  • 个人总结
site:gov.cn                           - 限定国内政府机构(CNVD)
site:edu.cn                           - 限定国内教育机构(教育SRC)
intext:ICP备                          - 限定国内已备案站点
intitle:后台登录/陆                    - 后台登录界面(弱密码、逻辑缺陷、SQL注入)
inurl:/phpinfo.php                    - phpinfo(敏感信息泄露)
inurl:/phpmyadmin/index.php           - phpmyadmin后台(敏感信息泄露)
inurl:/console/login/loginform.jsp    - WebLogic后台(弱密码)
site:edu.cn filetype:xls              - 挖教育SRC时收集资源


依据网络安全法,本文旨在分享个人学习经验,内容禁止用于违法犯罪行为!

标签: 谷歌语法
最后更新:2026年11月16日

noissue

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

归档

  • 2020 年 9 月
  • 2020 年 5 月
  • 2019 年 12 月
  • 2019 年 10 月
  • 2019 年 4 月
  • 2019 年 3 月

分类

  • 没有分类

COPYRIGHT © 2024 NOISSUE'S BLOG ALL RIGHTS RESERVED

Theme Kratos Made By Seaton Jiang