diff --git a/test-uvscand b/test-uvscand new file mode 100755 index 0000000..f515439 --- /dev/null +++ b/test-uvscand @@ -0,0 +1,9 @@ +#!/usr/bin/env python + +import sys +import uvscand + +if __name__ == '__main__': + sys.exit( + uvscand.main() + ) diff --git a/uvscand/__init__.py b/uvscand/__init__.py index 57071c2..0b26b5a 100755 --- a/uvscand/__init__.py +++ b/uvscand/__init__.py @@ -28,7 +28,7 @@ import time from subprocess import Popen, PIPE -uvscan_regex = re.compile(r"Found:?(?: the| potentially unwanted program| (?:virus|trojan) or variant)? (.+?)(?:\.| (?:virus |trojan )?", re.MULTILINE) +uvscan_regex = re.compile(r"Found:?(?: the| potentially unwanted program| (?:virus|trojan) or variant)? (.+?)(?:\.| (?:virus |trojan )?)", re.MULTILINE) async def run(uvscan, filename):