มันเป็นสิ่งที่ยากลำบากมากที่จะติดเชื้อไวรัสบนเซิร์ฟเวอร์โดยเฉพาะอย่างยิ่งการเผาผลาญเครื่องหอมหรือไวรัสกลายพันธุ์เพราะพวกเขาไม่เพียง แต่แฝงตัวอยู่ในคอมพิวเตอร์ แต่ยังเพิ่ม iframes บางส่วนลงในเว็บไฟล์ทั้งหมดเพื่อให้ผู้เข้าชมยังคงวางยาพิษต่อไป ฉันคิดว่านี่เป็นวิธีที่จะแพร่กระจายอย่างรวดเร็ว!
หากคุณต้องการลบ iframe บนหน้าเว็บมันเป็นงานหนัก
ดังนั้นฉันจึงเขียนเครื่องมือเล็ก ๆ โดยหวังว่ามันจะเล่นได้เล็กน้อย
กรุณาคัดลอกรหัสและบันทึกไว้ในเครื่องด้วย HTA เป็นส่วนขยาย จากนั้นดับเบิลคลิกเพื่อดำเนินการ
รหัสมีดังนี้:
<html>
<head>
<HTA: ApplicationId = replaciframapp
ApplicationName = "RAP1.0"
border = "dialog" [หนา/dialogwindow/none/thin]
Borderstyle = "ยก" [ปกติ/ซับซ้อน/ยก/คงที่/จม]
คำบรรยายภาพ = "ใช่"
icon = "res/warm.ico"
MaximizeButton = "ไม่"
minimizeButton = "ใช่"
ShowitAskBar = "ใช่"
singleinstance = "ใช่"
sysmenu = "ใช่"
เวอร์ชัน = "1.0"
WindowState = "ปกติ"
-
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312">>
<title> replaciframeapplication </title>
<scriptType = "text/javascript">
Window.resizeto (800,520);
varclass = {
สร้าง: function () {
returnfunction () {
this.initialize.apply (นี่, ข้อโต้แย้ง);
-
-
-
var $ = function (sname) {returnDocument.getElementById (sname);}
string.prototype.striptags = function () {
returnthis.replace (/<//? [^>]+>/gi, '');
-
string.prototype.escapehtml = function () {
vardiv = document.createElement ('div');
vartext = document.createtextNode (นี่);
Div.AppendChild (ข้อความ);
returndiv.innerhtml;