H Maurice Lucas/clamav-users,

Thanks for your reply.

The requirment is that when user upload files(zip,tar,etc..) i need to
scan them, if the file contains "virus or exe" then i need to delete
them.

Here is how i am planning to implement it.
1.From java i execute the unix command as "clamscan <filename>", then
if the output contains text as FOUND then,
we delete the file.

2.If the output message give me, the files that is scanned inside the
archive, then i can look for text as ".exe", then i can delete the
file.
is there anyway i can find out like this?


Regards
M.Sudhakar

On Mon, Dec 15, 2008 at 7:23 AM, Maurice Lucas - TAOS-IT
<mslu...@taos-it.nl> wrote:
>> I have requirement that if the scanned archive file contains .EXE
>> file, i need to delete the archive files itself.
>> is the a way i can find out the scanned archives contains .EXE file?
>
> Check
>
> http://untroubled.org/mailfront/plugin-patterns.html
>
> for a list with executable content and make a filter using these.
> No FP for the last few years using these ;)
>
> met vriendelijke groet,
>
> Maurice Lucas
>
> TAOS-IT
> ………………………………………………………………....
> Paulus Buijsstraat 191
> 2613 HR  Delft
> www.taos-it.nl
> KvK Haaglanden nr. 27254410
>
>   Denk aan het milieu; is het afdrukken van deze e-mail echt noodzakelijk?
>
>
> _______________________________________________
> Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
> http://www.clamav.net/support/ml
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to