kcsboy 三段
註冊時間: 2005-08-30 文章: 65 來自: 中華民國
|
發表於: 星期一 七月 23, 2007 3:38 pm 文章標題: Spamassassin 用NOD 掃毒的調整 |
|
|
在spamassassinVBS.vbs 中用NOD 掃毒的修正。(紅色字部分)
;---------------------------------------
Const blnVirusCheck = True
' ClamWin ClamScan path
Const strClamWinExePath = "C:\Program Files\ClamWin\bin\clamscan.exe"
' NodScan path
Const strNodWinExePath = "C:\Progra~1\ESET\nod32.exe"
;---------------------------------------
'Result = WshShell.Run(strClamWinExePath & " -d " & chr(34) & "C:\Documents and Settings\All Users\.clamwin\db" & chr(34) & " -i --quiet -l c:\clamav.log --tempdir=" & strClamWinTempDir &" --remove " & chr(34) & strFilename & chr(34),7,True)
Result = WshShell.Run(strNodWinExePath & " " & strFilename & " /adware /ah /all /arch+ /clean /cleanmode /delete /heur+ /log+ /mailbox+ /ntfs+ /pack+ /quarantine /scanboot- /scanmbr- /scanmem- /scroll+ /sfx+ /unsafe /wrap+ /quit+ /sound-")
_________________ Platform:2003
Firewall:ISA
Virus:IMSS |
|