Sophos - Product Version
This attribute returns the product version for Sophos. 20130924 - updated to product version from virus definitions.
number
#!/bin/sh
#This script has been verified to work on Sophos (v 7.1).
#Check to see if Sophos is installed
if [ -f "/usr/bin/sweep" ]; then
result=`/usr/bin/sweep -v | grep "Product version" | awk '{print $4}'`
echo "<result>$result</result>"
else
echo "<result>Not installed</result>"
fi