网站地图    收藏   

主页 > 后端 > 网站安全 >

针对MYSQL udf.dll提权的安全防御 - 网站安全 - 自学

来源:自学PHP网    时间:2015-04-17 15:08 作者: 阅读:

[导读] 参考见本文:http://www.2cto.com/200806/27544.html针对MYSQL udf.dll提权的安全防御删除udf.dll和langouster_udf.dll,新建udf.dll和langouster_udf.dll设为只读,权限上限制 可防止所有langouster_udf.dll专用网马批...

参考见本文:html">http://www.2cto.com/Article/200806/27544.html

针对MYSQL udf.dll提权的安全防御

删除udf.dll和langouster_udf.dll,新建udf.dll和langouster_udf.dll设为只读,权限上限制 可防止所有langouster_udf.dll专用网马

批处理程序代码

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 

自学PHP网专注网站建设学习,PHP程序学习,平面设计学习,以及操作系统学习

京ICP备14009008号-1@版权所有www.zixuephp.com

网站声明:本站所有视频,教程都由网友上传,站长收集和分享给大家学习使用,如由牵扯版权问题请联系站长邮箱904561283@qq.com

添加评论