It is a super troublesome thing to get infected with a virus on the server, especially panda burning incense or mutant viruses, because they not only lurk in the computer, but also add some iframes to all web files to allow visitors to continue to be poisoned. I think this is also a way for it to spread rapidly!
If you want to remove the iframe on the web page, it is a hard work.
So, I wrote such a small tool, hoping that it can play a little bit.
Please copy the code and save it locally with hta as the extension. Then double-click to execute
The code is as follows:
<html>
<head>
<hta:applicationid=ReplaceIframApp
applicationname="RAP1.0"
border="dialog"[thick/dialogwindow/none/thin]
borderStyle="raised"[normal/complex/raised/static/sunken]
caption="yes"
icon="res/warm.ico"
maximizebutton="no"
minimizebutton="yes"
showitaskbar="yes"
singleinstance="yes"
sysmenu="yes"
version="1.0"
windowstate="normal"
/>
<metaHTTP-EQUIV="Content-Type"CONTENT="text/html;charset=gb2312">
<title>ReplaceIframeApplication</title>
<scripttype="text/javascript">
window.resizeTo(800,520);
varClass={
create:function(){
returnfunction(){
this.initialize.apply(this,arguments);
}
}
};
var$=function(sname){returndocument.getElementById(sname);}
String.prototype.stripTags=function(){
returnthis.replace(/<//?[^>]+>/gi,'');
};
String.prototype.escapeHTML=function(){
vardiv=document.createElement('div');
vartext=document.createTextNode(this);
div.appendChild(text);
returndiv.innerHTML;