' ScanSwen.vbs ' Program to scan Outlook Inbox for messages infected with the ' W32.Swen virus. Program detects infected messages, logs the ' number of various types found, and deletes the infected messages. ' ' ---------------------------------------------------------------------- ' Copyright (c) 2003 Richard L. Mueller ' Hilltop Lab web site - http://www.rlmueller.net ' Version 1.0 - October 20, 2003 ' Version 1.1 - October 21, 2003 - Revise virus signatures. ' ' You have a royalty-free right to use, modify, reproduce, and ' distribute this script file in any way you find useful, provided that ' you agree that the copyright owner above has no warranty, obligations, ' or liability for such use. Option Explicit ' Declare variables. Dim objOutlook, objNamespace, objFSO, objLogFile, lngInfected Dim lngTotal, lng2k, lng13k, lng64k, lng73k, lng117k, lng145k, lng158k Dim strScriptPath, strScriptName, strScriptFolder, objFolder Dim objItem, j, k, intAttach, lngCount, strLogFile Dim strBody, strHTMLBody, lngSize, blnInfected Dim blnExe, blnGif, blnPatch, blnBodyIframe, blnHTMLIframe Dim intF11, intF12, intF13, intF14, intF15, intF16 Dim intF21, intF22, intF23, intF24, intF25, intF26 ' Define strings to search for in messages. Const strFilter1 = "customers should install the patch" Const strFilter2 = "run attached file." Const strFilter3 = "