|
若使用Windows Servwe 2003 开设IIS+ASP虚拟主机,为了防止提权,尽量删除(或禁用)WScript.Shell, Shell.application, WScript.Network这三个组件。如何操作呢?
) ^5 ?: r5 Y/ K8 A$ n9 p
+ h( S8 D: W9 o N/ K$ q' U一、调出CMD/ X. }6 [, D; m+ g9 O/ M
Win+R运行,输入CMD,打开命令行菜单。
* b/ k- U2 Q! L7 [4 b二、输入以下命令$ L! H; D$ N2 G2 s2 q; p+ Y
regsvr32/u C:\Windows\System32\wshom.ocx2 l, E& V" J/ Q$ q1 l0 Y7 G
del C:\Windows\System32\wshom.ocx* S, \ c: W' ?& E) r/ y
regsvr32/u C:\Windows\system32\shell32.dll
3 {; f% e% y- Z8 m0 I" Ndel C:\Windows\system32\shell32.dll 注意哈:可以不执行del(删除)。 4 C/ x( y$ {9 I
|