Use PHP eggs to correctly determine the PHP version

Source: Internet
Author: User

Http://www.bkjia.com/Article/201109/103652.html

After reading the Sunge article, I think it is better to talk about it:

 

Based on the PHP eggs, we can preliminarily determine the approximate scope of the PHP version. We know that PHP has many special vulnerabilities distributed in various versions, which makes sense for penetration points.

Foreigners have given specific methods, can refer to the http://www.0php.com/php_easter_egg.php

 

Access http://www.discuz.net /? = PHPE9568F36-D428-11d2-A769-00AA001ACF42


 

The PHP version of the color PHP flag is between 5.1.3-5.2.13, and we can see X-Powered-By: PHP/5.2.10 in the packet capture.

 

Based on the egg information and the X-Powered-By header information, we can know that the Discuz server is not fake for the version, and the PHP version is 5.2.10.

Therefore, the WEB scanner obtainsX-Powered-By header information beforeWith the HASH of images in the egg, you can set the PHP version of the server more accurately.

While forging and shielding on the serverX-Powered-By header informationThe approximate range of the PHP version can be determined based on the PHP eggs.

From: RAyh4c Black Box

Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.