mindwarpltd
asked on
Is there a free command line / programmtically usable up-to-date anti-virus / malware scanner?
I'm looking for a free anti-virus / malware / spyware scanner which can be used from within my program.
So I need it to either run from the command line or via an api or something.
Also need to be able to run with vb.net 2005 prog
So I need it to either run from the command line or via an api or something.
Also need to be able to run with vb.net 2005 prog
ASKER
There's many free anti virus out there that have command line scanner included.
Ex: clamav, PAVCL, trend sysclean, etc
Ex: clamav, PAVCL, trend sysclean, etc
clamav is open source, and is being actively maintained.
While some of the 'free' antivirus are free for general use, i suspect that to use them in your own program may require a fee or some sort of royalty.
While some of the 'free' antivirus are free for general use, i suspect that to use them in your own program may require a fee or some sort of royalty.
ASKER
Ok I've installed clamav which had two options provide a key or use free.
Now I can't find any help on use it at the command line ?
Now I can't find any help on use it at the command line ?
What operating system are you looking at using it under? windows , linux etc etc?
ASKER
Yes windows...
I think these instructions are out of date, I don't have that program, these are the only exe files have.
C:\Program Files\ClamAV for Windows\ips.exe
C:\Program Files\ClamAV for Windows\2.0.14\agent.exe
C:\Program Files\ClamAV for Windows\2.0.14\creport.exe
C:\Program Files\ClamAV for Windows\2.0.14\ipsupportto ol.exe
C:\Program Files\ClamAV for Windows\2.0.14\iptray.exe
C:\Program Files\ClamAV for Windows\2.0.14\uninstall.e xe
C:\Program Files\ClamAV for Windows\2.0.14\updater.exe
C:\Program Files\ClamAV for Windows\tetra\driverctrl.e xe
C:\Program Files\ClamAV for Windows\tetra\setloadorder .exe
Hmmm
I think these instructions are out of date, I don't have that program, these are the only exe files have.
C:\Program Files\ClamAV for Windows\ips.exe
C:\Program Files\ClamAV for Windows\2.0.14\agent.exe
C:\Program Files\ClamAV for Windows\2.0.14\creport.exe
C:\Program Files\ClamAV for Windows\2.0.14\ipsupportto
C:\Program Files\ClamAV for Windows\2.0.14\iptray.exe
C:\Program Files\ClamAV for Windows\2.0.14\uninstall.e
C:\Program Files\ClamAV for Windows\2.0.14\updater.exe
C:\Program Files\ClamAV for Windows\tetra\driverctrl.e
C:\Program Files\ClamAV for Windows\tetra\setloadorder
Hmmm
ASKER
Ahh I had the wrong program.
Got the right one now.
However, I'm going to need to gain the results of the scan
Got the right one now.
However, I'm going to need to gain the results of the scan
ASKER
This is what I have so far which scans, closes but doesn't produce a log.
"C:\Program Files\ClamWin\bin\ClamWin. exe" --mode=scanner --path="D:\myfile.exe" --log="c:\clamavlog.txt" --close
"C:\Program Files\ClamWin\bin\ClamWin.
the program should return a code of 0 if the file is virus free, or 1 if it is infected. do you want more results than this?
ASKER
Oh does it.
No that would be fine.
Can I get it not to show the gui ?
I want to run it from my program and make it as fast as possible.
No that would be fine.
Can I get it not to show the gui ?
I want to run it from my program and make it as fast as possible.
nope, as the gui is a wrapper to the command line as far as i know bud
ASKER
Unfortunately I have no way of testing the 0 or 1 result, as I don't want to play with viruses, is this documented somewhere?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Excellent
You accepting answer that not related with your question.
Iam the first one that preferring with clamav,etc.
Iam the first one that preferring with clamav,etc.
http://forums.majorgeeks.com/showthread.php?p=869653