扫描上传的文件C#ASP.net [英] Scan uploaded files C# ASP.net

查看:212
本文介绍了扫描上传的文件C#ASP.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试对上传的文件进行病毒扫描. 我无法控制已安装的病毒扫描程序,该产品由多方使用不同的扫描程序托管.

I'm trying to do a virus scan on uploaded files. I have no control over the installed virus scanner, the product hosted by multiple parties with different scanners.

我尝试了以下库,但它始终在eicar文件上返回VirusNotFound. https://antivirusscanner.codeplex.com/

I tried the following library but it always returns VirusNotFound on the eicar file. https://antivirusscanner.codeplex.com/

您知道其他解决方案吗?

Do you know any other solutions?

推荐答案

ClamAV的检测分数非常差. VirusTotal不在内部.

ClamAV has pretty bad detection scores. VirusTotal is not on premises.

我决定为多个扫描仪创建CLI包装,可以在此处找到nuget软件包: https://www.nuget.org/packages?q=avscan

I decided to create CLI wrappers for multiple scanners, nuget packages can be found here: https://www.nuget.org/packages?q=avscan

及其文档和源代码可从 https://github.com/yolofy/AvScan 获得.

And its documentation and source code available at https://github.com/yolofy/AvScan

这篇关于扫描上传的文件C#ASP.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆