A way to put a backdoor in PW's _php tutorial

Source: Internet
Author: User
A way to put a backdoor in PW's

Data\bbscache\admin_record.php is logged in the background and operation, we see how to operate this file:

admin\admincp.php:

$bbsrecordfile =d_p. " Data/bbscache/admin_record.php ";
if (!file_exists ($bbsrecordfile)) {
Writeover ($bbsrecordfile, " \ n ");
}//this if is just saying that if there is no admin_record.php the code generates a

If we just edit admin_record.php to put This to delete it:)

Let's take a look at our code miscellaneous write admin_record.php

You landed in the background, http://localhost/PHPWind_GBK_6.0RC/upload/admin.php.
If you use a wrong user login, you will have the following records:

|admin|s| Logging failed|127.0.0.1|1191667510|

Oh so we can write our code through this, but here is a filter can not be used <

So our back door should stay like this: Switch

http://www.bkjia.com/PHPjc/318403.html www.bkjia.com true http://www.bkjia.com/PHPjc/318403.html techarticle PW's one way to put the back door data\bbscache\admin_record.php is to record the background login and operation, we see how to operate this file: admin\admincp.php: $bbsrecordfile =d_p. " Data ...

  • 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.