If the injection point has the file read permission, you can manually load_file or the tool to read the configuration file, and then find the path information (usually at the end of the file ). The default paths of Web servers and PHP configuration
0x00 Information Collection
I accidentally discovered an injection link. I don't know how to find it. It's not a scan.
Http://www.bkjia.com/xxxxxx? Id = 12
Google finds the background
Site: f4ck.edu. cninurl: admin
Http://www.bkjia.com/xxx. php
0x01
This is the first step to install and configure Nagios and Cacti in linux, that is, to configure a web environment. Here the lamp architecture is used! The linux platform RHEL5.4 is used here. The first version is mysql compilation and installation (
Some time ago, we had a website, and the web and database were separated. It's always wrong. akens prompts that it's done now.Now let's talk about the following ideas:
Websites that are engaged in database and web separation generally start from
This article mainly introduces two methods for installing the mbstring extension in php in a linux system. For details, refer to use it. 1. Execute
The Code is as follows:
Yum install php-mbstring
2. Modify php. ini (this step is very
Obtain the webshell method summary in the phpmyadmin backgroundMethod 1:
CREATE TABLE `mysql`.`xiaoma` (`xiaoma1` TEXT NOT NULL );INSERT INTO `mysql`.`xiaoma` (`xiaoma1` )VALUES ('');SELECT xiaomaFROM study INTO OUTFILE 'E:/wamp/www/7.php';
----
To implement a web server (www) on linux, the Apache server software is required. However, Apache only provides the most basic static website data. To implement a dynamic website, it is better to support PHP and MySQL, so we will introduce LAMP
PHP7redis official version PHP7.0.0 has been released for a while, but there are very few extension components, especially for building a development platform with PHP7 on windows. too few components will definitely affect development.
Currently,
PHP. ini php. INI
Php. ini is used to set the configuration items of PHP. The configuration file (php. ini) is read When PHP is started. For PHP of the server module version, it is read only once when the web server is started. For CGI and CLI
Various PHP installation and expansion methods
PHP has various installation and expansion methods, including package-managed yum installation, pecl installation, and underlying source code compilation and installation.
Package-managed installation
CentOS compilation and installation Apache2.4 + PHP5.6 classification: Linux Time: December 26, 2015
In CentOS, installing PHP and Apache in YUM is relatively simple. However, by default, the PHP version is 5.3 and Apache version is 2.2.
Changing the linux system time and php synchronization problem: the php webpage time does not match the local machine time,
The difference is eight hours or Wed May 6 16:17:44 EDT 2015 is displayed. To change to Wed May 6 16:48:12 CST 2015.
1.
1.1-php compilation and installation 1. install MySQL (same as the installation method in LAMP)
2. install php
Wget http://cn2.php.net/distributions/php-5.4.37.tar.bz2
Tar jxf php-5.4.37.tar.bz2
Useradd-s/sbin/nologin php-fpm
Cd php-5.4.37
. /
Download and install mysqli extensionInstall mysqli:Wget-c http://hubeidc.com/dl/wdcp/mysqli/mysqli_ins.sh & chmod 755 mysqli_ins.sh &./mysqli_ins.shIn this case, there will be no installation errors, and some hosts of the official scripts will
PHP (6) PHPwithfpmandNGINXPHP (6) examples. WeshoulduseApplicationsXcod PHP (6) PHP with fpm and NGINX
PHP (6) PHP with fpm and NGINX
1. Set Up latest PHP with Nginx
If get some problem with libtool to build some library. We shocould
The Phpini file is a configuration file of php. on a windows host, if you haven't modified the configuration file, the phpini file must be in the same directory as your php installation file, but it seems different in linux.
Php. the INI file is a
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.