Class: Ratonvirus::Scanner::Eicar

Inherits:
Base
  • Object
show all
Defined in:
lib/ratonvirus/scanner/eicar.rb

Overview

Dummy EICAR file scanner to test the integration with this gem.

Only to be used for testing the functionality of this gem.

Constant Summary collapse

EICAR_SHA256 =

SHA256 digest of the EICAR test file for virus testing See: en.wikipedia.org/wiki/EICAR_test_file

"131f95c51cc819465fa1797f6ccacf9d494aaaff46fa3eac73ae63ffbdfd8267"

Instance Attribute Summary

Attributes inherited from Base

#config, #errors

Class Method Summary collapse

Methods inherited from Base

#available?, #initialize, #setup, #virus?

Constructor Details

This class inherits a constructor from Ratonvirus::Scanner::Base

Class Method Details

.executable?Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/ratonvirus/scanner/eicar.rb', line 14

def executable?
  true
end