linkcheck.plugins.viruscheck
Check page content for virus infection with clamav.
Functions
Default clamav configs for various platforms. |
|
|
Initialize clamav configuration. |
|
Return socket.getaddrinfo for given host and port. |
|
Scan data for viruses. |
Classes
|
Clamav configuration wrapper, with clamd connection method. |
|
Virus scanner using a clamd daemon process. |
|
Checks the page content for virus infections with clamav. |
Exceptions
Raised on clamav errors. |
- exception linkcheck.plugins.viruscheck.ClamavError[source]
Bases:
Exception
Raised on clamav errors.
- class linkcheck.plugins.viruscheck.ClamavConfig(filename)[source]
Bases:
dict
Clamav configuration wrapper, with clamd connection method.
Parse clamav configuration file.
- class linkcheck.plugins.viruscheck.ClamdScanner(clamav_conf)[source]
Bases:
object
Virus scanner using a clamd daemon process.
Initialize clamd daemon process sockets.
- class linkcheck.plugins.viruscheck.VirusCheck(config)[source]
Bases:
_ContentPlugin
Checks the page content for virus infections with clamav. A local clamav daemon must be installed.
Initialize clamav configuration.
- linkcheck.plugins.viruscheck.canonical_clamav_conf()[source]
Default clamav configs for various platforms.