rcs-common 9.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +49 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +1 -0
  5. data/Rakefile +27 -0
  6. data/lib/rcs-common.rb +21 -0
  7. data/lib/rcs-common/binary.rb +64 -0
  8. data/lib/rcs-common/cgi.rb +7 -0
  9. data/lib/rcs-common/component.rb +87 -0
  10. data/lib/rcs-common/crypt.rb +71 -0
  11. data/lib/rcs-common/deploy.rb +96 -0
  12. data/lib/rcs-common/diagnosticable.rb +136 -0
  13. data/lib/rcs-common/evidence.rb +261 -0
  14. data/lib/rcs-common/evidence/addressbook.rb +173 -0
  15. data/lib/rcs-common/evidence/application.rb +59 -0
  16. data/lib/rcs-common/evidence/calendar.rb +62 -0
  17. data/lib/rcs-common/evidence/call.rb +185 -0
  18. data/lib/rcs-common/evidence/camera.rb +25 -0
  19. data/lib/rcs-common/evidence/chat.rb +272 -0
  20. data/lib/rcs-common/evidence/clibpoard.rb +58 -0
  21. data/lib/rcs-common/evidence/command.rb +50 -0
  22. data/lib/rcs-common/evidence/common.rb +78 -0
  23. data/lib/rcs-common/evidence/content/camera/001.jpg +0 -0
  24. data/lib/rcs-common/evidence/content/coin/wallet_bit.dat +0 -0
  25. data/lib/rcs-common/evidence/content/coin/wallet_lite.dat +0 -0
  26. data/lib/rcs-common/evidence/content/file/Einstein.docx +0 -0
  27. data/lib/rcs-common/evidence/content/file/arabic.docx +0 -0
  28. data/lib/rcs-common/evidence/content/mouse/001.jpg +0 -0
  29. data/lib/rcs-common/evidence/content/mouse/002.jpg +0 -0
  30. data/lib/rcs-common/evidence/content/mouse/003.jpg +0 -0
  31. data/lib/rcs-common/evidence/content/mouse/004.jpg +0 -0
  32. data/lib/rcs-common/evidence/content/print/001.jpg +0 -0
  33. data/lib/rcs-common/evidence/content/screenshot/001.jpg +0 -0
  34. data/lib/rcs-common/evidence/content/screenshot/002.jpg +0 -0
  35. data/lib/rcs-common/evidence/content/screenshot/003.jpg +0 -0
  36. data/lib/rcs-common/evidence/content/url/001.jpg +0 -0
  37. data/lib/rcs-common/evidence/content/url/002.jpg +0 -0
  38. data/lib/rcs-common/evidence/content/url/003.jpg +0 -0
  39. data/lib/rcs-common/evidence/device.rb +23 -0
  40. data/lib/rcs-common/evidence/download.rb +54 -0
  41. data/lib/rcs-common/evidence/exec.rb +0 -0
  42. data/lib/rcs-common/evidence/file.rb +129 -0
  43. data/lib/rcs-common/evidence/filesystem.rb +71 -0
  44. data/lib/rcs-common/evidence/info.rb +24 -0
  45. data/lib/rcs-common/evidence/keylog.rb +84 -0
  46. data/lib/rcs-common/evidence/mail.rb +237 -0
  47. data/lib/rcs-common/evidence/mic.rb +39 -0
  48. data/lib/rcs-common/evidence/mms.rb +36 -0
  49. data/lib/rcs-common/evidence/money.rb +676 -0
  50. data/lib/rcs-common/evidence/mouse.rb +62 -0
  51. data/lib/rcs-common/evidence/password.rb +60 -0
  52. data/lib/rcs-common/evidence/photo.rb +80 -0
  53. data/lib/rcs-common/evidence/position.rb +303 -0
  54. data/lib/rcs-common/evidence/print.rb +50 -0
  55. data/lib/rcs-common/evidence/screenshot.rb +53 -0
  56. data/lib/rcs-common/evidence/sms.rb +91 -0
  57. data/lib/rcs-common/evidence/url.rb +133 -0
  58. data/lib/rcs-common/fixnum.rb +48 -0
  59. data/lib/rcs-common/gridfs.rb +294 -0
  60. data/lib/rcs-common/heartbeat.rb +96 -0
  61. data/lib/rcs-common/keywords.rb +50 -0
  62. data/lib/rcs-common/mime.rb +65 -0
  63. data/lib/rcs-common/mongoid.rb +19 -0
  64. data/lib/rcs-common/pascalize.rb +62 -0
  65. data/lib/rcs-common/path_utils.rb +67 -0
  66. data/lib/rcs-common/resolver.rb +40 -0
  67. data/lib/rcs-common/rest.rb +17 -0
  68. data/lib/rcs-common/sanitize.rb +42 -0
  69. data/lib/rcs-common/serializer.rb +404 -0
  70. data/lib/rcs-common/signature.rb +141 -0
  71. data/lib/rcs-common/stats.rb +94 -0
  72. data/lib/rcs-common/symbolize.rb +10 -0
  73. data/lib/rcs-common/systemstatus.rb +136 -0
  74. data/lib/rcs-common/temporary.rb +13 -0
  75. data/lib/rcs-common/time.rb +24 -0
  76. data/lib/rcs-common/trace.rb +138 -0
  77. data/lib/rcs-common/trace.yaml +42 -0
  78. data/lib/rcs-common/updater/client.rb +354 -0
  79. data/lib/rcs-common/updater/dsl.rb +178 -0
  80. data/lib/rcs-common/updater/payload.rb +79 -0
  81. data/lib/rcs-common/updater/server.rb +126 -0
  82. data/lib/rcs-common/updater/shared_key.rb +55 -0
  83. data/lib/rcs-common/updater/tmp_dir.rb +13 -0
  84. data/lib/rcs-common/utf16le.rb +83 -0
  85. data/lib/rcs-common/version.rb +5 -0
  86. data/lib/rcs-common/winfirewall.rb +235 -0
  87. data/rcs-common.gemspec +64 -0
  88. data/spec/gridfs_spec.rb +637 -0
  89. data/spec/mongoid.yaml +6 -0
  90. data/spec/signature_spec.rb +105 -0
  91. data/spec/spec_helper.rb +22 -0
  92. data/spec/updater_spec.rb +80 -0
  93. data/tasks/deploy.rake +21 -0
  94. data/tasks/protect.rake +90 -0
  95. data/test/helper.rb +17 -0
  96. data/test/test_binary.rb +107 -0
  97. data/test/test_cgi.rb +14 -0
  98. data/test/test_crypt.rb +125 -0
  99. data/test/test_evidence.rb +52 -0
  100. data/test/test_evidence_manager.rb +119 -0
  101. data/test/test_fixnum.rb +35 -0
  102. data/test/test_keywords.rb +137 -0
  103. data/test/test_mime.rb +49 -0
  104. data/test/test_pascalize.rb +100 -0
  105. data/test/test_path_utils.rb +24 -0
  106. data/test/test_rcs-common.rb +7 -0
  107. data/test/test_sanitize.rb +40 -0
  108. data/test/test_serialization.rb +20 -0
  109. data/test/test_stats.rb +90 -0
  110. data/test/test_symbolize.rb +20 -0
  111. data/test/test_systemstatus.rb +35 -0
  112. data/test/test_time.rb +56 -0
  113. data/test/test_trace.rb +25 -0
  114. data/test/test_utf16le.rb +71 -0
  115. data/test/test_winfirewall.rb +68 -0
  116. metadata +423 -0
@@ -0,0 +1,25 @@
1
+ require 'helper'
2
+
3
+ class TestRcsCommon < Test::Unit::TestCase
4
+
5
+ include RCS::Tracer
6
+
7
+ def test_trace_init_raise
8
+
9
+ # must fail since it does not find trace.yaml
10
+ assert_raise RuntimeError do
11
+ trace_init(Dir.pwd)
12
+ end
13
+
14
+ end
15
+
16
+ def test_trace_init_ok
17
+
18
+ # must succeed since the trace.yaml is specified
19
+ assert_nothing_raised do
20
+ trace_init(Dir.pwd, Dir.pwd + "/lib/rcs-common/trace.yaml")
21
+ end
22
+
23
+ end
24
+
25
+ end
@@ -0,0 +1,71 @@
1
+ # encoding: utf-8
2
+
3
+ require 'helper'
4
+
5
+ class StringIOTest < Test::Unit::TestCase
6
+
7
+ def test_correct_string
8
+ str = "aabbccdd"
9
+ bin = str.to_utf16le_binary_null
10
+ stream = StringIO.new bin
11
+ dst = stream.read_utf16le_string
12
+ assert_equal str, dst.utf16le_to_utf8
13
+ end
14
+
15
+ def test_unicode_string
16
+ str = "こんにちは世界"
17
+ bin = str.to_utf16le_binary_null
18
+ stream = StringIO.new bin
19
+ dst = stream.read_utf16le_string
20
+ assert_equal str, dst.utf16le_to_utf8
21
+ end
22
+
23
+
24
+ def test_zero_string
25
+ str = "\0".encode('UTF-16LE')
26
+ stream = StringIO.new str
27
+ dst = stream.read_utf16le_string
28
+ assert_equal '', dst.utf16le_to_utf8
29
+ end
30
+
31
+ def test_string_too_short
32
+ str = "\0"
33
+ stream = StringIO.new str
34
+ dst = stream.read_utf16le_string
35
+ assert_equal "", dst
36
+ end
37
+
38
+ def test_misaligned_string
39
+ str = "aa\0"
40
+ stream = StringIO.new str
41
+ dst = stream.read_utf16le_string
42
+ assert_equal "", dst
43
+ end
44
+
45
+ def test_string_not_terminated
46
+ str = "aabbcc"
47
+ bin = str.to_utf16le_binary_null
48
+ stream = StringIO.new bin
49
+ dst = stream.read_utf16le_string
50
+ assert_equal str, dst.utf16le_to_utf8
51
+ end
52
+
53
+ def test_double_string
54
+ expected = "aabbc"
55
+ str = expected.to_utf16le_binary_null + "ddeef".to_utf16le_binary
56
+ stream = StringIO.new str
57
+ dst = stream.read_utf16le_string
58
+ assert_equal expected, dst.utf16le_to_utf8
59
+ end
60
+
61
+ def test_ascii_string
62
+ str = "ascii-test"
63
+ bin = (str + "\0" + "junk").encode('US-ASCII')
64
+ stream = StringIO.new
65
+ stream.write bin
66
+ stream.rewind
67
+ dst = stream.read_ascii_string.force_encoding('US-ASCII')
68
+ assert_equal str, dst
69
+ end
70
+
71
+ end
@@ -0,0 +1,68 @@
1
+ # encoding: utf-8
2
+
3
+ require 'helper'
4
+ require 'securerandom'
5
+
6
+ require 'rcs-common/winfirewall'
7
+
8
+ class WinFirewallTest < Test::Unit::TestCase
9
+ def subject
10
+ self.class.subject
11
+ end
12
+
13
+ def self.subject
14
+ RCS::Common::WinFirewall
15
+ end
16
+
17
+ if subject.exists?
18
+ def call(command, **options)
19
+ subject::Advfirewall.call(command, options)
20
+ end
21
+
22
+ def test_status
23
+ call("set currentprofile state off")
24
+ assert_equal(subject.status, :off)
25
+
26
+ call("set currentprofile state on")
27
+ assert_equal(subject.status, :on)
28
+ end
29
+
30
+ def test_block_inbound
31
+ call("set currentprofile firewallpolicy allowinbound,allowoutbound")
32
+ assert_equal(subject.block_inbound?, false)
33
+
34
+ call("set currentprofile firewallpolicy blockinboundalways,allowoutbound")
35
+ assert_equal(subject.block_inbound?, true)
36
+
37
+ call("set currentprofile firewallpolicy blockinbound,allowoutbound")
38
+ assert_equal(subject.block_inbound?, true)
39
+ end
40
+
41
+ def test_add_rule_and_del_rule
42
+ rule_name = "test_rule_#{rand(1E10)}"
43
+ subject.add_rule(action: :allow, direction: :in, name: rule_name, local_port: 80, remote_ip: %w[LocalSubnet 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16], protocol: :tcp)
44
+ assert_equal(call("firewall show rule name=#{rule_name}", read: true).has_separator?, true)
45
+ subject.del_rule(rule_name)
46
+ assert_equal(call("firewall show rule name=#{rule_name}", read: true).has_separator?, false)
47
+ end
48
+
49
+ def test_invalid_add_rule
50
+ assert_raise { subject.add_rule(action: :allow, direction: :in, xxxxx: 1) }
51
+ end
52
+
53
+ def test_dns_resolution
54
+ rule_name = "test_rule_#{rand(1E10)}"
55
+ subject.add_rule(action: :allow, direction: :in, name: rule_name, remote_ip: "wikipedia.org", protocol: :tcp)
56
+ resp = call("firewall show rule name=#{rule_name}", read: true)
57
+ assert_equal(resp.include?('208.80.154.224'), true)
58
+ subject.del_rule(rule_name)
59
+
60
+ assert_raise { subject.add_rule(action: :allow, direction: :in, name: rule_name, remote_ip: "wikipedia.org.x.x.x", protocol: :tcp) }
61
+ assert_equal(call("firewall show rule name=#{rule_name}", read: true).has_separator?, false)
62
+ end
63
+
64
+ def test_del_missing_rule
65
+ assert_nothing_raised { subject.del_rule("#{rand(1E30)}") }
66
+ end
67
+ end
68
+ end
metadata ADDED
@@ -0,0 +1,423 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rcs-common
3
+ version: !ruby/object:Gem::Version
4
+ version: 9.6.0
5
+ platform: ruby
6
+ authors:
7
+ - alor
8
+ - daniele
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-07-07 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: log4r
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 1.1.9
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: 1.1.9
28
+ - !ruby/object:Gem::Dependency
29
+ name: eventmachine
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - '='
33
+ - !ruby/object:Gem::Version
34
+ version: 1.0.3
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '='
40
+ - !ruby/object:Gem::Version
41
+ version: 1.0.3
42
+ - !ruby/object:Gem::Dependency
43
+ name: mongoid
44
+ requirement: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '='
47
+ - !ruby/object:Gem::Version
48
+ version: 4.0.1
49
+ type: :runtime
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '='
54
+ - !ruby/object:Gem::Version
55
+ version: 4.0.1
56
+ - !ruby/object:Gem::Dependency
57
+ name: mime-types
58
+ requirement: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0'
63
+ type: :runtime
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ - !ruby/object:Gem::Dependency
71
+ name: sys-filesystem
72
+ requirement: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - ">="
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: sys-cpu
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
98
+ - !ruby/object:Gem::Dependency
99
+ name: ffi
100
+ requirement: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - ">="
103
+ - !ruby/object:Gem::Version
104
+ version: '0'
105
+ type: :runtime
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ - !ruby/object:Gem::Dependency
113
+ name: mail
114
+ requirement: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - ">="
117
+ - !ruby/object:Gem::Version
118
+ version: '0'
119
+ type: :runtime
120
+ prerelease: false
121
+ version_requirements: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - ">="
124
+ - !ruby/object:Gem::Version
125
+ version: '0'
126
+ - !ruby/object:Gem::Dependency
127
+ name: sbdb
128
+ requirement: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ type: :runtime
134
+ prerelease: false
135
+ version_requirements: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - ">="
138
+ - !ruby/object:Gem::Version
139
+ version: '0'
140
+ - !ruby/object:Gem::Dependency
141
+ name: yajl-ruby
142
+ requirement: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ type: :runtime
148
+ prerelease: false
149
+ version_requirements: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - ">="
152
+ - !ruby/object:Gem::Version
153
+ version: '0'
154
+ - !ruby/object:Gem::Dependency
155
+ name: em-http-server
156
+ requirement: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ version: '0'
161
+ type: :runtime
162
+ prerelease: false
163
+ version_requirements: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ - !ruby/object:Gem::Dependency
169
+ name: bundler
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - ">="
173
+ - !ruby/object:Gem::Version
174
+ version: '0'
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - ">="
180
+ - !ruby/object:Gem::Version
181
+ version: '0'
182
+ - !ruby/object:Gem::Dependency
183
+ name: rake
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - ">="
187
+ - !ruby/object:Gem::Version
188
+ version: '0'
189
+ type: :development
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: '0'
196
+ - !ruby/object:Gem::Dependency
197
+ name: test-unit
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - ">="
201
+ - !ruby/object:Gem::Version
202
+ version: '0'
203
+ type: :development
204
+ prerelease: false
205
+ version_requirements: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - ">="
208
+ - !ruby/object:Gem::Version
209
+ version: '0'
210
+ - !ruby/object:Gem::Dependency
211
+ name: simplecov
212
+ requirement: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - ">="
215
+ - !ruby/object:Gem::Version
216
+ version: '0'
217
+ type: :development
218
+ prerelease: false
219
+ version_requirements: !ruby/object:Gem::Requirement
220
+ requirements:
221
+ - - ">="
222
+ - !ruby/object:Gem::Version
223
+ version: '0'
224
+ - !ruby/object:Gem::Dependency
225
+ name: rspec
226
+ requirement: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ type: :development
232
+ prerelease: false
233
+ version_requirements: !ruby/object:Gem::Requirement
234
+ requirements:
235
+ - - ">="
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ - !ruby/object:Gem::Dependency
239
+ name: pry
240
+ requirement: !ruby/object:Gem::Requirement
241
+ requirements:
242
+ - - ">="
243
+ - !ruby/object:Gem::Version
244
+ version: '0'
245
+ type: :development
246
+ prerelease: false
247
+ version_requirements: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ">="
250
+ - !ruby/object:Gem::Version
251
+ version: '0'
252
+ description: Common components for the RCS Backend
253
+ email:
254
+ - alor@hackingteam.it
255
+ - daniele@hackingteam.it
256
+ executables: []
257
+ extensions: []
258
+ extra_rdoc_files: []
259
+ files:
260
+ - ".gitignore"
261
+ - Gemfile
262
+ - LICENSE.txt
263
+ - Rakefile
264
+ - lib/rcs-common.rb
265
+ - lib/rcs-common/binary.rb
266
+ - lib/rcs-common/cgi.rb
267
+ - lib/rcs-common/component.rb
268
+ - lib/rcs-common/crypt.rb
269
+ - lib/rcs-common/deploy.rb
270
+ - lib/rcs-common/diagnosticable.rb
271
+ - lib/rcs-common/evidence.rb
272
+ - lib/rcs-common/evidence/addressbook.rb
273
+ - lib/rcs-common/evidence/application.rb
274
+ - lib/rcs-common/evidence/calendar.rb
275
+ - lib/rcs-common/evidence/call.rb
276
+ - lib/rcs-common/evidence/camera.rb
277
+ - lib/rcs-common/evidence/chat.rb
278
+ - lib/rcs-common/evidence/clibpoard.rb
279
+ - lib/rcs-common/evidence/command.rb
280
+ - lib/rcs-common/evidence/common.rb
281
+ - lib/rcs-common/evidence/content/camera/001.jpg
282
+ - lib/rcs-common/evidence/content/coin/wallet_bit.dat
283
+ - lib/rcs-common/evidence/content/coin/wallet_lite.dat
284
+ - lib/rcs-common/evidence/content/file/Einstein.docx
285
+ - lib/rcs-common/evidence/content/file/arabic.docx
286
+ - lib/rcs-common/evidence/content/mouse/001.jpg
287
+ - lib/rcs-common/evidence/content/mouse/002.jpg
288
+ - lib/rcs-common/evidence/content/mouse/003.jpg
289
+ - lib/rcs-common/evidence/content/mouse/004.jpg
290
+ - lib/rcs-common/evidence/content/print/001.jpg
291
+ - lib/rcs-common/evidence/content/screenshot/001.jpg
292
+ - lib/rcs-common/evidence/content/screenshot/002.jpg
293
+ - lib/rcs-common/evidence/content/screenshot/003.jpg
294
+ - lib/rcs-common/evidence/content/url/001.jpg
295
+ - lib/rcs-common/evidence/content/url/002.jpg
296
+ - lib/rcs-common/evidence/content/url/003.jpg
297
+ - lib/rcs-common/evidence/device.rb
298
+ - lib/rcs-common/evidence/download.rb
299
+ - lib/rcs-common/evidence/exec.rb
300
+ - lib/rcs-common/evidence/file.rb
301
+ - lib/rcs-common/evidence/filesystem.rb
302
+ - lib/rcs-common/evidence/info.rb
303
+ - lib/rcs-common/evidence/keylog.rb
304
+ - lib/rcs-common/evidence/mail.rb
305
+ - lib/rcs-common/evidence/mic.rb
306
+ - lib/rcs-common/evidence/mms.rb
307
+ - lib/rcs-common/evidence/money.rb
308
+ - lib/rcs-common/evidence/mouse.rb
309
+ - lib/rcs-common/evidence/password.rb
310
+ - lib/rcs-common/evidence/photo.rb
311
+ - lib/rcs-common/evidence/position.rb
312
+ - lib/rcs-common/evidence/print.rb
313
+ - lib/rcs-common/evidence/screenshot.rb
314
+ - lib/rcs-common/evidence/sms.rb
315
+ - lib/rcs-common/evidence/url.rb
316
+ - lib/rcs-common/fixnum.rb
317
+ - lib/rcs-common/gridfs.rb
318
+ - lib/rcs-common/heartbeat.rb
319
+ - lib/rcs-common/keywords.rb
320
+ - lib/rcs-common/mime.rb
321
+ - lib/rcs-common/mongoid.rb
322
+ - lib/rcs-common/pascalize.rb
323
+ - lib/rcs-common/path_utils.rb
324
+ - lib/rcs-common/resolver.rb
325
+ - lib/rcs-common/rest.rb
326
+ - lib/rcs-common/sanitize.rb
327
+ - lib/rcs-common/serializer.rb
328
+ - lib/rcs-common/signature.rb
329
+ - lib/rcs-common/stats.rb
330
+ - lib/rcs-common/symbolize.rb
331
+ - lib/rcs-common/systemstatus.rb
332
+ - lib/rcs-common/temporary.rb
333
+ - lib/rcs-common/time.rb
334
+ - lib/rcs-common/trace.rb
335
+ - lib/rcs-common/trace.yaml
336
+ - lib/rcs-common/updater/client.rb
337
+ - lib/rcs-common/updater/dsl.rb
338
+ - lib/rcs-common/updater/payload.rb
339
+ - lib/rcs-common/updater/server.rb
340
+ - lib/rcs-common/updater/shared_key.rb
341
+ - lib/rcs-common/updater/tmp_dir.rb
342
+ - lib/rcs-common/utf16le.rb
343
+ - lib/rcs-common/version.rb
344
+ - lib/rcs-common/winfirewall.rb
345
+ - rcs-common.gemspec
346
+ - spec/gridfs_spec.rb
347
+ - spec/mongoid.yaml
348
+ - spec/signature_spec.rb
349
+ - spec/spec_helper.rb
350
+ - spec/updater_spec.rb
351
+ - tasks/deploy.rake
352
+ - tasks/protect.rake
353
+ - test/helper.rb
354
+ - test/test_binary.rb
355
+ - test/test_cgi.rb
356
+ - test/test_crypt.rb
357
+ - test/test_evidence.rb
358
+ - test/test_evidence_manager.rb
359
+ - test/test_fixnum.rb
360
+ - test/test_keywords.rb
361
+ - test/test_mime.rb
362
+ - test/test_pascalize.rb
363
+ - test/test_path_utils.rb
364
+ - test/test_rcs-common.rb
365
+ - test/test_sanitize.rb
366
+ - test/test_serialization.rb
367
+ - test/test_stats.rb
368
+ - test/test_symbolize.rb
369
+ - test/test_systemstatus.rb
370
+ - test/test_time.rb
371
+ - test/test_trace.rb
372
+ - test/test_utf16le.rb
373
+ - test/test_winfirewall.rb
374
+ homepage: ''
375
+ licenses: []
376
+ metadata: {}
377
+ post_install_message:
378
+ rdoc_options: []
379
+ require_paths:
380
+ - lib
381
+ required_ruby_version: !ruby/object:Gem::Requirement
382
+ requirements:
383
+ - - ">="
384
+ - !ruby/object:Gem::Version
385
+ version: '0'
386
+ required_rubygems_version: !ruby/object:Gem::Requirement
387
+ requirements:
388
+ - - ">="
389
+ - !ruby/object:Gem::Version
390
+ version: '0'
391
+ requirements: []
392
+ rubyforge_project:
393
+ rubygems_version: 2.4.8
394
+ signing_key:
395
+ specification_version: 4
396
+ summary: rcs-common
397
+ test_files:
398
+ - spec/gridfs_spec.rb
399
+ - spec/mongoid.yaml
400
+ - spec/signature_spec.rb
401
+ - spec/spec_helper.rb
402
+ - spec/updater_spec.rb
403
+ - test/helper.rb
404
+ - test/test_binary.rb
405
+ - test/test_cgi.rb
406
+ - test/test_crypt.rb
407
+ - test/test_evidence.rb
408
+ - test/test_evidence_manager.rb
409
+ - test/test_fixnum.rb
410
+ - test/test_keywords.rb
411
+ - test/test_mime.rb
412
+ - test/test_pascalize.rb
413
+ - test/test_path_utils.rb
414
+ - test/test_rcs-common.rb
415
+ - test/test_sanitize.rb
416
+ - test/test_serialization.rb
417
+ - test/test_stats.rb
418
+ - test/test_symbolize.rb
419
+ - test/test_systemstatus.rb
420
+ - test/test_time.rb
421
+ - test/test_trace.rb
422
+ - test/test_utf16le.rb
423
+ - test/test_winfirewall.rb