Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClamAV AVS service #12

Closed
sahadevansandeep opened this issue Dec 8, 2021 · 2 comments
Closed

ClamAV AVS service #12

sahadevansandeep opened this issue Dec 8, 2021 · 2 comments

Comments

@sahadevansandeep
Copy link

sahadevansandeep commented Dec 8, 2021

Hi

I am trying to reuse the AVSService methods to scan the documents in my custom application.

After i start the clam AV , I try to scan a document from my custom application by invoking the avsService.scan() method, however I am getting isclean as 'true' even for a file with virus. Same file is getting detected with virus when i try the 'Scan a file' option in AEM tools.

@gruberrolandvaltech
Copy link
Collaborator

Maybe there is an issue building the input stream in your custom code. Could it be that it is already read or stream is closed? Can you post some lines how it is created?
The AEM tool uses the exact same method of AVSService.

@sahadevansandeep
Copy link
Author

Yes my bad i read the stream before sending it. thanks for your support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants