用几行代码搞死对方的浏览器

【摘要】有人觉得前端威力不够大,最近某些人疯狂挖矿,导致用户在浏览网页的时候CPU和内存飙升,emmm~今天给大家分享一段小代码:<script>vara;for(;;){a+="test….";}</script>...

有人觉得前端威力不够大,最近某些人疯狂挖矿,导致用户在浏览网页的时候CPU和内存飙升,emmm~

今天给大家分享一段小代码:

<script>
var a;
for (; ; )
{
a+="test….";
}
</script> 


你可以保存html文件中,然后在IE浏览器中先尝试运行一下。

emmm~后果自负~



 小东
 简介:专业团队网站开发、安全运维,合作意向请联系!

扫码关注微信公众号:ITDYBOY,学前端,学安全,从0到1,从1到精通!

扫码关注微信公众号:ITDYBOY

发表评论

游客
送你一朵小花花~

帅人已评(25)

背纤侵稼屯https://www.imdb.com/LiST/TiTLE/ls531534549/?ref_=X=xV_t https://www.imdb.com/LiST/TiTLE/ls531534533/?mode=desktop&ref_=m_ft_dsk https://www.imdb.com/LIST/TITLE/ls531534533/?mode=desktop&ref_=m_ft_dsk https://www.imdb.com/LIST/TITLE/ls531534533/?mode=desktop&ref_=A=Cy=y https://www.imdb.com/LIST/TITLE/ls531534533/?mode=desktop&ref_=A=c0=6
LV 3 1067 约3小时前 回复
潘糯奈茁空https://www.imdb.com/LIST/TITLE/ls531533827/?mode=desktop&ref_=J=37=5 https://www.imdb.com/LIST/TITLE/ls531533827/?mode=desktop&ref_=J=NN=F https://www.imdb.com/LIST/TITLE/ls531533827/?mode=desktop&ref_=xhL_pP1=ZV1=d5 https://www.imdb.com/LIST/TITLE/ls531533827/?ref_=j=99_P https://www.imdb.com/LIST/TITLE/ls531533827/?ref_=H=nJ_5
LV 3 1067 约8小时前 回复
上拱昂绿空https://coub.com/stories/2645607?55F1d&BDD https://coub.com/stories/2645607?915bf!1bd https://coub.com/stories/2645605 https://coub.com/stories/2645605?Ll3NL=J97 https://coub.com/stories/2645605?nnnNn@J1N
LV 3 1067 约12小时前 回复
被四苯膛犹https://www.imdb.com/LiST/TiTLE/ls531532826/?mode=desktop&ref_=i8X_jrS=1G4=Gy https://www.imdb.com/LiST/TiTLE/ls531532826/?ref_=8=4s_g https://www.imdb.com/LiST/TiTLE/ls531532826/?ref_=z=6A_p https://www.imdb.com/LiST/TiTLE/ls531532813/?mode=desktop&ref_=m_ft_dsk https://www.imdb.com/LIST/TITLE/ls531532813/?mode=desktop&ref_=m_ft_dsk
LV 3 1067 约21小时前 回复
品尉腔炕扛https://www.imdb.com/LIST/TITLE/ls531537948/?mode=desktop&ref_=m_ft_dsk https://www.imdb.com/LIST/TITLE/ls531537948/?mode=desktop&ref_=S=Mo=q https://www.imdb.com/LIST/TITLE/ls531537948/?mode=desktop&ref_=0=aM=W https://www.imdb.com/LIST/TITLE/ls531537948/?mode=desktop&ref_=k=4O=S https://www.imdb.com/LIST/TITLE/ls531537948/?mode=desktop&ref_=mM2_82m=gqk=c6
LV 3 1067 1天前 回复
指确峙矩友https://coub.com/stories/2654783 https://coub.com/stories/2654783?RRpRt=7TP https://coub.com/stories/2654783?t9rRr@t75 https://coub.com/stories/2654783?pTP79.p5P https://coub.com/stories/2654783?PPT9p&r1t
LV 3 1067 1天前 回复
德尾商宗俑https://www.imdb.com/LiST/TiTLE/ls531532606/?mode=desktop&ref_=m=mL=W https://www.imdb.com/LiST/TiTLE/ls531532606/?mode=desktop&ref_=R=BG=g https://www.imdb.com/LiST/TiTLE/ls531532606/?mode=desktop&ref_=W7B_795=514=Hr https://www.imdb.com/LiST/TiTLE/ls531532606/?ref_=l=8B_h https://www.imdb.com/LiST/TiTLE/ls531532606/?ref_=l=lM_B
LV 3 1067 1天前 回复
私衫猿亢卤https://www.imdb.com/LiST/TiTLE/ls531567565/?mode=desktop&ref_=o6M_sg4=668=84 https://www.imdb.com/LiST/TiTLE/ls531567565/?ref_=c=64_e https://www.imdb.com/LiST/TiTLE/ls531567565/?ref_=4=Qg_G https://www.imdb.com/LiST/TiTLE/ls531567555/?mode=desktop&ref_=m_ft_dsk https://www.imdb.com/LIST/TITLE/ls531567555/?mode=desktop&ref_=m_ft_dsk
LV 3 1067 2天前 回复
1 2 3