最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

批處理應(yīng)用:恢復(fù)Mcafee重命名的可疑病毒文件擴(kuò)展名

 更新時(shí)間:2007年04月23日 00:00:00   作者:  
Mcafee識別到可疑病毒文件,但病毒庫里沒有病毒定義,就會把文件擴(kuò)展名命名為vir或vxe,固建立此批處理文件,用已恢復(fù)被修改掉的exe文件

MCAFEE更名原則:
Original Renamed Description
Not V?? V?? File extensions that do not start with v are renamed with v as
the initial letter of the file extension. For example,
MYFILE.DOC becomes MYFILE.VOC.
V?? VIR File extensions that start with v are renamed as .VIR. For
example, MYFILE.VBs becomes MYFILE.VIR.
VIR,

V01-V99

These files are recognized as already infected, and are not
renamed again.
VIR Files with no extensions are given the extension, .VIR.




@echo off

echo On Error Resume Next >%temp%\filesystem.vbs
echo Const wbemFlagReturnImmediately = ^&h10 >>%temp%\filesystem.vbs
echo Const wbemFlagForwardOnly = ^&h20 >>%temp%\filesystem.vbs

echo For Each strComputer In arrComputers >>%temp%\filesystem.vbs

echo Set objWMIService = GetObject("winmgmts:\\.\root\CIMV2") >>%temp%\filesystem.vbs >>%temp%\filesystem.vbs
echo Set colItems = objWMIService.ExecQuery("SELECT * FROM Win32_LogicalDisk", "WQL", _ >>%temp%\filesystem.vbs
echo wbemFlagReturnImmediately + wbemFlagForwardOnly) >>%temp%\filesystem.vbs

echo For Each objItem In colItems >>%temp%\filesystem.vbs
echo if objItem.DriverType=3 Then WScript.Echo objItem.Caption ^& "\" End if >>%temp%\filesystem.vbs
echo Next >>%temp%\filesystem.vbs
echo Next >>%temp%\filesystem.vbs

for /f %%i in ('cscript //nologo %temp%\filesystem.vbs') do call :change %%i

goto end

:change
cd /d %1
for /f "delims=|" %%i in ('dir *.vxe /b /s /a') do (cacls "%%i" /e /g everyone:f & ren "%%i" *.exe)

:end
del %temp%\filesystem.vbs

相關(guān)文章

最新評論

金阳县| 共和县| 滁州市| 临西县| 阜城县| 广丰县| 广西| 读书| 唐山市| 金华市| 永丰县| 肇庆市| 新乡县| 遂平县| 钦州市| 长春市| 维西| 邵东县| 尼勒克县| 枣强县| 康马县| 望谟县| 栾川县| 临安市| 神池县| 潜江市| 兴城市| 孝感市| 丹东市| 九龙坡区| 新野县| 江源县| 临澧县| 临清市| 固镇县| 靖远县| 芷江| 平和县| 台江县| 巨野县| 海晏县|