1   1  /  1  页   跳转

[休闲灌水] 用BAT脚本仿熊猫烧香

用BAT脚本仿熊猫烧香

今天就要回家过年了,临走送大家个礼物。
———————————复制以下内容—————————————————————————

:start
@echo off&&mode con cols=80 lines=12&&TITLE 利用BAT脚本仿熊猫烧香感染文件!  卡卡安全论坛&&color 0a&&echo.
echo  *************************利用BAT脚本仿熊猫烧香感染文件*************************&&echo.
echo            说明:
echo                  ①默认使用system32文件夹中的shell32.dll库中包含的图标文件。
echo                  ②你也可以任何使用自定义图标!
echo                  ③输入“k”恢复系统默认图标,并退出!&&echo.&&echo.
set IcoClass_=
set /p IcoClass_= 输入图标id(也就是图标的名字):
set "IcoClass_=%IcoClass_:"=%"
if /i "%IcoClass_:~-1%"=="k" goto CIco
if /i "%IcoClass_:~-4%"==".ico" if exist "%IcoClass_%" goto UserIco

:SysIco
@reg add "HKEY_CLASSES_ROOT\exefile\DefaultIcon" /v "" /d "shell32.dll,%IcoClass_%" /f
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
taskkill /f /im explorer.exe > nul
start explorer
goto start
:UserIco
@reg add "HKEY_CLASSES_ROOT\exefile\DefaultIcon" /v "" /d "%IcoClass_%" /f
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
taskkill /f /im explorer.exe > nul
start explorer
goto start
:CIco
@reg add "HKEY_CLASSES_ROOT\exefile\DefaultIcon" /v "" /d "%%1" /f
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
taskkill /f /im explorer.exe > nul
start explorer
exit
——————————————复制以上内容——————————————————————
到txt文本文档中保存,然后改后缀为bat即可了(vista下需管理员权限),这个东西也算开源了,大家可以改进修补,原技术来自七目亥,我做了点非技术上的调整。
我上传几个图标(ico)给大家玩玩。

用户系统信息:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.04506; 360SE)

附件附件:

您所在的用户组无法下载或查看附件

附件附件:

您所在的用户组无法下载或查看附件

附件附件:

您所在的用户组无法下载或查看附件

最后编辑onisuly 最后编辑于 2009-01-23 10:47:11
分享到:
gototop
 

回复 5F piao2008 的帖子

新年新气象,今年回来就换。
gototop
 

回复 3F 茶馆小二 的帖子

这个图标随便换,想用什么图标用什么,你喜欢就好。
gototop
 
1   1  /  1  页   跳转
页面顶部
Powered by Discuz!NT