Replying to a message from: Tommy

I am testing Avast as another antivirus,but seems can not get the result txt.

At the shell window,i run: 

/usr/bin/scan 001.xls,it return result: /root/001.xls VBS:Malware-gen
/usr/bin/scan 002.xlsx,it return result: /root/002.xlsx  Other:Malware-gen [Trj]

ExternalTool.xml config file is as below:

<?xml version="1.0" encoding="UTF-8"?>
<ExternalTools>
<ToolSet>
<oneTool>
<path>/usr/bin/scan</path>
<condition>1</condition>
<exitCode>1</exitCode>
<resultText><![CDATA[.*:.*]]></resultText>
<parameters>
<oneParam>$SINGLE_ATTACHMENT</oneParam>
</parameters>
</oneTool>
</ToolSet>
</ExternalTools>

 

It only return as such: scan was applied. Exit Code: 1

no virus name showing.