利用clamav为程序添加查毒功能

<iframe align="center" marginwidth="0" marginheight="0" src="http://www.zealware.com/csdnblog336280.html" frameborder="0" width="336" scrolling="no" height="280"></iframe>

1. 从 http://www.clamav.net/ 下载源文件安装。
./configure & make & make install
2. 配置病毒代码自动更新
编辑/usr/local/etc/freshclam.conf,按照说明注释掉文件中第一行就可以了.
配置计划任务 2 0 * * * /usr/local/bin/freshclam --quiet

3. 调用clamav实现查毒.
clamav支持很多语言调用,我用的是pyclamva
按照以下网址的页面中按照和例子就可以实现了
http://xael.org/norman/python/pyclamav/index.html




你可能感兴趣的:(html,.net,python)