ruby_clamdscan 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.idea/.gitignore +8 -0
- data/.idea/modules.xml +8 -0
- data/.idea/ruby_clamdscan.iml +73 -0
- data/.idea/vcs.xml +6 -0
- data/.rspec +2 -0
- data/.rubocop.yml +37 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +5 -0
- data/CODE_OF_CONDUCT.md +84 -0
- data/Gemfile +16 -0
- data/Gemfile.lock +63 -0
- data/LICENSE.txt +339 -0
- data/README.md +33 -0
- data/Rakefile +12 -0
- data/docker/clamav/config/clamd.conf +801 -0
- data/docker/clamav/config/freshclam.conf +204 -0
- data/docker-compose.yml +18 -0
- data/eicar.com +1 -0
- data/lib/ruby_clamdscan/commands/manage.rb +23 -0
- data/lib/ruby_clamdscan/commands/scan.rb +117 -0
- data/lib/ruby_clamdscan/commands/status.rb +36 -0
- data/lib/ruby_clamdscan/commands/utils.rb +39 -0
- data/lib/ruby_clamdscan/configuration.rb +52 -0
- data/lib/ruby_clamdscan/errors/clamav_errors.rb +44 -0
- data/lib/ruby_clamdscan/models/scan_result.rb +41 -0
- data/lib/ruby_clamdscan/socket.rb +31 -0
- data/lib/ruby_clamdscan/version.rb +5 -0
- data/lib/ruby_clamdscan.rb +62 -0
- data/sig/ruby_clamdscan.rbs +4 -0
- data/test_image.jpg +0 -0
- metadata +77 -0
data/test_image.jpg
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ruby_clamdscan
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jacob Schwartz
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-05-08 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: Implements most commands for clamdscan using socket communcation so that
|
14
|
+
you don't needClamAV or clamdscan installed on the same host as your service
|
15
|
+
email:
|
16
|
+
- jacob.ray.schwartz@gmail.com
|
17
|
+
executables: []
|
18
|
+
extensions: []
|
19
|
+
extra_rdoc_files: []
|
20
|
+
files:
|
21
|
+
- ".idea/.gitignore"
|
22
|
+
- ".idea/modules.xml"
|
23
|
+
- ".idea/ruby_clamdscan.iml"
|
24
|
+
- ".idea/vcs.xml"
|
25
|
+
- ".rspec"
|
26
|
+
- ".rubocop.yml"
|
27
|
+
- ".ruby-version"
|
28
|
+
- CHANGELOG.md
|
29
|
+
- CODE_OF_CONDUCT.md
|
30
|
+
- Gemfile
|
31
|
+
- Gemfile.lock
|
32
|
+
- LICENSE.txt
|
33
|
+
- README.md
|
34
|
+
- Rakefile
|
35
|
+
- docker-compose.yml
|
36
|
+
- docker/clamav/config/clamd.conf
|
37
|
+
- docker/clamav/config/freshclam.conf
|
38
|
+
- eicar.com
|
39
|
+
- lib/ruby_clamdscan.rb
|
40
|
+
- lib/ruby_clamdscan/commands/manage.rb
|
41
|
+
- lib/ruby_clamdscan/commands/scan.rb
|
42
|
+
- lib/ruby_clamdscan/commands/status.rb
|
43
|
+
- lib/ruby_clamdscan/commands/utils.rb
|
44
|
+
- lib/ruby_clamdscan/configuration.rb
|
45
|
+
- lib/ruby_clamdscan/errors/clamav_errors.rb
|
46
|
+
- lib/ruby_clamdscan/models/scan_result.rb
|
47
|
+
- lib/ruby_clamdscan/socket.rb
|
48
|
+
- lib/ruby_clamdscan/version.rb
|
49
|
+
- sig/ruby_clamdscan.rbs
|
50
|
+
- test_image.jpg
|
51
|
+
homepage: https://jacobrayschwartz.com
|
52
|
+
licenses:
|
53
|
+
- GPL-2.0
|
54
|
+
metadata:
|
55
|
+
homepage_uri: https://jacobrayschwartz.com
|
56
|
+
source_code_uri: https://github.com/jacobrayschwartz/ruby_clamdscan
|
57
|
+
changelog_uri: https://github.com/jacobrayschwartz/ruby_clamdscan/blob/main/CHANGELOG.md
|
58
|
+
post_install_message:
|
59
|
+
rdoc_options: []
|
60
|
+
require_paths:
|
61
|
+
- lib
|
62
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 3.1.0
|
67
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - ">="
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0'
|
72
|
+
requirements: []
|
73
|
+
rubygems_version: 3.3.26
|
74
|
+
signing_key:
|
75
|
+
specification_version: 4
|
76
|
+
summary: Wrapper around TCP socket communication with a clamd instance
|
77
|
+
test_files: []
|