Menu

#81 ClamScan and displaying a window when a virus is found

open
nobody
None
5
2012-09-05
2005-03-10
No

Im trying to integrate clamwin with FireFox and the
downloadbar extenstion. The extension can scan a file
when it has been downloaded, and Im trying to set
clamscan.exe up.

If clamscan founds a virus, then it will only display
to the stdout and return a 1. But the extension will
not do anything, since most other AV program displays a
dialog/window stating that the file has a virus in it.
So I need a way to display that it has an error.

It seems that the clamscan.exe is cross-platform,
right? So perhaps a program that is called
clamscanwin.exe could be an adapter between the
extension and the clamscan.exe. This program would run
clamscan.exe and then IFF it returns 1 (it has found a
virus), the clamscanwin.exe can display a window/dialog
stating it has found a virus, and ask the user what
should happen to the file.

Discussion


Log in to post a comment.