Emergency Phpweb program, now be hanging code, check out 2 days to find out, we help see what is the reason! Thanks a lot

Source: Internet
Author: User
Urgent, with Phpweb program, now be hanging code, check out 2 days check out, we help see what is the reason! Thank you
Site poisoning, with Phpweb, and now has been unable to find, trouble master to help see,




------to solve the idea----------------------
If your site does not, there may be other sites in the server that are horses out, and you are scanned to match the
------to solve the idea----------------------
grep xargs SED is replaced directly, if it is added automatically, do a program to monitor the read and write of the file
------to solve the idea----------------------
Reference:
Quote: Reference:

Find out where the data is coming from.
You wrote the website yourself ...


Too many tables, more trouble

Please use FTP to see the file modification date, download the IIS log of the day, for that time, you can see what he has done?

General upgrade patches, a few days in a row to observe the IIS logs, you can quickly identify problems.
------to solve the idea----------------------
Mysql

Reference:
Quote: Reference:

Find out where the data is coming from.
You wrote the website yourself ...


Too many tables, more trouble

Mysqldump Convert the contents of the database to a text file, and then grep to find it.
------to solve the idea----------------------

1. Since the suspect is hanging in the database, look at the corresponding table, first from the program to see the link which block is the reading of which table ... Even if there are too many tables, you will not open the data by opening the table. Find out after the management of this piece of relevant code there is a loophole, if not see first clear
2. After clearing, open the log, watch to see if it is hung again, see the corresponding time log, see if you can find clues
------to solve the idea----------------------
I've had problems like this before. Do you write your program yourself or CMS? If it is a CMS I suggest to look at the data file inside the file will generally inject inside the program
  • 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.