Warning: count(): Parameter must be an array or an object that implements Countable in /www/wwwroot/mdaeo.org/usr/plugins/AMP/Action.php on line 388
最新C盘权限设置安全加强批处理

Mdaeo'Blog

最新C盘权限设置安全加强批处理

使用方法,存为”C盘安全加强批处理.bat”,双击执行即可! 针对Windows操作系统

:: 给黑客经常用到的系统文件加Everyone拒绝权限



regsvr32 /s wshom.ocx
cscript.exe xcacls.vbs “%SystemRoot%/system32/cmd.exe” /D Everyone:F /E
cscript.exe xcacls.vbs “%SystemRoot%/system32/net.exe” /D Everyone:F /E
cscript.exe xcacls.vbs “%SystemRoot%/system32/net1.exe” /D Everyone:F /E
cscript.exe xcacls.vbs “%SystemRoot%/system32/cacls.exe” /D Everyone:F /E
cscript.exe xcacls.vbs “%SystemRoot%/system32/wscript.exe” /D Everyone:F /E
cscript.exe xcacls.vbs “%SystemRoot%/system32/wshom.ocx” /D Everyone:F /E
cscript.exe xcacls.vbs “%SystemRoot%/system32/cscript.exe” /D Everyone:F /E
regsvr32 /s /u wshom.ocx

Echo C盘安全加强完毕! 请按任意键退出!
PAUSE >nul
Goto exit

安全是服务器整体设置,不是说设置一个两就可以的,大家参考此文配合您的其它安全策略来做好服务器的安全。

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »

因本文不是用Markdown格式的编辑器书写的,转换的页面可能不符合AMP标准。