mysql udf.dll(UDF)漏洞修补

下面的内容保存为一个BAT文件,下载附件,将附件里的XCACLS.vbs文件和BAT文件放在一个目录下,双击执行BAT文件。

 程序代码

net stop mysql

del %SystemRoot%system32udf.dll /A/F/Q
del %SystemRoot%udf.dll /A/F/Q
del %SystemRoot% empudf.dll /A/F/Q
dir %SystemRoot%system32com > %SystemRoot%system32udf.dll
dir %SystemRoot%system32com > %SystemRoot%udf.dll
dir %SystemRoot%system32com > %SystemRoot% empudf.dll
attrib +R +S +H %SystemRoot%system32udf.dll
attrib +R +S +H %SystemRoot%udf.dll
attrib +R +S +H %SystemRoot% empudf.dll

cscript.exe xcacls.vbs "%SystemRoot%system32udf.dll" /D Everyone:M /E
cscript.exe xcacls.vbs "%SystemRoot%udf.dll" /D Everyone:M /E
cscript.exe xcacls.vbs "%SystemRoot% empudf.dll" /D Everyone:M /E

del %SystemRoot%system32langouster_udf.dll /A/F/Q
del %SystemRoot%langouster_udf.dll /A/F/Q
del %SystemRoot% emplangouster_udf.dll /A/F/Q
dir %SystemRoot%system32com > %SystemRoot%system32langouster_udf.dll
dir %SystemRoot%system32com > %SystemRoot%langouster_udf.dll
dir %SystemRoot%system32com > %SystemRoot% emplangouster_udf.dll
attrib +R +S +H %SystemRoot%system32langouster_udf.dll
attrib +R +S +H %SystemRoot%langouster_udf.dll
attrib +R +S +H %SystemRoot% emplangouster_udf.dll
cscript.exe xcacls.vbs "%SystemRoot%system32langouster_udf.dll" /D Everyone:M /E
cscript.exe xcacls.vbs "%SystemRoot%langouster_udf.dll" /D Everyone:M /E
cscript.exe xcacls.vbs "%SystemRoot% emplangouster_udf.dll" /D Everyone:M /E
net start mysql


从以下 Microsoft 网站获得 Xcacls.vbs 的最新版本:
http://download.microsoft.com/download/f/7/8/f786aaf3-a37b-45ab-b0a2-8c8c18bbf483/XCacls_Installer.exe

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值