From: "Art" <
[email protected]>
< snip >
| Speaking of KAV, I just took a look at KAVDOS32 in conjuction with
| the twenty rogue files I listed in a different thread which contain
| Adware and in some cases Trojans. It ripped them all apart and found
| all the same malware that up-to-date Windows versions do. Pretty
| amazing for a old obsolete DOS scanner that hasn't been supported
| by Kaspersky in ages.
|
| I got to thinking about a small download of KAVDOS32 for scanning
| download folders only. In fact, I put together a package containing
| wget and a batch file as well. It updates and then invokes a command
| line as: KAVDOS32 C:\DOWNLOAD
|
| KAVDOS32 is much slower than the GUI version scanners, and it's
| unsuitable for scanning the drives of NT based OS. But for users
| looking for a free way to use KAV to scan just a d/l folder it should
| be ok. The main advantage would be a smaller download compared
| to a GUI version. It would offer users with a clue more flexibility
| in terms of options compared to the eScan util. They could modify
| both the batch and the PRF (Program Reference File) to suit their
| tastes.
|
| For anyone who wants to play with this, start by Googling up
| KAVDOS32.RAR and extract to c:\kav Then Google up the
| Windows version of WGET.EXE and copy it to the same folder.
| Create the following batch file in Notepad:
| *****************************************
| @echo off
| cls
| echo -----------------------------------------------
| echo Updating using updates1 ftp site
| echo -----------------------------------------------
| wget -N ftp://updates1.kaspersky-labs.com/updates_x/*.avc
| wget -N ftp://updates1.kaspersky-labs.com/updates_x/avp.*
| cls
| kavdos32 c:\download
| ****************************************
| Name it KAVDL.BAT and Save it also to the same folder.
| Drag the icon of KAVDL.BAT out to the desktop. Double
| click on it any time you want to scan some new file in c:\download
| Remember to keep an eye on the action. KAV will display what it's
| doing. Again, if KAV doesn't seem to be ripping apart the archive
| or Setup file, delete the download.
|
| Art
|
|
http://home.epix.net/~artnpeg
| Free antivirus:
|
http://www.ik-cs.com/programs/virtools/KASFX.EXE
|
http://www.claymania.com/KASFX.EXE
|
http://tinyurl.com/azzkc
Thanx Art !
I just scripted another Multi AV Scanning Tool module using this command line scanner. I
just haven't integrated it into the menu yet. Not sure if I want to especially since I
don't know how it will handle a directory path > 127 chars. (deep folders and/or combination
of long file names and long file named folders)
Since it is a DOS program the command line has a problem when it is given a long directory
name (just like Sophos SWEEP.EXE does). However, using the following COM object code
snippet I can easily convert the long directory name to its 8.3 nameing convention
version...
if len($folder)>2
$objFSO=CreateObject("Scripting.FileSystemObject")
$objFolder=$objFSO.GetFolder($folder)
$folder=$objFolder.ShortPath
endif
This way it can scan just a folder like; "c:\My Documents"
The command line switches are a bit confusing. I can't really tell what is the default and
what switches need to be enabled for agressive scanning.