ixs / pysssp

Python implementation of the Sophos SSSP protocol to interface with the SAVDI daemon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pysssp

Python SSSP client.

SSSP - the Sophos Simple Scanning Protocol - is a protocol to talk to a persistant sophos virus scanner and feed data to it.

Protocol details can be found at https://www.sophos.com/en-us/medialibrary/PDFs/documentation/savi\_sssp\_13\_meng.pdf For this to work, the SAV Dynamic Interface daemon needs to be running as well as a sophos AV daemon. Refer to https://www.sophos.com/en-us/medialibrary/PDFs/documentation/SAVDI-User-Manual.pdf for more details.

Example use:

$ sssp.py eicar.com
(False, 'Message is infected with EICAR-AV-Test')
$

Clamscan wrapper to read from stdin and scan via SAVDI TCP socket

$ clamscan-sssp -S inet:127.0.0.1:4020 -

This is useful to scan files on request with OwnCloud/Nextcloud's files_antivirus app

About

Python implementation of the Sophos SSSP protocol to interface with the SAVDI daemon.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%