Requesting info about command line scanners...

  • Thread starter Thread starter CB
  • Start date Start date
C

CB

Hi,
I'm currently developing a Java-based tool (on Win2K platform) which
uploads a given file from client to server. The requirement is to scan
the file at the client end, invoking an anti-virus program from the
server as a client process, and if the file is infected, prohibit
upload (Much the same way as Yahoo or Hotmail treats the attachment
uploads).
For this purpose, I'm using the vpscan.exe which is bundled with
Norton Antivirus Corporate Edition. Unfortunately this program doesn't
have any documentation as to the "dos error levels" or "Error
Messages" or return values for the status of scan (whether the file is
infected or clean).
Can anybody throw some light in this regard and suggest me how the
scan results (as much as I've experienced, it does not output any
messages even if a file is scanned directly from the command prompt
;o()?
If you think that vpscan.exe is not the right tool to be used in this
context, please guide me to the suitable tool.
Thanks in anticipation.
Regards,
RPK
 
CB said:
Hi,
I'm currently developing a Java-based tool (on Win2K platform) which
uploads a given file from client to server. The requirement is to scan
the file at the client end, invoking an anti-virus program from the
server as a client process, and if the file is infected, prohibit
upload (Much the same way as Yahoo or Hotmail treats the attachment
uploads).
For this purpose, I'm using the vpscan.exe which is bundled with
Norton Antivirus Corporate Edition. Unfortunately this program doesn't
have any documentation as to the "dos error levels" or "Error
Messages" or return values for the status of scan (whether the file is
infected or clean).
Can anybody throw some light in this regard and suggest me how the
scan results (as much as I've experienced, it does not output any
messages even if a file is scanned directly from the command prompt
;o()?
If you think that vpscan.exe is not the right tool to be used in this
context, please guide me to the suitable tool.

well, off the top of my head, i'd try using the tool to scan the eicar
standard anti-virus test file and see what it returns there... it
should treat that testfile the same as a real virus so you should be
able to gather the information you're looking for from that experiment...

see http://www.eicar.org/anti_virus_test_file.htm ...
 
Back
Top