Class: Ratonvirus::Scanner::Eicar
- 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
This includes both, the default hash and a hash with for the file saved with a newline at the end of it.
%w( 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f 131f95c51cc819465fa1797f6ccacf9d494aaaff46fa3eac73ae63ffbdfd8267 ).freeze
Instance Attribute Summary
Attributes inherited from Base
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
20 21 22 |
# File 'lib/ratonvirus/scanner/eicar.rb', line 20 def executable? true end |