安全矩阵

 找回密码
 立即注册
搜索
查看: 2378|回复: 0

获取网站绝对路径常用方法

[复制链接]

221

主题

233

帖子

792

积分

高级会员

Rank: 4

积分
792
发表于 2021-8-15 12:28:46 | 显示全部楼层 |阅读模式
获取网站绝对路径常用方法[url=]web安全工具库[/url] 昨天
始终相信那些尝遍人生百味的人,灵魂会更加生动且干净。。。
----  网易云热评
一、报错显示
搜索inurl:warning,查看百度快照


二、搜索敏感文件
inurl:phpinfo.php


三、Windows下常用路径
  1. c:/boot.ini //查看系统版本
  2. c:/windows/php.ini //php配置信息
  3. c:/windows/my.ini //MYSQL配置文件,记录管理员登陆过的MYSQL用户名和密码
  4. c:/winnt/php.ini
  5. c:/winnt/my.ini
  6. c:\mysql\data\mysql\user.MYD //存储了mysql.user表中的数据库连接密码
  7. c:\Program Files\RhinoSoft.com\Serv-U\ServUDaemon.ini //存储了虚拟主机网站路径和密码
  8. c:\Program Files\Serv-U\ServUDaemon.ini
  9. c:\windows\system32\inetsrv\MetaBase.xml 查看IIS的虚拟主机配置
  10. c:\windows\repair\sam //存储了WINDOWS系统初次安装的密码
  11. c:\Program Files\ Serv-U\ServUAdmin.exe //6.0版本以前的serv-u管理员密码存储于此
  12. c:\Program Files\RhinoSoft.com\ServUDaemon.exe
  13. C:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\*.cif文件
  14. //存储了pcAnywhere的登陆密码
  15. c:\Program Files\Apache Group\Apache\conf\httpd.conf 或C:\apache\conf\httpd.conf //查看WINDOWS系统apache文件
  16. c:/Resin-3.0.14/conf/resin.conf //查看jsp开发的网站 resin文件配置信息.
  17. c:/Resin/conf/resin.conf /usr/local/resin/conf/resin.conf 查看linux系统配置的JSP虚拟主机
  18. d:\APACHE\Apache2\conf\httpd.conf
  19. C:\Program Files\mysql\my.ini
  20. C:\mysql\data\mysql\user.MYD 存在MYSQL系统中的用户密码
复制代码
四、Linux/Unix 下常用路径
  1. /apache/apache/conf/httpd.conf
  2. /apache/apache2/conf/httpd.conf
  3. /apache/php/php.ini
  4. /bin/php.ini
  5. /etc/anacrontab
  6. /etc/apache/apache.conf
  7. /etc/apache/httpd.conf
  8. /etc/apache2/apache.conf
  9. /etc/apache2/httpd.conf
  10. /etc/apache2/sites-available/default
  11. /etc/apache2/vhosts.d/00_default_vhost.conf
  12. /etc/at.allow
  13. /etc/at.deny
  14. /etc/cron.allow
  15. /etc/cron.deny
  16. /etc/crontab
  17. /etc/fstab
  18. /etc/host.conf
  19. /etc/httpd/conf.d/httpd.conf
  20. /etc/httpd/conf.d/php.conf
  21. /etc/httpd/conf/httpd.conf
  22. /etc/httpd/htdocs/index.html
  23. /etc/httpd/htdocs/index.php
  24. /etc/httpd/logs/access.log
  25. /etc/httpd/logs/access_log
  26. /etc/httpd/logs/error.log
  27. /etc/httpd/logs/error_log
  28. /etc/httpd/php.ini
  29. /etc/init.d/httpd
  30. /etc/init.d/mysql
  31. /etc/ld.so.conf
  32. /etc/motd
  33. /etc/my.cnf
  34. /etc/mysql/my.cnf
  35. /etc/mysql/my.cnf
  36. /etc/network/interfaces
  37. /etc/networks
  38. /etc/passwd
  39. /etc/php.ini
  40. /etc/php/apache/php.ini
  41. /etc/php/apache2/php.ini
  42. /etc/php/cgi/php.ini
  43. /etc/php/php.ini
  44. /etc/php/php4/php.ini
  45. /etc/php4.4/fcgi/php.ini
  46. /etc/php4/apache/php.ini
  47. /etc/php4/apache2/php.ini
  48. /etc/php4/cgi/php.ini
  49. /etc/php5/apache/php.ini
  50. /etc/php5/apache2/php.ini
  51. /etc/php5/cgi/php.ini
  52. /etc/phpmyadmin/config.inc.php
  53. /etc/resolv.conf
  54. /etc/shadow
  55. /etc/ssh/sshd_config
  56. /etc/ssh/sshd_config
  57. /etc/ssh/ssh_config
  58. /etc/ssh/ssh_config
  59. /etc/ssh/ssh_host_dsa_key
  60. /etc/ssh/ssh_host_dsa_key
  61. /etc/ssh/ssh_host_dsa_key.pub
  62. /etc/ssh/ssh_host_dsa_key.pub
  63. /etc/ssh/ssh_host_key
  64. /etc/ssh/ssh_host_key
  65. /etc/ssh/ssh_host_key.pub
  66. /etc/ssh/ssh_host_key.pub
  67. /etc/ssh/ssh_host_rsa_key
  68. /etc/ssh/ssh_host_rsa_key
  69. /etc/ssh/ssh_host_rsa_key.pub
  70. /etc/ssh/ssh_host_rsa_key.pub
  71. /etc/sysconfig/network
  72. /etc/sysconfig/network
  73. /home/apache/conf/httpd.conf
  74. /home/apache2/conf/httpd.conf
  75. /home/bin/stable/apache/php.ini
  76. /home2/bin/stable/apache/php.ini
  77. /NetServer/bin/stable/apache/php.ini
  78. /opt/www/conf/httpd.conf
  79. /opt/www/htdocs/index.html
  80. /opt/www/htdocs/index.php
  81. /opt/xampp/etc/php.ini
  82. /PHP/php.ini
  83. /php/php.ini
  84. /php4/php.ini
  85. /php5/php.ini
  86. /root/.atftp_history
  87. /root/.bashrc
  88. /root/.bash_history
  89. /root/.mysql_history
  90. /root/.nano_history
  91. /root/.php_history
  92. /root/.profile
  93. /root/.ssh/authorized_keys
  94. /root/.ssh/identity
  95. /root/.ssh/identity.pub
  96. /root/.ssh/id_dsa
  97. /root/.ssh/id_dsa.pub
  98. /root/.ssh/id_rsa
  99. /root/.ssh/id_rsa.pub
  100. /root/anaconda-ks.cfg
  101. /tmp/apache/htdocs/index.html
  102. /tmp/apache/htdocs/index.php
  103. /usr/lib/php.ini
  104. /usr/lib/php/php.ini
  105. /usr/local/apache/conf/httpd.conf
  106. /usr/local/apache/conf/php.ini
  107. /usr/local/apache/htdocs/index.html
  108. /usr/local/apache/htdocs/index.php
  109. /usr/local/apache/logs/access.log
  110. /usr/local/apache/logs/access_log
  111. /usr/local/apache/logs/access_logaccess_log.old
  112. /usr/local/apache/logs/error.log
  113. /usr/local/apache/logs/error_log
  114. /usr/local/apache/logs/error_logerror_log.old
  115. /usr/local/apache2/conf/httpd.conf
  116. /usr/local/apache2/conf/php.ini
  117. /usr/local/apache2/htdocs/index.html
  118. /usr/local/apache2/htdocs/index.php
  119. /usr/local/cpanel/logs
  120. /usr/local/cpanel/logs/access_log
  121. /usr/local/cpanel/logs/error_log
  122. /usr/local/cpanel/logs/license_log
  123. /usr/local/cpanel/logs/login_log
  124. /usr/local/cpanel/logs/stats_log
  125. /usr/local/cpanel/logs/stats_log
  126. /usr/local/etc/php.ini
  127. /usr/local/httpd/conf/httpd.conf
  128. /usr/local/httpd2.2/htdocs/index.html
  129. /usr/local/httpd2.2/htdocs/index.php
  130. /usr/local/lib/php.ini
  131. /usr/local/mysql/bin/mysql
  132. /usr/local/mysql/my.cnf
  133. /usr/local/php/lib/php.ini
  134. /usr/local/php4/lib/php.ini
  135. /usr/local/php4/lib/php.ini
  136. /usr/local/php4/php.ini
  137. /usr/local/php5/etc/php.ini
  138. /usr/local/php5/lib/php.ini
  139. /usr/local/php5/php5.ini
  140. /usr/local/share/examples/php/php.ini
  141. /usr/local/share/examples/php4/php.ini
  142. /usr/local/tomcat5527/bin/version.sh
  143. /usr/local/Zend/etc/php.ini
  144. /usr/share/tomcat6/bin/startup.sh
  145. /usr/tomcat6/bin/startup.sh
  146. /var/apache2/config.inc
  147. /var/httpd/conf/httpd.conf
  148. /var/httpd/conf/php.ini
  149. /var/httpd/conf/php.ini
  150. /var/httpd/htdocs/index.html
  151. /var/httpd/htdocs/index.php
  152. /var/lib/mysql/my.cnf
  153. /var/lib/mysql/mysql/user.MYD
  154. /var/local/www/conf/httpd.conf
  155. /var/local/www/conf/php.ini
  156. /var/log/access.log
  157. /var/log/access_log
  158. /var/log/apache/access.log
  159. /var/log/apache/access_log
  160. /var/log/apache/error.log
  161. /var/log/apache/error_log
  162. /var/log/apache2/access.log
  163. /var/log/apache2/access_log
  164. /var/log/apache2/error.log
  165. /var/log/apache2/error_log
  166. /var/log/error.log
  167. /var/log/error_log
  168. /var/log/mysql.log
  169. /var/log/mysql/mysql-bin.log
  170. /var/log/mysql/mysql-slow.log
  171. /var/log/mysql/mysql.log
  172. /var/log/mysqlderror.log
  173. /var/mail/root
  174. /var/mysql.log
  175. /var/spool/cron/crontabs/root
  176. /var/spool/mail/root
  177. /var/www/conf/httpd.conf
  178. /var/www/htdocs/index.html
  179. /var/www/htdocs/index.php
  180. /var/www/index.html
  181. /var/www/index.php
  182. /var/www/logs/access.log
  183. /var/www/logs/access_log
  184. /var/www/logs/error.log
  185. /var/www/logs/error_log
  186. /web/conf/php.ini
  187. /www/conf/httpd.conf
  188. /www/htdocs/index.html
  189. /www/htdocs/index.php
  190. /www/php/php.ini
  191. /www/php4/php.ini
  192. /www/php5/php.ini
  193. /xampp/apache/bin/php.ini
  194. /xampp/apache/conf/httpd.conf
  195. root/.ssh/authorized_keys
  196. root/.ssh/identity
  197. root/.ssh/identity.pub
  198. root/.ssh/id_dsa
  199. root/.ssh/id_dsa.pub
  200. root/.ssh/id_rsa
  201. root/.ssh/id_rsa.pub
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|安全矩阵

GMT+8, 2024-11-29 12:44 , Processed in 0.014358 second(s), 18 queries .

Powered by Discuz! X4.0

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表