metasploit-model 2.0.4 → 3.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/.travis.yml +8 -3
- data/.yardopts +2 -1
- data/Gemfile +2 -2
- data/app/validators/address_format_validator.rb +26 -0
- data/app/validators/ip_format_validator.rb +13 -19
- data/app/validators/nil_validator.rb +3 -3
- data/app/validators/parameters_validator.rb +18 -10
- data/app/validators/password_is_strong_validator.rb +93 -67
- data/lib/metasploit/model.rb +1 -0
- data/lib/metasploit/model/base.rb +2 -2
- data/lib/metasploit/model/engine.rb +2 -2
- data/lib/metasploit/model/file.rb +1 -0
- data/lib/metasploit/model/search/attribute.rb +1 -1
- data/lib/metasploit/model/search/operator/help.rb +1 -1
- data/lib/metasploit/model/translation.rb +2 -2
- data/lib/metasploit/model/version.rb +1 -1
- data/metasploit-model.gemspec +11 -13
- data/spec/app/models/metasploit/model/association/reflection_spec.rb +2 -2
- data/spec/app/models/metasploit/model/search/operator/association_spec.rb +1 -1
- data/spec/app/models/metasploit/model/search/operator/attribute_spec.rb +1 -1
- data/spec/app/validators/address_format_validator_spec.rb +136 -0
- data/spec/app/validators/ip_format_validator_spec.rb +0 -24
- data/spec/app/validators/password_is_strong_validator_spec.rb +31 -42
- data/spec/dummy/app/models/application_record.rb +3 -0
- data/spec/dummy/config/application.rb +1 -5
- data/spec/dummy/config/environments/development.rb +0 -10
- data/spec/dummy/db/schema.rb +0 -1
- data/spec/factories/metasploit/model/association/reflections.rb +1 -1
- data/spec/factories/metasploit/model/bases.rb +1 -1
- data/spec/factories/metasploit/model/search/operator/associations.rb +1 -1
- data/spec/factories/metasploit/model/search/operator/attributes.rb +1 -1
- data/spec/factories/metasploit/model/search/operator/bases.rb +1 -1
- data/spec/lib/metasploit/model/engine_spec.rb +3 -3
- data/spec/lib/metasploit/model/search/attribute_spec.rb +2 -2
- metadata +106 -99
- metadata.gz.sig +0 -0
- data/spec/dummy/config/initializers/assets.rb +0 -8
@@ -20,16 +20,6 @@ Rails.application.configure do
|
|
20
20
|
# Raise an error on page load if there are pending migrations.
|
21
21
|
config.active_record.migration_error = :page_load
|
22
22
|
|
23
|
-
# Debug mode disables concatenation and preprocessing of assets.
|
24
|
-
# This option may cause significant delays in view rendering with a large
|
25
|
-
# number of complex assets.
|
26
|
-
config.assets.debug = true
|
27
|
-
|
28
|
-
# Adds additional error checking when serving assets at runtime.
|
29
|
-
# Checks for improperly declared sprockets dependencies.
|
30
|
-
# Raises helpful error messages.
|
31
|
-
config.assets.raise_runtime_errors = true
|
32
|
-
|
33
23
|
# Raises error for missing translations
|
34
24
|
# config.action_view.raise_on_missing_translations = true
|
35
25
|
end
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -106,11 +106,11 @@ RSpec.describe Metasploit::Model::Engine do
|
|
106
106
|
initializer.run
|
107
107
|
end
|
108
108
|
|
109
|
-
context 'with
|
110
|
-
it 'should prepend full path to spec/factories to
|
109
|
+
context 'with FactoryBot defined' do
|
110
|
+
it 'should prepend full path to spec/factories to FactoryBot.definition_file_paths' do
|
111
111
|
definition_file_path = Metasploit::Model::Engine.root.join('spec', 'factories')
|
112
112
|
|
113
|
-
expect(
|
113
|
+
expect(FactoryBot.definition_file_paths).to receive(:unshift).with(definition_file_path)
|
114
114
|
|
115
115
|
run
|
116
116
|
end
|
@@ -10,12 +10,12 @@ RSpec.describe Metasploit::Model::Search::Attribute do
|
|
10
10
|
context 'search_attribute' do
|
11
11
|
context 'with attribute' do
|
12
12
|
let(:attribute) do
|
13
|
-
|
13
|
+
FactoryBot.generate :metasploit_model_search_operator_attribute_attribute
|
14
14
|
end
|
15
15
|
|
16
16
|
context 'with :type' do
|
17
17
|
let(:type) do
|
18
|
-
|
18
|
+
FactoryBot.generate :metasploit_model_search_operator_attribute_type
|
19
19
|
end
|
20
20
|
|
21
21
|
context 'operator' do
|
metadata
CHANGED
@@ -1,111 +1,116 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Metasploit Hackers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
13
|
+
MIIDtzCCAp+gAwIBAgIQDOfg5RfYRv6P5WD8G/AwOTANBgkqhkiG9w0BAQUFADBl
|
14
|
+
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
|
15
|
+
d3cuZGlnaWNlcnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJv
|
16
|
+
b3QgQ0EwHhcNMDYxMTEwMDAwMDAwWhcNMzExMTEwMDAwMDAwWjBlMQswCQYDVQQG
|
17
|
+
EwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3d3cuZGlnaWNl
|
18
|
+
cnQuY29tMSQwIgYDVQQDExtEaWdpQ2VydCBBc3N1cmVkIElEIFJvb3QgQ0EwggEi
|
19
|
+
MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCtDhXO5EOAXLGH87dg+XESpa7c
|
20
|
+
JpSIqvTO9SA5KFhgDPiA2qkVlTJhPLWxKISKityfCgyDF3qPkKyK53lTXDGEKvYP
|
21
|
+
mDI2dsze3Tyoou9q+yHyUmHfnyDXH+Kx2f4YZNISW1/5WBg1vEfNoTb5a3/UsDg+
|
22
|
+
wRvDjDPZ2C8Y/igPs6eD1sNu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EknWpNgVhohbot1lfVAMmIhdtOVaRVcQQixWPwprDj/ydB8ryDMDosIMcw+fkoXU
|
94
|
+
9GJsSaSRRYQ9UUkVL27b64okU8D48m8=
|
90
95
|
-----END CERTIFICATE-----
|
91
|
-
date:
|
96
|
+
date: 2020-11-30 00:00:00.000000000 Z
|
92
97
|
dependencies:
|
93
98
|
- !ruby/object:Gem::Dependency
|
94
|
-
name:
|
99
|
+
name: metasploit-yard
|
95
100
|
requirement: !ruby/object:Gem::Requirement
|
96
101
|
requirements:
|
97
|
-
- - "
|
102
|
+
- - ">="
|
98
103
|
- !ruby/object:Gem::Version
|
99
|
-
version: '
|
104
|
+
version: '0'
|
100
105
|
type: :development
|
101
106
|
prerelease: false
|
102
107
|
version_requirements: !ruby/object:Gem::Requirement
|
103
108
|
requirements:
|
104
|
-
- - "
|
109
|
+
- - ">="
|
105
110
|
- !ruby/object:Gem::Version
|
106
|
-
version: '
|
111
|
+
version: '0'
|
107
112
|
- !ruby/object:Gem::Dependency
|
108
|
-
name: metasploit-
|
113
|
+
name: metasploit-erd
|
109
114
|
requirement: !ruby/object:Gem::Requirement
|
110
115
|
requirements:
|
111
116
|
- - ">="
|
@@ -119,7 +124,7 @@ dependencies:
|
|
119
124
|
- !ruby/object:Gem::Version
|
120
125
|
version: '0'
|
121
126
|
- !ruby/object:Gem::Dependency
|
122
|
-
name:
|
127
|
+
name: rake
|
123
128
|
requirement: !ruby/object:Gem::Requirement
|
124
129
|
requirements:
|
125
130
|
- - ">="
|
@@ -133,7 +138,7 @@ dependencies:
|
|
133
138
|
- !ruby/object:Gem::Version
|
134
139
|
version: '0'
|
135
140
|
- !ruby/object:Gem::Dependency
|
136
|
-
name:
|
141
|
+
name: yard
|
137
142
|
requirement: !ruby/object:Gem::Requirement
|
138
143
|
requirements:
|
139
144
|
- - ">="
|
@@ -147,61 +152,61 @@ dependencies:
|
|
147
152
|
- !ruby/object:Gem::Version
|
148
153
|
version: '0'
|
149
154
|
- !ruby/object:Gem::Dependency
|
150
|
-
name:
|
155
|
+
name: e2mmap
|
151
156
|
requirement: !ruby/object:Gem::Requirement
|
152
157
|
requirements:
|
153
|
-
- - "
|
158
|
+
- - ">="
|
154
159
|
- !ruby/object:Gem::Version
|
155
|
-
version: 0
|
160
|
+
version: '0'
|
156
161
|
type: :development
|
157
162
|
prerelease: false
|
158
163
|
version_requirements: !ruby/object:Gem::Requirement
|
159
164
|
requirements:
|
160
|
-
- - "
|
165
|
+
- - ">="
|
161
166
|
- !ruby/object:Gem::Version
|
162
|
-
version: 0
|
167
|
+
version: '0'
|
163
168
|
- !ruby/object:Gem::Dependency
|
164
169
|
name: activemodel
|
165
170
|
requirement: !ruby/object:Gem::Requirement
|
166
171
|
requirements:
|
167
172
|
- - "~>"
|
168
173
|
- !ruby/object:Gem::Version
|
169
|
-
version:
|
174
|
+
version: 5.2.2
|
170
175
|
type: :runtime
|
171
176
|
prerelease: false
|
172
177
|
version_requirements: !ruby/object:Gem::Requirement
|
173
178
|
requirements:
|
174
179
|
- - "~>"
|
175
180
|
- !ruby/object:Gem::Version
|
176
|
-
version:
|
181
|
+
version: 5.2.2
|
177
182
|
- !ruby/object:Gem::Dependency
|
178
183
|
name: activesupport
|
179
184
|
requirement: !ruby/object:Gem::Requirement
|
180
185
|
requirements:
|
181
186
|
- - "~>"
|
182
187
|
- !ruby/object:Gem::Version
|
183
|
-
version:
|
188
|
+
version: 5.2.2
|
184
189
|
type: :runtime
|
185
190
|
prerelease: false
|
186
191
|
version_requirements: !ruby/object:Gem::Requirement
|
187
192
|
requirements:
|
188
193
|
- - "~>"
|
189
194
|
- !ruby/object:Gem::Version
|
190
|
-
version:
|
195
|
+
version: 5.2.2
|
191
196
|
- !ruby/object:Gem::Dependency
|
192
197
|
name: railties
|
193
198
|
requirement: !ruby/object:Gem::Requirement
|
194
199
|
requirements:
|
195
200
|
- - "~>"
|
196
201
|
- !ruby/object:Gem::Version
|
197
|
-
version:
|
202
|
+
version: 5.2.2
|
198
203
|
type: :runtime
|
199
204
|
prerelease: false
|
200
205
|
version_requirements: !ruby/object:Gem::Requirement
|
201
206
|
requirements:
|
202
207
|
- - "~>"
|
203
208
|
- !ruby/object:Gem::Version
|
204
|
-
version:
|
209
|
+
version: 5.2.2
|
205
210
|
- !ruby/object:Gem::Dependency
|
206
211
|
name: redcarpet
|
207
212
|
requirement: !ruby/object:Gem::Requirement
|
@@ -219,7 +224,7 @@ dependencies:
|
|
219
224
|
description: Common code, such as validators and mixins, that are shared between ActiveModels
|
220
225
|
in metasploit-framework and ActiveRecords in metasploit_data_models.
|
221
226
|
email:
|
222
|
-
-
|
227
|
+
- msfdev@metasploit.com
|
223
228
|
executables: []
|
224
229
|
extensions: []
|
225
230
|
extra_rdoc_files: []
|
@@ -272,6 +277,7 @@ files:
|
|
272
277
|
- app/models/metasploit/model/search/operator/single.rb
|
273
278
|
- app/models/metasploit/model/search/query.rb
|
274
279
|
- app/models/metasploit/model/visitation/visitor.rb
|
280
|
+
- app/validators/address_format_validator.rb
|
275
281
|
- app/validators/ip_format_validator.rb
|
276
282
|
- app/validators/nil_validator.rb
|
277
283
|
- app/validators/parameters_validator.rb
|
@@ -345,6 +351,7 @@ files:
|
|
345
351
|
- spec/app/models/metasploit/model/search/operator/single_spec.rb
|
346
352
|
- spec/app/models/metasploit/model/search/query_spec.rb
|
347
353
|
- spec/app/models/metasploit/model/visitation/visitor_spec.rb
|
354
|
+
- spec/app/validators/address_format_validator_spec.rb
|
348
355
|
- spec/app/validators/ip_format_validator_spec.rb
|
349
356
|
- spec/app/validators/nil_validator_spec.rb
|
350
357
|
- spec/app/validators/parameters_validator_spec.rb
|
@@ -355,6 +362,7 @@ files:
|
|
355
362
|
- spec/dummy/app/controllers/application_controller.rb
|
356
363
|
- spec/dummy/app/helpers/application_helper.rb
|
357
364
|
- spec/dummy/app/mailers/.gitkeep
|
365
|
+
- spec/dummy/app/models/application_record.rb
|
358
366
|
- spec/dummy/app/views/layouts/application.html.erb
|
359
367
|
- spec/dummy/bin/bundle
|
360
368
|
- spec/dummy/bin/rails
|
@@ -368,7 +376,6 @@ files:
|
|
368
376
|
- spec/dummy/config/environments/development.rb
|
369
377
|
- spec/dummy/config/environments/production.rb
|
370
378
|
- spec/dummy/config/environments/test.rb
|
371
|
-
- spec/dummy/config/initializers/assets.rb
|
372
379
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
373
380
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
374
381
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
@@ -443,7 +450,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
443
450
|
requirements:
|
444
451
|
- - ">="
|
445
452
|
- !ruby/object:Gem::Version
|
446
|
-
version: 2.
|
453
|
+
version: 2.4.0
|
447
454
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
448
455
|
requirements:
|
449
456
|
- - ">="
|
@@ -451,7 +458,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
451
458
|
version: '0'
|
452
459
|
requirements: []
|
453
460
|
rubyforge_project:
|
454
|
-
rubygems_version: 2.
|
461
|
+
rubygems_version: 2.7.10
|
455
462
|
signing_key:
|
456
463
|
specification_version: 4
|
457
464
|
summary: Metasploit Model Mixins and Validators
|
@@ -484,6 +491,7 @@ test_files:
|
|
484
491
|
- spec/app/models/metasploit/model/search/operator/single_spec.rb
|
485
492
|
- spec/app/models/metasploit/model/search/query_spec.rb
|
486
493
|
- spec/app/models/metasploit/model/visitation/visitor_spec.rb
|
494
|
+
- spec/app/validators/address_format_validator_spec.rb
|
487
495
|
- spec/app/validators/ip_format_validator_spec.rb
|
488
496
|
- spec/app/validators/nil_validator_spec.rb
|
489
497
|
- spec/app/validators/parameters_validator_spec.rb
|
@@ -494,6 +502,7 @@ test_files:
|
|
494
502
|
- spec/dummy/app/controllers/application_controller.rb
|
495
503
|
- spec/dummy/app/helpers/application_helper.rb
|
496
504
|
- spec/dummy/app/mailers/.gitkeep
|
505
|
+
- spec/dummy/app/models/application_record.rb
|
497
506
|
- spec/dummy/app/views/layouts/application.html.erb
|
498
507
|
- spec/dummy/bin/bundle
|
499
508
|
- spec/dummy/bin/rails
|
@@ -507,7 +516,6 @@ test_files:
|
|
507
516
|
- spec/dummy/config/environments/development.rb
|
508
517
|
- spec/dummy/config/environments/production.rb
|
509
518
|
- spec/dummy/config/environments/test.rb
|
510
|
-
- spec/dummy/config/initializers/assets.rb
|
511
519
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
512
520
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
513
521
|
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
@@ -569,4 +577,3 @@ test_files:
|
|
569
577
|
- spec/support/shared/examples/search_association.rb
|
570
578
|
- spec/support/shared/examples/search_attribute.rb
|
571
579
|
- spec/support/shared/examples/search_with.rb
|
572
|
-
has_rdoc:
|