metasploit-model 0.28.0-java → 0.29.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +3 -1
- data/config/locales/en.yml +0 -171
- data/lib/metasploit/model.rb +0 -2
- data/lib/metasploit/model/spec.rb +0 -130
- data/lib/metasploit/model/version.rb +1 -1
- data/spec/support/shared/examples/metasploit/model/search/operator/help.rb +4 -6
- data/spec/support/shared/examples/metasploit/model/translation.rb +1 -1
- data/spec/support/shared/examples/search_association.rb +1 -1
- data/spec/support/shared/examples/search_with.rb +4 -2
- metadata +2 -348
- data/app/models/metasploit/model/module/ancestor/spec/template.rb +0 -125
- data/app/models/metasploit/model/module/class/spec/template.rb +0 -92
- data/app/models/metasploit/model/module/instance/spec/template.rb +0 -97
- data/app/models/metasploit/model/spec/template.rb +0 -277
- data/app/validators/derivation_validator.rb +0 -17
- data/app/validators/dynamic_length_validator.rb +0 -45
- data/lib/metasploit/model/architecture.rb +0 -342
- data/lib/metasploit/model/author.rb +0 -54
- data/lib/metasploit/model/authority.rb +0 -141
- data/lib/metasploit/model/authority/bid.rb +0 -10
- data/lib/metasploit/model/authority/cve.rb +0 -10
- data/lib/metasploit/model/authority/msb.rb +0 -10
- data/lib/metasploit/model/authority/osvdb.rb +0 -10
- data/lib/metasploit/model/authority/pmasa.rb +0 -10
- data/lib/metasploit/model/authority/secunia.rb +0 -10
- data/lib/metasploit/model/authority/us_cert_vu.rb +0 -10
- data/lib/metasploit/model/authority/waraxe.rb +0 -31
- data/lib/metasploit/model/authority/zdi.rb +0 -10
- data/lib/metasploit/model/derivation.rb +0 -109
- data/lib/metasploit/model/derivation/full_name.rb +0 -19
- data/lib/metasploit/model/email_address.rb +0 -124
- data/lib/metasploit/model/module.rb +0 -20
- data/lib/metasploit/model/module/action.rb +0 -52
- data/lib/metasploit/model/module/ancestor.rb +0 -491
- data/lib/metasploit/model/module/ancestor/spec.rb +0 -6
- data/lib/metasploit/model/module/architecture.rb +0 -34
- data/lib/metasploit/model/module/author.rb +0 -40
- data/lib/metasploit/model/module/class.rb +0 -403
- data/lib/metasploit/model/module/class/spec.rb +0 -6
- data/lib/metasploit/model/module/handler.rb +0 -29
- data/lib/metasploit/model/module/instance.rb +0 -622
- data/lib/metasploit/model/module/instance/spec.rb +0 -6
- data/lib/metasploit/model/module/path.rb +0 -159
- data/lib/metasploit/model/module/platform.rb +0 -32
- data/lib/metasploit/model/module/rank.rb +0 -85
- data/lib/metasploit/model/module/reference.rb +0 -32
- data/lib/metasploit/model/module/stance.rb +0 -16
- data/lib/metasploit/model/module/target.rb +0 -78
- data/lib/metasploit/model/module/target/architecture.rb +0 -34
- data/lib/metasploit/model/module/target/platform.rb +0 -34
- data/lib/metasploit/model/module/type.rb +0 -38
- data/lib/metasploit/model/platform.rb +0 -246
- data/lib/metasploit/model/real_pathname.rb +0 -16
- data/lib/metasploit/model/reference.rb +0 -104
- data/spec/app/models/metasploit/model/module/ancestor/spec/template_spec.rb +0 -174
- data/spec/app/models/metasploit/model/module/class/spec/template_spec.rb +0 -222
- data/spec/app/models/metasploit/model/module/instance/spec/template_spec.rb +0 -201
- data/spec/app/models/metasploit/model/search/operator/deprecated/app_spec.rb +0 -62
- data/spec/app/models/metasploit/model/search/operator/deprecated/author_spec.rb +0 -197
- data/spec/app/models/metasploit/model/search/operator/deprecated/authority_spec.rb +0 -135
- data/spec/app/models/metasploit/model/search/operator/deprecated/platform_spec.rb +0 -124
- data/spec/app/models/metasploit/model/search/operator/deprecated/ref_spec.rb +0 -387
- data/spec/app/models/metasploit/model/search/operator/deprecated/text_spec.rb +0 -399
- data/spec/app/models/metasploit/model/spec/template_spec.rb +0 -23
- data/spec/app/validators/derivation_validator_spec.rb +0 -92
- data/spec/app/validators/dynamic_length_validator_spec.rb +0 -293
- data/spec/dummy/app/models/dummy/architecture.rb +0 -92
- data/spec/dummy/app/models/dummy/author.rb +0 -15
- data/spec/dummy/app/models/dummy/authority.rb +0 -130
- data/spec/dummy/app/models/dummy/email_address.rb +0 -27
- data/spec/dummy/app/models/dummy/module/action.rb +0 -25
- data/spec/dummy/app/models/dummy/module/ancestor.rb +0 -67
- data/spec/dummy/app/models/dummy/module/architecture.rb +0 -19
- data/spec/dummy/app/models/dummy/module/author.rb +0 -28
- data/spec/dummy/app/models/dummy/module/class.rb +0 -69
- data/spec/dummy/app/models/dummy/module/instance.rb +0 -209
- data/spec/dummy/app/models/dummy/module/path.rb +0 -64
- data/spec/dummy/app/models/dummy/module/platform.rb +0 -19
- data/spec/dummy/app/models/dummy/module/rank.rb +0 -44
- data/spec/dummy/app/models/dummy/module/reference.rb +0 -19
- data/spec/dummy/app/models/dummy/module/target.rb +0 -62
- data/spec/dummy/app/models/dummy/module/target/architecture.rb +0 -19
- data/spec/dummy/app/models/dummy/module/target/platform.rb +0 -19
- data/spec/dummy/app/models/dummy/platform.rb +0 -58
- data/spec/dummy/app/models/dummy/reference.rb +0 -31
- data/spec/dummy/spec/factories/dummy/architectures.rb +0 -13
- data/spec/dummy/spec/factories/dummy/authorities.rb +0 -32
- data/spec/dummy/spec/factories/dummy/authors.rb +0 -8
- data/spec/dummy/spec/factories/dummy/email_addresses.rb +0 -8
- data/spec/dummy/spec/factories/dummy/module/actions.rb +0 -13
- data/spec/dummy/spec/factories/dummy/module/ancestors.rb +0 -45
- data/spec/dummy/spec/factories/dummy/module/architectures.rb +0 -35
- data/spec/dummy/spec/factories/dummy/module/authors.rb +0 -10
- data/spec/dummy/spec/factories/dummy/module/classes.rb +0 -40
- data/spec/dummy/spec/factories/dummy/module/instances.rb +0 -86
- data/spec/dummy/spec/factories/dummy/module/paths.rb +0 -16
- data/spec/dummy/spec/factories/dummy/module/platforms.rb +0 -35
- data/spec/dummy/spec/factories/dummy/module/ranks.rb +0 -14
- data/spec/dummy/spec/factories/dummy/module/references.rb +0 -17
- data/spec/dummy/spec/factories/dummy/module/target/architectures.rb +0 -40
- data/spec/dummy/spec/factories/dummy/module/target/platforms.rb +0 -41
- data/spec/dummy/spec/factories/dummy/module/targets.rb +0 -46
- data/spec/dummy/spec/factories/dummy/platforms.rb +0 -3
- data/spec/dummy/spec/factories/dummy/references.rb +0 -26
- data/spec/factories/metasploit/model/architectures.rb +0 -6
- data/spec/factories/metasploit/model/authorities.rb +0 -28
- data/spec/factories/metasploit/model/authors.rb +0 -9
- data/spec/factories/metasploit/model/email_addresses.rb +0 -14
- data/spec/factories/metasploit/model/module/actions.rb +0 -9
- data/spec/factories/metasploit/model/module/ancestors.rb +0 -180
- data/spec/factories/metasploit/model/module/architectures.rb +0 -15
- data/spec/factories/metasploit/model/module/classes.rb +0 -47
- data/spec/factories/metasploit/model/module/handlers.rb +0 -3
- data/spec/factories/metasploit/model/module/instances.rb +0 -83
- data/spec/factories/metasploit/model/module/paths.rb +0 -51
- data/spec/factories/metasploit/model/module/platforms.rb +0 -15
- data/spec/factories/metasploit/model/module/ranks.rb +0 -9
- data/spec/factories/metasploit/model/module/references.rb +0 -11
- data/spec/factories/metasploit/model/module/stances.rb +0 -3
- data/spec/factories/metasploit/model/module/targets.rb +0 -22
- data/spec/factories/metasploit/model/module/types.rb +0 -5
- data/spec/factories/metasploit/model/references.rb +0 -88
- data/spec/lib/metasploit/model/architecture_spec.rb +0 -52
- data/spec/lib/metasploit/model/author_spec.rb +0 -6
- data/spec/lib/metasploit/model/authority/bid_spec.rb +0 -17
- data/spec/lib/metasploit/model/authority/cve_spec.rb +0 -17
- data/spec/lib/metasploit/model/authority/msb_spec.rb +0 -17
- data/spec/lib/metasploit/model/authority/osvdb_spec.rb +0 -17
- data/spec/lib/metasploit/model/authority/pmasa_spec.rb +0 -17
- data/spec/lib/metasploit/model/authority/secunia_spec.rb +0 -17
- data/spec/lib/metasploit/model/authority/us_cert_vu_spec.rb +0 -17
- data/spec/lib/metasploit/model/authority/waraxe_spec.rb +0 -51
- data/spec/lib/metasploit/model/authority/zdi_spec.rb +0 -21
- data/spec/lib/metasploit/model/authority_spec.rb +0 -10
- data/spec/lib/metasploit/model/derivation/full_name_spec.rb +0 -75
- data/spec/lib/metasploit/model/derivation_spec.rb +0 -217
- data/spec/lib/metasploit/model/email_address_spec.rb +0 -19
- data/spec/lib/metasploit/model/module/action_spec.rb +0 -6
- data/spec/lib/metasploit/model/module/ancestor_spec.rb +0 -6
- data/spec/lib/metasploit/model/module/architecture_spec.rb +0 -9
- data/spec/lib/metasploit/model/module/author_spec.rb +0 -6
- data/spec/lib/metasploit/model/module/class_spec.rb +0 -19
- data/spec/lib/metasploit/model/module/handler_spec.rb +0 -61
- data/spec/lib/metasploit/model/module/instance_spec.rb +0 -183
- data/spec/lib/metasploit/model/module/path_spec.rb +0 -6
- data/spec/lib/metasploit/model/module/platform_spec.rb +0 -9
- data/spec/lib/metasploit/model/module/rank_spec.rb +0 -29
- data/spec/lib/metasploit/model/module/reference_spec.rb +0 -9
- data/spec/lib/metasploit/model/module/stance_spec.rb +0 -30
- data/spec/lib/metasploit/model/module/target/architecture_spec.rb +0 -9
- data/spec/lib/metasploit/model/module/target/platform_spec.rb +0 -9
- data/spec/lib/metasploit/model/module/target_spec.rb +0 -9
- data/spec/lib/metasploit/model/module/type_spec.rb +0 -125
- data/spec/lib/metasploit/model/platform_spec.rb +0 -100
- data/spec/lib/metasploit/model/reference_spec.rb +0 -21
- data/spec/support/shared/contexts/metasploit/model/module/ancestor/contents/metasploit_module.rb +0 -12
- data/spec/support/shared/contexts/metasploit/model/module/ancestor/factory/contents.rb +0 -10
- data/spec/support/shared/contexts/metasploit/model/module/ancestor/factory/contents/metasploit_module.rb +0 -15
- data/spec/support/shared/examples/derives.rb +0 -115
- data/spec/support/shared/examples/metasploit/model/architecture.rb +0 -425
- data/spec/support/shared/examples/metasploit/model/architecture/seed.rb +0 -25
- data/spec/support/shared/examples/metasploit/model/author.rb +0 -27
- data/spec/support/shared/examples/metasploit/model/authority.rb +0 -124
- data/spec/support/shared/examples/metasploit/model/authority/seed.rb +0 -49
- data/spec/support/shared/examples/metasploit/model/email_address.rb +0 -220
- data/spec/support/shared/examples/metasploit/model/module/action.rb +0 -26
- data/spec/support/shared/examples/metasploit/model/module/ancestor.rb +0 -2004
- data/spec/support/shared/examples/metasploit/model/module/ancestor/payload_factory.rb +0 -63
- data/spec/support/shared/examples/metasploit/model/module/architecture.rb +0 -36
- data/spec/support/shared/examples/metasploit/model/module/author.rb +0 -29
- data/spec/support/shared/examples/metasploit/model/module/class.rb +0 -1514
- data/spec/support/shared/examples/metasploit/model/module/handler.rb +0 -21
- data/spec/support/shared/examples/metasploit/model/module/instance.rb +0 -1384
- data/spec/support/shared/examples/metasploit/model/module/instance/class_methods.rb +0 -537
- data/spec/support/shared/examples/metasploit/model/module/instance/is_not_stanced_with_module_type.rb +0 -22
- data/spec/support/shared/examples/metasploit/model/module/instance/is_stanced_with_module_type.rb +0 -38
- data/spec/support/shared/examples/metasploit/model/module/instance/validates/dynamic_length_of.rb +0 -131
- data/spec/support/shared/examples/metasploit/model/module/path.rb +0 -493
- data/spec/support/shared/examples/metasploit/model/module/platform.rb +0 -36
- data/spec/support/shared/examples/metasploit/model/module/rank.rb +0 -92
- data/spec/support/shared/examples/metasploit/model/module/reference.rb +0 -16
- data/spec/support/shared/examples/metasploit/model/module/target.rb +0 -29
- data/spec/support/shared/examples/metasploit/model/module/target/architecture.rb +0 -56
- data/spec/support/shared/examples/metasploit/model/module/target/platform.rb +0 -56
- data/spec/support/shared/examples/metasploit/model/platform.rb +0 -213
- data/spec/support/shared/examples/metasploit/model/real_pathname.rb +0 -29
- data/spec/support/shared/examples/metasploit/model/reference.rb +0 -410
- data/spec/support/shared/examples/search/query/metasploit/model/search/operator/deprecated/app.rb +0 -44
- data/spec/support/shared/examples/search/query/metasploit/model/search/operator/deprecated/authority.rb +0 -72
- data/spec/support/templates/metasploit/model/module/ancestors/_attributes.rb.erb +0 -9
- data/spec/support/templates/metasploit/model/module/ancestors/_methods.rb.erb +0 -8
- data/spec/support/templates/metasploit/model/module/ancestors/_validations.rb.erb +0 -6
- data/spec/support/templates/metasploit/model/module/ancestors/base.rb.erb +0 -3
- data/spec/support/templates/metasploit/model/module/ancestors/module_types/_auxiliary.rb.erb +0 -1
- data/spec/support/templates/metasploit/model/module/ancestors/module_types/_encoder.rb.erb +0 -1
- data/spec/support/templates/metasploit/model/module/ancestors/module_types/_exploit.rb.erb +0 -1
- data/spec/support/templates/metasploit/model/module/ancestors/module_types/_non_payload.rb.erb +0 -5
- data/spec/support/templates/metasploit/model/module/ancestors/module_types/_nop.rb.erb +0 -1
- data/spec/support/templates/metasploit/model/module/ancestors/module_types/_payload.rb.erb +0 -4
- data/spec/support/templates/metasploit/model/module/ancestors/module_types/_post.rb.erb +0 -1
- data/spec/support/templates/metasploit/model/module/ancestors/payload_types/_handled.rb.erb +0 -20
- data/spec/support/templates/metasploit/model/module/ancestors/payload_types/_single.rb.erb +0 -1
- data/spec/support/templates/metasploit/model/module/ancestors/payload_types/_stage.rb.erb +0 -0
- data/spec/support/templates/metasploit/model/module/ancestors/payload_types/_stager.rb.erb +0 -1
- data/spec/support/templates/metasploit/model/module/classes/_methods.rb.erb +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6fd8588b44d2db517e862dfcc6a992e67ed7911
|
4
|
+
data.tar.gz: eff2999cb386b96f608c4f8223890e48bc2767a2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b0cb8525e65fdc000f439b28dc12bace602b07278d5345ee91c34c16692caa462bfa35b95c809dc4a52680e7793f0b3e740ffdf4943c3bb8b31b6ffea149884
|
7
|
+
data.tar.gz: f23fc173b6e153b39fa537b488dcc1345521c92e9bd350118f760e6b0e5e4698a39e58ce9280f6cea4bfb08ff1a8ca076c3072c4cf7a05afe7ead7dd002245fb
|
data/.travis.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -1,176 +1,12 @@
|
|
1
1
|
en:
|
2
2
|
metasploit:
|
3
3
|
model:
|
4
|
-
ancestors:
|
5
|
-
metasploit/model/architecture:
|
6
|
-
search:
|
7
|
-
operator:
|
8
|
-
names:
|
9
|
-
abbreviation:
|
10
|
-
help: "Abbreviation for architecture, such as x86, etc."
|
11
|
-
bits:
|
12
|
-
help: "Number of bits supported by the architecture. Certain architectures, such as those for programming languages like Ruby and PHP, do not have bits."
|
13
|
-
endianness:
|
14
|
-
help: "Whether the architecture is big or little endian. Certain architectures, such as those for programming languages like Ruby and PHP, do not have an endianness."
|
15
|
-
family:
|
16
|
-
help: "The CPU architecture family. For example x86_64 and x86 are both in the x86 family. Certain architectures, such as those for programming languages like Ruby and PHP, do not have a family."
|
17
|
-
|
18
|
-
metasploit/model/author:
|
19
|
-
search:
|
20
|
-
operator:
|
21
|
-
names:
|
22
|
-
name:
|
23
|
-
help: "Full name (first + last name) or handle of the author."
|
24
|
-
|
25
|
-
metasploit/model/authority:
|
26
|
-
search:
|
27
|
-
operator:
|
28
|
-
names:
|
29
|
-
abbreviation:
|
30
|
-
help: "Abbreviation or initialism for authority, such as CVE for 'Common Vulnerability and Exposures'."
|
31
|
-
|
32
|
-
metasploit/model/email_address:
|
33
|
-
search:
|
34
|
-
operator:
|
35
|
-
names:
|
36
|
-
domain:
|
37
|
-
help: "The domain part of the email address after the '@'."
|
38
|
-
full:
|
39
|
-
help: "The full email address <local>@<domain>"
|
40
|
-
local:
|
41
|
-
help: "The local part of the email address before the '@'."
|
42
|
-
|
43
|
-
metasploit/model/module/action:
|
44
|
-
search:
|
45
|
-
operator:
|
46
|
-
names:
|
47
|
-
name:
|
48
|
-
help: "The name of the module action."
|
49
|
-
|
50
|
-
metasploit/model/module/class:
|
51
|
-
search:
|
52
|
-
operator:
|
53
|
-
names:
|
54
|
-
full_name:
|
55
|
-
help: "<module_type>/<reference_name>"
|
56
|
-
module_type:
|
57
|
-
help: "The type of this module."
|
58
|
-
payload_type:
|
59
|
-
help: "For payload modules, the type of payload, either 'single' or 'staged'."
|
60
|
-
reference_name:
|
61
|
-
help: "The reference name relative to the module_type."
|
62
|
-
|
63
|
-
metasploit/model/module/instance:
|
64
|
-
search:
|
65
|
-
operator:
|
66
|
-
names:
|
67
|
-
app:
|
68
|
-
help: "The type of application. either client or server, which maps to stance:passive or stance:aggressive, respectively."
|
69
|
-
author:
|
70
|
-
help: "Either the author's name or email address. Maps to authors.name, email_addresses.local, and/or email_addresses.domain."
|
71
|
-
description:
|
72
|
-
help: "A long, paragraph description of what the module does."
|
73
|
-
disclosed_on:
|
74
|
-
help: "The date the vulnerability exploited by this module was disclosed to the public."
|
75
|
-
license:
|
76
|
-
help: "The name of the software license for the module's code."
|
77
|
-
name:
|
78
|
-
help: "The human readable name of the module. It can be thought of as the summary or title of the module."
|
79
|
-
os:
|
80
|
-
help: "Module OS in platforms.name or targets.name."
|
81
|
-
platform:
|
82
|
-
help: "Module platform in platforms.name or targets.name."
|
83
|
-
privileged:
|
84
|
-
help: "Whether the module requires privileged access to run."
|
85
|
-
ref:
|
86
|
-
help: "Reference to module using obsolete \"<context>-<id>\" syntax, which maps to the newer authorities.abbreviation, references.designation or references.url."
|
87
|
-
stance:
|
88
|
-
help: "Whether the module is active or passive."
|
89
|
-
text:
|
90
|
-
help: "Search most of the text fields of the module metadata. Maps to description, name, actions.name, architectures.abbreviation, platform, or ref."
|
91
|
-
|
92
|
-
metasploit/model/module/rank:
|
93
|
-
search:
|
94
|
-
operator:
|
95
|
-
names:
|
96
|
-
name:
|
97
|
-
help: "Name of the rank."
|
98
|
-
number:
|
99
|
-
help: "Numerical value of the rank. Higher numbers are better."
|
100
|
-
|
101
|
-
metasploit/model/module/target:
|
102
|
-
search:
|
103
|
-
operator:
|
104
|
-
names:
|
105
|
-
name:
|
106
|
-
help: "Name of module target."
|
107
|
-
|
108
|
-
metasploit/model/platform:
|
109
|
-
search:
|
110
|
-
operator:
|
111
|
-
names:
|
112
|
-
fully_qualified_name:
|
113
|
-
help: "Fully-qualified name of the platform."
|
114
|
-
|
115
|
-
metasploit/model/reference:
|
116
|
-
search:
|
117
|
-
operator:
|
118
|
-
names:
|
119
|
-
designation:
|
120
|
-
help: "A designation (usually a string of numbers and dashes) assigned by the reference's authority. If the reference has no authority, then only url will be set, such as for references to proof-of-concept (PoC) blog posts."
|
121
|
-
url:
|
122
|
-
help: "URL to web page with information about referenced exploit. The URL may be null if the authority is obsolete."
|
123
|
-
|
124
|
-
attributes:
|
125
|
-
metasploit/model/module/instance:
|
126
|
-
actions:
|
127
|
-
one: 'action'
|
128
|
-
other: 'actions'
|
129
|
-
module_authors:
|
130
|
-
one: 'module author'
|
131
|
-
other: 'module authors'
|
132
|
-
module_references:
|
133
|
-
one: 'module reference'
|
134
|
-
other: 'module references'
|
135
|
-
targets:
|
136
|
-
one: 'target'
|
137
|
-
other: 'targets'
|
138
|
-
|
139
4
|
errors:
|
140
5
|
messages:
|
141
6
|
boolean: "is not a boolean (false or true)."
|
142
7
|
model_invalid: "Validation failed: %{errors}"
|
143
8
|
|
144
9
|
models:
|
145
|
-
metasploit/model/module/instance:
|
146
|
-
attributes:
|
147
|
-
actions:
|
148
|
-
wrong_length: "cannot have any actions"
|
149
|
-
|
150
|
-
architectures:
|
151
|
-
extra: "has extra architectures (%{extra}) not found on targets"
|
152
|
-
missing: "is missing architectures (%{missing}) from targets"
|
153
|
-
|
154
|
-
module_architectures:
|
155
|
-
too_short: "is too short (minimum is %{count} module architectures)"
|
156
|
-
wrong_length: "cannot have any module architectures"
|
157
|
-
|
158
|
-
module_platforms:
|
159
|
-
too_short: "is too short (minimum is %{count} module platforms)"
|
160
|
-
wrong_length: "cannot have any module platforms"
|
161
|
-
|
162
|
-
module_references:
|
163
|
-
too_short: "is too short (minimum is %{count} module references)"
|
164
|
-
wrong_length: "cannot have any module references"
|
165
|
-
|
166
|
-
platforms:
|
167
|
-
extra: "has extra platforms (%{extra}) not found on targets"
|
168
|
-
missing: "is missing platforms (%{missing}) from targets"
|
169
|
-
|
170
|
-
targets:
|
171
|
-
too_short: "is too short (minimum is %{count} targets)"
|
172
|
-
wrong_length: "cannot have any targets"
|
173
|
-
|
174
10
|
metasploit/model/search/operation/date:
|
175
11
|
attributes:
|
176
12
|
value:
|
@@ -200,10 +36,3 @@ en:
|
|
200
36
|
attributes:
|
201
37
|
operations:
|
202
38
|
too_short: "is too short (minimum is %{count} operation)"
|
203
|
-
|
204
|
-
search:
|
205
|
-
operator:
|
206
|
-
ancestors:
|
207
|
-
metasploit/model/search/operator/deprecated/authority:
|
208
|
-
help: "Modules with reference from the %{name} authority. Maps to `authorities.abbreviation:%{name} references.designation:<value>`."
|
209
|
-
|
data/lib/metasploit/model.rb
CHANGED
@@ -4,8 +4,6 @@
|
|
4
4
|
require 'active_model'
|
5
5
|
require 'active_support'
|
6
6
|
|
7
|
-
autoload :DerivationValidator, 'derivation_validator'
|
8
|
-
autoload :DynamicLengthValidator, 'dynamic_length_validator'
|
9
7
|
autoload :IpFormatValidator, 'ip_format_validator'
|
10
8
|
autoload :NilValidator, 'nil_validator'
|
11
9
|
autoload :ParametersValidator, 'parameters_validator'
|
@@ -11,134 +11,4 @@ module Metasploit::Model::Spec
|
|
11
11
|
autoload :TemporaryPathname
|
12
12
|
|
13
13
|
extend Metasploit::Model::Spec::TemporaryPathname
|
14
|
-
# without this, Module.shared_examples_for will be used and RSpec will count shared_examples created with
|
15
|
-
# {shared_examples_for} to not be declared at the top-level.
|
16
|
-
extend RSpec::Core::SharedExampleGroup::TopLevelDSL
|
17
|
-
|
18
|
-
# Defines a shared examples for a `Module` under the {Metasploit::Model} namespace. This `Module` is assumed to
|
19
|
-
# be a mixin that can be mixed into an ActiveModel in metasploit-framework or an ActiveRecord in
|
20
|
-
# metasploit_data_models. Shared examples declared using this method get access to boiler plate methods used
|
21
|
-
# for all the {Metasploit::Model} mixin `Modules`:
|
22
|
-
#
|
23
|
-
# * <relative_variable_name>_class
|
24
|
-
# * <relative_variable_name>_factory
|
25
|
-
# * factory_namespace
|
26
|
-
# * relative_variable_name
|
27
|
-
# * #<relative_variable_name>_class
|
28
|
-
# * #<relative_variable_name>_factory
|
29
|
-
#
|
30
|
-
# @example boiler plate methods for Module::Ancestor
|
31
|
-
# # defined shared example's name will be 'Metasploit::Model::Module::Ancestor', but you only need to give the
|
32
|
-
# # name relative to 'Metasploit::Model'.
|
33
|
-
# Metasploit::Model::Spec.shared_examples_for 'Module::Ancestor' do
|
34
|
-
# module_ancestor_class # '<namespace_name>::Module::Ancestor'
|
35
|
-
# module_ancestor_factory # '<factory_namespace>_module_ancestor'
|
36
|
-
# factory_namespace # namespace_name converted to underscore with / replaced by _
|
37
|
-
# relative_variable_name # 'module_ancestor'
|
38
|
-
#
|
39
|
-
# let(:base_class) do # automatically defined for you
|
40
|
-
# module_ancestor_class # same as class method module_ancestor_class
|
41
|
-
# end
|
42
|
-
#
|
43
|
-
# context 'factories' do # have to define this yourself since not all mixins use factories.
|
44
|
-
# context module_ancestor_factory do # using class method
|
45
|
-
# subject(module_ancestor_factory) do # using class method
|
46
|
-
# FactoryGirl.build(module_ancestor_factory) # using instance method
|
47
|
-
# end
|
48
|
-
# end
|
49
|
-
# end
|
50
|
-
# end
|
51
|
-
#
|
52
|
-
# @example Using shared example
|
53
|
-
# describe Metasploit::Model::Module::Ancestor do
|
54
|
-
# it_should_behave_like 'Metasploit::Model::Module::Ancestor',
|
55
|
-
# namespace_name: 'Dummy'
|
56
|
-
# end
|
57
|
-
#
|
58
|
-
# @param relative_name [String] name relative to 'Metasploit::Model' prefix. For example, to declare
|
59
|
-
# 'Metasploit::Model::Module::Ancestor' shared example, `relative_name` would be just 'Module::Ancestor'.
|
60
|
-
# @yield Body of shared examples.
|
61
|
-
# @yieldreturn [void]
|
62
|
-
# @return [void]
|
63
|
-
def self.shared_examples_for(relative_name, &block)
|
64
|
-
fully_qualified_name = "Metasploit::Model::#{relative_name}"
|
65
|
-
|
66
|
-
relative_variable_name = relative_name.underscore.gsub('/', '_')
|
67
|
-
class_method_name = "#{relative_variable_name}_class"
|
68
|
-
factory_method_name = "#{relative_variable_name}_factory"
|
69
|
-
|
70
|
-
# capture block to pass to super so that source_location can be overridden to be block's source_location so that
|
71
|
-
# errors are reported correctly from RSpec.
|
72
|
-
wrapper = ->(options={}) {
|
73
|
-
options.assert_valid_keys(:namespace_name)
|
74
|
-
namespace_name = options.fetch(:namespace_name)
|
75
|
-
|
76
|
-
class_name = "#{namespace_name}::#{relative_name}"
|
77
|
-
|
78
|
-
#
|
79
|
-
# Singleton methods to emulate local variable used to define examples and lets
|
80
|
-
#
|
81
|
-
|
82
|
-
define_singleton_method(class_method_name) do
|
83
|
-
class_name.constantize
|
84
|
-
end
|
85
|
-
|
86
|
-
define_singleton_method(factory_method_name) do
|
87
|
-
"#{factory_namespace}_#{relative_variable_name}"
|
88
|
-
end
|
89
|
-
|
90
|
-
define_singleton_method(:factory_namespace) do
|
91
|
-
namespace_name.underscore.gsub('/', '_')
|
92
|
-
end
|
93
|
-
|
94
|
-
define_singleton_method(:namespace_name) do
|
95
|
-
namespace_name
|
96
|
-
end
|
97
|
-
|
98
|
-
define_singleton_method(:relative_variable_name) do
|
99
|
-
relative_variable_name
|
100
|
-
end
|
101
|
-
|
102
|
-
#
|
103
|
-
# Defines to emulate local variable used inside lets
|
104
|
-
#
|
105
|
-
|
106
|
-
define_method(class_method_name) do
|
107
|
-
self.class.send(class_method_name)
|
108
|
-
end
|
109
|
-
|
110
|
-
define_method(factory_method_name) do
|
111
|
-
self.class.send(factory_method_name)
|
112
|
-
end
|
113
|
-
|
114
|
-
#
|
115
|
-
# Default subject uses factory
|
116
|
-
#
|
117
|
-
|
118
|
-
subject(relative_variable_name) do
|
119
|
-
FactoryGirl.build(send(factory_method_name))
|
120
|
-
end
|
121
|
-
|
122
|
-
#
|
123
|
-
# lets
|
124
|
-
#
|
125
|
-
|
126
|
-
let(:base_class) do
|
127
|
-
self.class.send(class_method_name)
|
128
|
-
end
|
129
|
-
|
130
|
-
it_should_behave_like 'Metasploit::Model::Translation',
|
131
|
-
metasploit_model_ancestor: fully_qualified_name.constantize
|
132
|
-
|
133
|
-
module_eval(&block)
|
134
|
-
}
|
135
|
-
|
136
|
-
# Delegate source_location so that RSpec will report block's source_location as the declaration location of
|
137
|
-
# the shared location instead of this method.
|
138
|
-
wrapper.define_singleton_method(:source_location) do
|
139
|
-
block.source_location
|
140
|
-
end
|
141
|
-
|
142
|
-
super(fully_qualified_name, &wrapper)
|
143
|
-
end
|
144
14
|
end
|
@@ -36,11 +36,10 @@ shared_examples_for 'Metasploit::Model::Search::Operator::Help' do
|
|
36
36
|
english_translations = translations_by_locale.fetch(:en)
|
37
37
|
metasploit_translations = english_translations.fetch(:metasploit)
|
38
38
|
@metasploit_model_translations = metasploit_translations.fetch(:model)
|
39
|
-
ancestors_translations = @metasploit_model_translations.fetch(:ancestors)
|
40
39
|
|
41
|
-
@
|
40
|
+
expect(@metasploit_model_translations).not_to have_key(:ancestors)
|
42
41
|
|
43
|
-
|
42
|
+
@metasploit_model_translations[:ancestors] = {
|
44
43
|
klass.model_name.i18n_key => {
|
45
44
|
search: {
|
46
45
|
operator: {
|
@@ -52,12 +51,11 @@ shared_examples_for 'Metasploit::Model::Search::Operator::Help' do
|
|
52
51
|
}
|
53
52
|
}
|
54
53
|
}
|
55
|
-
|
56
|
-
)
|
54
|
+
}
|
57
55
|
end
|
58
56
|
|
59
57
|
after(:each) do
|
60
|
-
@metasploit_model_translations
|
58
|
+
@metasploit_model_translations.delete(:ancestors)
|
61
59
|
end
|
62
60
|
|
63
61
|
it 'should use #klass #i18n_scope to lookup translations specific to the #klass or one of its ancestors' do
|
@@ -4,7 +4,7 @@ shared_examples_for 'Metasploit::Model::Translation' do |options={}|
|
|
4
4
|
metasploit_model_ancestor = options.fetch(:metasploit_model_ancestor)
|
5
5
|
|
6
6
|
it 'should include Metasploit::Model::Translation' do
|
7
|
-
base_class.
|
7
|
+
expect(base_class).to include Metasploit::Model::Translation
|
8
8
|
end
|
9
9
|
|
10
10
|
unless metasploit_model_ancestor.is_a? Class
|
@@ -11,7 +11,9 @@ shared_examples_for 'search_with' do |operation_class, options={}|
|
|
11
11
|
options.each do |key, value|
|
12
12
|
# skip :name since it use used to look up operator, so it's already been checked or with_operator would be `nil`
|
13
13
|
unless key == :name
|
14
|
-
|
14
|
+
it "has #{key.inspect} of #{value.inspect}" do
|
15
|
+
expect(with_operator.send(key)).to eq(value)
|
16
|
+
end
|
15
17
|
end
|
16
18
|
end
|
17
19
|
|
@@ -28,7 +30,7 @@ shared_examples_for 'search_with' do |operation_class, options={}|
|
|
28
30
|
end
|
29
31
|
|
30
32
|
it 'should have translation' do
|
31
|
-
help.
|
33
|
+
expect(help).not_to include('translation missing')
|
32
34
|
end
|
33
35
|
end
|
34
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-model
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -113,9 +113,6 @@ files:
|
|
113
113
|
- README.md
|
114
114
|
- Rakefile
|
115
115
|
- app/models/metasploit/model/association/reflection.rb
|
116
|
-
- app/models/metasploit/model/module/ancestor/spec/template.rb
|
117
|
-
- app/models/metasploit/model/module/class/spec/template.rb
|
118
|
-
- app/models/metasploit/model/module/instance/spec/template.rb
|
119
116
|
- app/models/metasploit/model/search/group/base.rb
|
120
117
|
- app/models/metasploit/model/search/group/intersection.rb
|
121
118
|
- app/models/metasploit/model/search/group/union.rb
|
@@ -148,67 +145,26 @@ files:
|
|
148
145
|
- app/models/metasploit/model/search/operator/null.rb
|
149
146
|
- app/models/metasploit/model/search/operator/single.rb
|
150
147
|
- app/models/metasploit/model/search/query.rb
|
151
|
-
- app/models/metasploit/model/spec/template.rb
|
152
148
|
- app/models/metasploit/model/visitation/visitor.rb
|
153
|
-
- app/validators/derivation_validator.rb
|
154
|
-
- app/validators/dynamic_length_validator.rb
|
155
149
|
- app/validators/ip_format_validator.rb
|
156
150
|
- app/validators/nil_validator.rb
|
157
151
|
- app/validators/parameters_validator.rb
|
158
152
|
- app/validators/password_is_strong_validator.rb
|
159
153
|
- config/locales/en.yml
|
160
154
|
- lib/metasploit/model.rb
|
161
|
-
- lib/metasploit/model/architecture.rb
|
162
155
|
- lib/metasploit/model/association.rb
|
163
156
|
- lib/metasploit/model/association/error.rb
|
164
157
|
- lib/metasploit/model/association/tree.rb
|
165
|
-
- lib/metasploit/model/author.rb
|
166
|
-
- lib/metasploit/model/authority.rb
|
167
|
-
- lib/metasploit/model/authority/bid.rb
|
168
|
-
- lib/metasploit/model/authority/cve.rb
|
169
|
-
- lib/metasploit/model/authority/msb.rb
|
170
|
-
- lib/metasploit/model/authority/osvdb.rb
|
171
|
-
- lib/metasploit/model/authority/pmasa.rb
|
172
|
-
- lib/metasploit/model/authority/secunia.rb
|
173
|
-
- lib/metasploit/model/authority/us_cert_vu.rb
|
174
|
-
- lib/metasploit/model/authority/waraxe.rb
|
175
|
-
- lib/metasploit/model/authority/zdi.rb
|
176
158
|
- lib/metasploit/model/base.rb
|
177
|
-
- lib/metasploit/model/derivation.rb
|
178
|
-
- lib/metasploit/model/derivation/full_name.rb
|
179
|
-
- lib/metasploit/model/email_address.rb
|
180
159
|
- lib/metasploit/model/engine.rb
|
181
160
|
- lib/metasploit/model/error.rb
|
182
161
|
- lib/metasploit/model/file.rb
|
183
162
|
- lib/metasploit/model/invalid.rb
|
184
163
|
- lib/metasploit/model/login.rb
|
185
164
|
- lib/metasploit/model/login/status.rb
|
186
|
-
- lib/metasploit/model/module.rb
|
187
|
-
- lib/metasploit/model/module/action.rb
|
188
|
-
- lib/metasploit/model/module/ancestor.rb
|
189
|
-
- lib/metasploit/model/module/ancestor/spec.rb
|
190
|
-
- lib/metasploit/model/module/architecture.rb
|
191
|
-
- lib/metasploit/model/module/author.rb
|
192
|
-
- lib/metasploit/model/module/class.rb
|
193
|
-
- lib/metasploit/model/module/class/spec.rb
|
194
|
-
- lib/metasploit/model/module/handler.rb
|
195
|
-
- lib/metasploit/model/module/instance.rb
|
196
|
-
- lib/metasploit/model/module/instance/spec.rb
|
197
|
-
- lib/metasploit/model/module/path.rb
|
198
|
-
- lib/metasploit/model/module/platform.rb
|
199
|
-
- lib/metasploit/model/module/rank.rb
|
200
|
-
- lib/metasploit/model/module/reference.rb
|
201
|
-
- lib/metasploit/model/module/stance.rb
|
202
|
-
- lib/metasploit/model/module/target.rb
|
203
|
-
- lib/metasploit/model/module/target/architecture.rb
|
204
|
-
- lib/metasploit/model/module/target/platform.rb
|
205
|
-
- lib/metasploit/model/module/type.rb
|
206
165
|
- lib/metasploit/model/nilify_blanks.rb
|
207
|
-
- lib/metasploit/model/platform.rb
|
208
|
-
- lib/metasploit/model/real_pathname.rb
|
209
166
|
- lib/metasploit/model/realm.rb
|
210
167
|
- lib/metasploit/model/realm/key.rb
|
211
|
-
- lib/metasploit/model/reference.rb
|
212
168
|
- lib/metasploit/model/search.rb
|
213
169
|
- lib/metasploit/model/search/association.rb
|
214
170
|
- lib/metasploit/model/search/attribute.rb
|
@@ -237,9 +193,6 @@ files:
|
|
237
193
|
- metasploit-model.gemspec
|
238
194
|
- script/rails
|
239
195
|
- spec/app/models/metasploit/model/association/reflection_spec.rb
|
240
|
-
- spec/app/models/metasploit/model/module/ancestor/spec/template_spec.rb
|
241
|
-
- spec/app/models/metasploit/model/module/class/spec/template_spec.rb
|
242
|
-
- spec/app/models/metasploit/model/module/instance/spec/template_spec.rb
|
243
196
|
- spec/app/models/metasploit/model/search/group/base_spec.rb
|
244
197
|
- spec/app/models/metasploit/model/search/group/intersection_spec.rb
|
245
198
|
- spec/app/models/metasploit/model/search/group/union_spec.rb
|
@@ -260,22 +213,13 @@ files:
|
|
260
213
|
- spec/app/models/metasploit/model/search/operator/attribute_spec.rb
|
261
214
|
- spec/app/models/metasploit/model/search/operator/base_spec.rb
|
262
215
|
- spec/app/models/metasploit/model/search/operator/delegation_spec.rb
|
263
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/app_spec.rb
|
264
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/author_spec.rb
|
265
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/authority_spec.rb
|
266
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/platform_spec.rb
|
267
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/ref_spec.rb
|
268
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/text_spec.rb
|
269
216
|
- spec/app/models/metasploit/model/search/operator/group/base_spec.rb
|
270
217
|
- spec/app/models/metasploit/model/search/operator/group/intersection_spec.rb
|
271
218
|
- spec/app/models/metasploit/model/search/operator/group/union_spec.rb
|
272
219
|
- spec/app/models/metasploit/model/search/operator/null_spec.rb
|
273
220
|
- spec/app/models/metasploit/model/search/operator/single_spec.rb
|
274
221
|
- spec/app/models/metasploit/model/search/query_spec.rb
|
275
|
-
- spec/app/models/metasploit/model/spec/template_spec.rb
|
276
222
|
- spec/app/models/metasploit/model/visitation/visitor_spec.rb
|
277
|
-
- spec/app/validators/derivation_validator_spec.rb
|
278
|
-
- spec/app/validators/dynamic_length_validator_spec.rb
|
279
223
|
- spec/app/validators/ip_format_validator_spec.rb
|
280
224
|
- spec/app/validators/nil_validator_spec.rb
|
281
225
|
- spec/app/validators/parameters_validator_spec.rb
|
@@ -286,25 +230,6 @@ files:
|
|
286
230
|
- spec/dummy/app/controllers/application_controller.rb
|
287
231
|
- spec/dummy/app/helpers/application_helper.rb
|
288
232
|
- spec/dummy/app/mailers/.gitkeep
|
289
|
-
- spec/dummy/app/models/dummy/architecture.rb
|
290
|
-
- spec/dummy/app/models/dummy/author.rb
|
291
|
-
- spec/dummy/app/models/dummy/authority.rb
|
292
|
-
- spec/dummy/app/models/dummy/email_address.rb
|
293
|
-
- spec/dummy/app/models/dummy/module/action.rb
|
294
|
-
- spec/dummy/app/models/dummy/module/ancestor.rb
|
295
|
-
- spec/dummy/app/models/dummy/module/architecture.rb
|
296
|
-
- spec/dummy/app/models/dummy/module/author.rb
|
297
|
-
- spec/dummy/app/models/dummy/module/class.rb
|
298
|
-
- spec/dummy/app/models/dummy/module/instance.rb
|
299
|
-
- spec/dummy/app/models/dummy/module/path.rb
|
300
|
-
- spec/dummy/app/models/dummy/module/platform.rb
|
301
|
-
- spec/dummy/app/models/dummy/module/rank.rb
|
302
|
-
- spec/dummy/app/models/dummy/module/reference.rb
|
303
|
-
- spec/dummy/app/models/dummy/module/target.rb
|
304
|
-
- spec/dummy/app/models/dummy/module/target/architecture.rb
|
305
|
-
- spec/dummy/app/models/dummy/module/target/platform.rb
|
306
|
-
- spec/dummy/app/models/dummy/platform.rb
|
307
|
-
- spec/dummy/app/models/dummy/reference.rb
|
308
233
|
- spec/dummy/app/views/layouts/application.html.erb
|
309
234
|
- spec/dummy/config.ru
|
310
235
|
- spec/dummy/config/application.rb
|
@@ -329,90 +254,20 @@ files:
|
|
329
254
|
- spec/dummy/public/500.html
|
330
255
|
- spec/dummy/public/favicon.ico
|
331
256
|
- spec/dummy/script/rails
|
332
|
-
- spec/dummy/spec/factories/dummy/architectures.rb
|
333
|
-
- spec/dummy/spec/factories/dummy/authorities.rb
|
334
|
-
- spec/dummy/spec/factories/dummy/authors.rb
|
335
|
-
- spec/dummy/spec/factories/dummy/email_addresses.rb
|
336
|
-
- spec/dummy/spec/factories/dummy/module/actions.rb
|
337
|
-
- spec/dummy/spec/factories/dummy/module/ancestors.rb
|
338
|
-
- spec/dummy/spec/factories/dummy/module/architectures.rb
|
339
|
-
- spec/dummy/spec/factories/dummy/module/authors.rb
|
340
|
-
- spec/dummy/spec/factories/dummy/module/classes.rb
|
341
|
-
- spec/dummy/spec/factories/dummy/module/instances.rb
|
342
|
-
- spec/dummy/spec/factories/dummy/module/paths.rb
|
343
|
-
- spec/dummy/spec/factories/dummy/module/platforms.rb
|
344
|
-
- spec/dummy/spec/factories/dummy/module/ranks.rb
|
345
|
-
- spec/dummy/spec/factories/dummy/module/references.rb
|
346
|
-
- spec/dummy/spec/factories/dummy/module/target/architectures.rb
|
347
|
-
- spec/dummy/spec/factories/dummy/module/target/platforms.rb
|
348
|
-
- spec/dummy/spec/factories/dummy/module/targets.rb
|
349
|
-
- spec/dummy/spec/factories/dummy/platforms.rb
|
350
|
-
- spec/dummy/spec/factories/dummy/references.rb
|
351
|
-
- spec/factories/metasploit/model/architectures.rb
|
352
257
|
- spec/factories/metasploit/model/association/reflections.rb
|
353
|
-
- spec/factories/metasploit/model/authorities.rb
|
354
|
-
- spec/factories/metasploit/model/authors.rb
|
355
258
|
- spec/factories/metasploit/model/bases.rb
|
356
|
-
- spec/factories/metasploit/model/email_addresses.rb
|
357
|
-
- spec/factories/metasploit/model/module/actions.rb
|
358
|
-
- spec/factories/metasploit/model/module/ancestors.rb
|
359
|
-
- spec/factories/metasploit/model/module/architectures.rb
|
360
|
-
- spec/factories/metasploit/model/module/classes.rb
|
361
|
-
- spec/factories/metasploit/model/module/handlers.rb
|
362
|
-
- spec/factories/metasploit/model/module/instances.rb
|
363
|
-
- spec/factories/metasploit/model/module/paths.rb
|
364
|
-
- spec/factories/metasploit/model/module/platforms.rb
|
365
|
-
- spec/factories/metasploit/model/module/ranks.rb
|
366
|
-
- spec/factories/metasploit/model/module/references.rb
|
367
|
-
- spec/factories/metasploit/model/module/stances.rb
|
368
|
-
- spec/factories/metasploit/model/module/targets.rb
|
369
|
-
- spec/factories/metasploit/model/module/types.rb
|
370
|
-
- spec/factories/metasploit/model/references.rb
|
371
259
|
- spec/factories/metasploit/model/search/operator/associations.rb
|
372
260
|
- spec/factories/metasploit/model/search/operator/attributes.rb
|
373
261
|
- spec/factories/metasploit/model/search/operator/bases.rb
|
374
|
-
- spec/lib/metasploit/model/architecture_spec.rb
|
375
262
|
- spec/lib/metasploit/model/association/error_spec.rb
|
376
263
|
- spec/lib/metasploit/model/association_spec.rb
|
377
|
-
- spec/lib/metasploit/model/author_spec.rb
|
378
|
-
- spec/lib/metasploit/model/authority/bid_spec.rb
|
379
|
-
- spec/lib/metasploit/model/authority/cve_spec.rb
|
380
|
-
- spec/lib/metasploit/model/authority/msb_spec.rb
|
381
|
-
- spec/lib/metasploit/model/authority/osvdb_spec.rb
|
382
|
-
- spec/lib/metasploit/model/authority/pmasa_spec.rb
|
383
|
-
- spec/lib/metasploit/model/authority/secunia_spec.rb
|
384
|
-
- spec/lib/metasploit/model/authority/us_cert_vu_spec.rb
|
385
|
-
- spec/lib/metasploit/model/authority/waraxe_spec.rb
|
386
|
-
- spec/lib/metasploit/model/authority/zdi_spec.rb
|
387
|
-
- spec/lib/metasploit/model/authority_spec.rb
|
388
264
|
- spec/lib/metasploit/model/base_spec.rb
|
389
|
-
- spec/lib/metasploit/model/derivation/full_name_spec.rb
|
390
|
-
- spec/lib/metasploit/model/derivation_spec.rb
|
391
|
-
- spec/lib/metasploit/model/email_address_spec.rb
|
392
265
|
- spec/lib/metasploit/model/engine_spec.rb
|
393
266
|
- spec/lib/metasploit/model/file_spec.rb
|
394
267
|
- spec/lib/metasploit/model/invalid_spec.rb
|
395
268
|
- spec/lib/metasploit/model/login/status_spec.rb
|
396
|
-
- spec/lib/metasploit/model/module/action_spec.rb
|
397
|
-
- spec/lib/metasploit/model/module/ancestor_spec.rb
|
398
|
-
- spec/lib/metasploit/model/module/architecture_spec.rb
|
399
|
-
- spec/lib/metasploit/model/module/author_spec.rb
|
400
|
-
- spec/lib/metasploit/model/module/class_spec.rb
|
401
|
-
- spec/lib/metasploit/model/module/handler_spec.rb
|
402
|
-
- spec/lib/metasploit/model/module/instance_spec.rb
|
403
|
-
- spec/lib/metasploit/model/module/path_spec.rb
|
404
|
-
- spec/lib/metasploit/model/module/platform_spec.rb
|
405
|
-
- spec/lib/metasploit/model/module/rank_spec.rb
|
406
|
-
- spec/lib/metasploit/model/module/reference_spec.rb
|
407
|
-
- spec/lib/metasploit/model/module/stance_spec.rb
|
408
|
-
- spec/lib/metasploit/model/module/target/architecture_spec.rb
|
409
|
-
- spec/lib/metasploit/model/module/target/platform_spec.rb
|
410
|
-
- spec/lib/metasploit/model/module/target_spec.rb
|
411
|
-
- spec/lib/metasploit/model/module/type_spec.rb
|
412
269
|
- spec/lib/metasploit/model/nilify_blanks_spec.rb
|
413
|
-
- spec/lib/metasploit/model/platform_spec.rb
|
414
270
|
- spec/lib/metasploit/model/realm/key_spec.rb
|
415
|
-
- spec/lib/metasploit/model/reference_spec.rb
|
416
271
|
- spec/lib/metasploit/model/search/association/tree_spec.rb
|
417
272
|
- spec/lib/metasploit/model/search/association_spec.rb
|
418
273
|
- spec/lib/metasploit/model/search/attribute_spec.rb
|
@@ -430,66 +285,16 @@ files:
|
|
430
285
|
- spec/lib/metasploit/model/version_spec.rb
|
431
286
|
- spec/lib/metasploit/model/visitation/visit_spec.rb
|
432
287
|
- spec/spec_helper.rb
|
433
|
-
- spec/support/shared/contexts/metasploit/model/module/ancestor/contents/metasploit_module.rb
|
434
|
-
- spec/support/shared/contexts/metasploit/model/module/ancestor/factory/contents.rb
|
435
|
-
- spec/support/shared/contexts/metasploit/model/module/ancestor/factory/contents/metasploit_module.rb
|
436
288
|
- spec/support/shared/contexts/metasploit/model/search/operator/union/children.rb
|
437
|
-
- spec/support/shared/examples/derives.rb
|
438
|
-
- spec/support/shared/examples/metasploit/model/architecture.rb
|
439
|
-
- spec/support/shared/examples/metasploit/model/architecture/seed.rb
|
440
|
-
- spec/support/shared/examples/metasploit/model/author.rb
|
441
|
-
- spec/support/shared/examples/metasploit/model/authority.rb
|
442
|
-
- spec/support/shared/examples/metasploit/model/authority/seed.rb
|
443
|
-
- spec/support/shared/examples/metasploit/model/email_address.rb
|
444
|
-
- spec/support/shared/examples/metasploit/model/module/action.rb
|
445
|
-
- spec/support/shared/examples/metasploit/model/module/ancestor.rb
|
446
|
-
- spec/support/shared/examples/metasploit/model/module/ancestor/payload_factory.rb
|
447
|
-
- spec/support/shared/examples/metasploit/model/module/architecture.rb
|
448
|
-
- spec/support/shared/examples/metasploit/model/module/author.rb
|
449
|
-
- spec/support/shared/examples/metasploit/model/module/class.rb
|
450
|
-
- spec/support/shared/examples/metasploit/model/module/handler.rb
|
451
|
-
- spec/support/shared/examples/metasploit/model/module/instance.rb
|
452
|
-
- spec/support/shared/examples/metasploit/model/module/instance/class_methods.rb
|
453
|
-
- spec/support/shared/examples/metasploit/model/module/instance/is_not_stanced_with_module_type.rb
|
454
|
-
- spec/support/shared/examples/metasploit/model/module/instance/is_stanced_with_module_type.rb
|
455
|
-
- spec/support/shared/examples/metasploit/model/module/instance/validates/dynamic_length_of.rb
|
456
|
-
- spec/support/shared/examples/metasploit/model/module/path.rb
|
457
|
-
- spec/support/shared/examples/metasploit/model/module/platform.rb
|
458
|
-
- spec/support/shared/examples/metasploit/model/module/rank.rb
|
459
|
-
- spec/support/shared/examples/metasploit/model/module/reference.rb
|
460
|
-
- spec/support/shared/examples/metasploit/model/module/target.rb
|
461
|
-
- spec/support/shared/examples/metasploit/model/module/target/architecture.rb
|
462
|
-
- spec/support/shared/examples/metasploit/model/module/target/platform.rb
|
463
|
-
- spec/support/shared/examples/metasploit/model/platform.rb
|
464
|
-
- spec/support/shared/examples/metasploit/model/real_pathname.rb
|
465
|
-
- spec/support/shared/examples/metasploit/model/reference.rb
|
466
289
|
- spec/support/shared/examples/metasploit/model/search/operation/value/integer.rb
|
467
290
|
- spec/support/shared/examples/metasploit/model/search/operation/value/string.rb
|
468
291
|
- spec/support/shared/examples/metasploit/model/search/operator/help.rb
|
469
292
|
- spec/support/shared/examples/metasploit/model/translation.rb
|
470
293
|
- spec/support/shared/examples/search/query.rb
|
471
|
-
- spec/support/shared/examples/search/query/metasploit/model/search/operator/deprecated/app.rb
|
472
|
-
- spec/support/shared/examples/search/query/metasploit/model/search/operator/deprecated/authority.rb
|
473
294
|
- spec/support/shared/examples/search_association.rb
|
474
295
|
- spec/support/shared/examples/search_attribute.rb
|
475
296
|
- spec/support/shared/examples/search_with.rb
|
476
297
|
- spec/support/shared/matchers/allow_attribute.rb
|
477
|
-
- spec/support/templates/metasploit/model/module/ancestors/_attributes.rb.erb
|
478
|
-
- spec/support/templates/metasploit/model/module/ancestors/_methods.rb.erb
|
479
|
-
- spec/support/templates/metasploit/model/module/ancestors/_validations.rb.erb
|
480
|
-
- spec/support/templates/metasploit/model/module/ancestors/base.rb.erb
|
481
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_auxiliary.rb.erb
|
482
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_encoder.rb.erb
|
483
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_exploit.rb.erb
|
484
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_non_payload.rb.erb
|
485
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_nop.rb.erb
|
486
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_payload.rb.erb
|
487
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_post.rb.erb
|
488
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_handled.rb.erb
|
489
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_single.rb.erb
|
490
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_stage.rb.erb
|
491
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_stager.rb.erb
|
492
|
-
- spec/support/templates/metasploit/model/module/classes/_methods.rb.erb
|
493
298
|
homepage:
|
494
299
|
licenses: []
|
495
300
|
metadata: {}
|
@@ -517,9 +322,6 @@ specification_version: 4
|
|
517
322
|
summary: Metasploit Model Mixins and Validators
|
518
323
|
test_files:
|
519
324
|
- spec/app/models/metasploit/model/association/reflection_spec.rb
|
520
|
-
- spec/app/models/metasploit/model/module/ancestor/spec/template_spec.rb
|
521
|
-
- spec/app/models/metasploit/model/module/class/spec/template_spec.rb
|
522
|
-
- spec/app/models/metasploit/model/module/instance/spec/template_spec.rb
|
523
325
|
- spec/app/models/metasploit/model/search/group/base_spec.rb
|
524
326
|
- spec/app/models/metasploit/model/search/group/intersection_spec.rb
|
525
327
|
- spec/app/models/metasploit/model/search/group/union_spec.rb
|
@@ -540,22 +342,13 @@ test_files:
|
|
540
342
|
- spec/app/models/metasploit/model/search/operator/attribute_spec.rb
|
541
343
|
- spec/app/models/metasploit/model/search/operator/base_spec.rb
|
542
344
|
- spec/app/models/metasploit/model/search/operator/delegation_spec.rb
|
543
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/app_spec.rb
|
544
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/author_spec.rb
|
545
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/authority_spec.rb
|
546
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/platform_spec.rb
|
547
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/ref_spec.rb
|
548
|
-
- spec/app/models/metasploit/model/search/operator/deprecated/text_spec.rb
|
549
345
|
- spec/app/models/metasploit/model/search/operator/group/base_spec.rb
|
550
346
|
- spec/app/models/metasploit/model/search/operator/group/intersection_spec.rb
|
551
347
|
- spec/app/models/metasploit/model/search/operator/group/union_spec.rb
|
552
348
|
- spec/app/models/metasploit/model/search/operator/null_spec.rb
|
553
349
|
- spec/app/models/metasploit/model/search/operator/single_spec.rb
|
554
350
|
- spec/app/models/metasploit/model/search/query_spec.rb
|
555
|
-
- spec/app/models/metasploit/model/spec/template_spec.rb
|
556
351
|
- spec/app/models/metasploit/model/visitation/visitor_spec.rb
|
557
|
-
- spec/app/validators/derivation_validator_spec.rb
|
558
|
-
- spec/app/validators/dynamic_length_validator_spec.rb
|
559
352
|
- spec/app/validators/ip_format_validator_spec.rb
|
560
353
|
- spec/app/validators/nil_validator_spec.rb
|
561
354
|
- spec/app/validators/parameters_validator_spec.rb
|
@@ -566,25 +359,6 @@ test_files:
|
|
566
359
|
- spec/dummy/app/controllers/application_controller.rb
|
567
360
|
- spec/dummy/app/helpers/application_helper.rb
|
568
361
|
- spec/dummy/app/mailers/.gitkeep
|
569
|
-
- spec/dummy/app/models/dummy/architecture.rb
|
570
|
-
- spec/dummy/app/models/dummy/author.rb
|
571
|
-
- spec/dummy/app/models/dummy/authority.rb
|
572
|
-
- spec/dummy/app/models/dummy/email_address.rb
|
573
|
-
- spec/dummy/app/models/dummy/module/action.rb
|
574
|
-
- spec/dummy/app/models/dummy/module/ancestor.rb
|
575
|
-
- spec/dummy/app/models/dummy/module/architecture.rb
|
576
|
-
- spec/dummy/app/models/dummy/module/author.rb
|
577
|
-
- spec/dummy/app/models/dummy/module/class.rb
|
578
|
-
- spec/dummy/app/models/dummy/module/instance.rb
|
579
|
-
- spec/dummy/app/models/dummy/module/path.rb
|
580
|
-
- spec/dummy/app/models/dummy/module/platform.rb
|
581
|
-
- spec/dummy/app/models/dummy/module/rank.rb
|
582
|
-
- spec/dummy/app/models/dummy/module/reference.rb
|
583
|
-
- spec/dummy/app/models/dummy/module/target.rb
|
584
|
-
- spec/dummy/app/models/dummy/module/target/architecture.rb
|
585
|
-
- spec/dummy/app/models/dummy/module/target/platform.rb
|
586
|
-
- spec/dummy/app/models/dummy/platform.rb
|
587
|
-
- spec/dummy/app/models/dummy/reference.rb
|
588
362
|
- spec/dummy/app/views/layouts/application.html.erb
|
589
363
|
- spec/dummy/config.ru
|
590
364
|
- spec/dummy/config/application.rb
|
@@ -609,90 +383,20 @@ test_files:
|
|
609
383
|
- spec/dummy/public/500.html
|
610
384
|
- spec/dummy/public/favicon.ico
|
611
385
|
- spec/dummy/script/rails
|
612
|
-
- spec/dummy/spec/factories/dummy/architectures.rb
|
613
|
-
- spec/dummy/spec/factories/dummy/authorities.rb
|
614
|
-
- spec/dummy/spec/factories/dummy/authors.rb
|
615
|
-
- spec/dummy/spec/factories/dummy/email_addresses.rb
|
616
|
-
- spec/dummy/spec/factories/dummy/module/actions.rb
|
617
|
-
- spec/dummy/spec/factories/dummy/module/ancestors.rb
|
618
|
-
- spec/dummy/spec/factories/dummy/module/architectures.rb
|
619
|
-
- spec/dummy/spec/factories/dummy/module/authors.rb
|
620
|
-
- spec/dummy/spec/factories/dummy/module/classes.rb
|
621
|
-
- spec/dummy/spec/factories/dummy/module/instances.rb
|
622
|
-
- spec/dummy/spec/factories/dummy/module/paths.rb
|
623
|
-
- spec/dummy/spec/factories/dummy/module/platforms.rb
|
624
|
-
- spec/dummy/spec/factories/dummy/module/ranks.rb
|
625
|
-
- spec/dummy/spec/factories/dummy/module/references.rb
|
626
|
-
- spec/dummy/spec/factories/dummy/module/target/architectures.rb
|
627
|
-
- spec/dummy/spec/factories/dummy/module/target/platforms.rb
|
628
|
-
- spec/dummy/spec/factories/dummy/module/targets.rb
|
629
|
-
- spec/dummy/spec/factories/dummy/platforms.rb
|
630
|
-
- spec/dummy/spec/factories/dummy/references.rb
|
631
|
-
- spec/factories/metasploit/model/architectures.rb
|
632
386
|
- spec/factories/metasploit/model/association/reflections.rb
|
633
|
-
- spec/factories/metasploit/model/authorities.rb
|
634
|
-
- spec/factories/metasploit/model/authors.rb
|
635
387
|
- spec/factories/metasploit/model/bases.rb
|
636
|
-
- spec/factories/metasploit/model/email_addresses.rb
|
637
|
-
- spec/factories/metasploit/model/module/actions.rb
|
638
|
-
- spec/factories/metasploit/model/module/ancestors.rb
|
639
|
-
- spec/factories/metasploit/model/module/architectures.rb
|
640
|
-
- spec/factories/metasploit/model/module/classes.rb
|
641
|
-
- spec/factories/metasploit/model/module/handlers.rb
|
642
|
-
- spec/factories/metasploit/model/module/instances.rb
|
643
|
-
- spec/factories/metasploit/model/module/paths.rb
|
644
|
-
- spec/factories/metasploit/model/module/platforms.rb
|
645
|
-
- spec/factories/metasploit/model/module/ranks.rb
|
646
|
-
- spec/factories/metasploit/model/module/references.rb
|
647
|
-
- spec/factories/metasploit/model/module/stances.rb
|
648
|
-
- spec/factories/metasploit/model/module/targets.rb
|
649
|
-
- spec/factories/metasploit/model/module/types.rb
|
650
|
-
- spec/factories/metasploit/model/references.rb
|
651
388
|
- spec/factories/metasploit/model/search/operator/associations.rb
|
652
389
|
- spec/factories/metasploit/model/search/operator/attributes.rb
|
653
390
|
- spec/factories/metasploit/model/search/operator/bases.rb
|
654
|
-
- spec/lib/metasploit/model/architecture_spec.rb
|
655
391
|
- spec/lib/metasploit/model/association/error_spec.rb
|
656
392
|
- spec/lib/metasploit/model/association_spec.rb
|
657
|
-
- spec/lib/metasploit/model/author_spec.rb
|
658
|
-
- spec/lib/metasploit/model/authority/bid_spec.rb
|
659
|
-
- spec/lib/metasploit/model/authority/cve_spec.rb
|
660
|
-
- spec/lib/metasploit/model/authority/msb_spec.rb
|
661
|
-
- spec/lib/metasploit/model/authority/osvdb_spec.rb
|
662
|
-
- spec/lib/metasploit/model/authority/pmasa_spec.rb
|
663
|
-
- spec/lib/metasploit/model/authority/secunia_spec.rb
|
664
|
-
- spec/lib/metasploit/model/authority/us_cert_vu_spec.rb
|
665
|
-
- spec/lib/metasploit/model/authority/waraxe_spec.rb
|
666
|
-
- spec/lib/metasploit/model/authority/zdi_spec.rb
|
667
|
-
- spec/lib/metasploit/model/authority_spec.rb
|
668
393
|
- spec/lib/metasploit/model/base_spec.rb
|
669
|
-
- spec/lib/metasploit/model/derivation/full_name_spec.rb
|
670
|
-
- spec/lib/metasploit/model/derivation_spec.rb
|
671
|
-
- spec/lib/metasploit/model/email_address_spec.rb
|
672
394
|
- spec/lib/metasploit/model/engine_spec.rb
|
673
395
|
- spec/lib/metasploit/model/file_spec.rb
|
674
396
|
- spec/lib/metasploit/model/invalid_spec.rb
|
675
397
|
- spec/lib/metasploit/model/login/status_spec.rb
|
676
|
-
- spec/lib/metasploit/model/module/action_spec.rb
|
677
|
-
- spec/lib/metasploit/model/module/ancestor_spec.rb
|
678
|
-
- spec/lib/metasploit/model/module/architecture_spec.rb
|
679
|
-
- spec/lib/metasploit/model/module/author_spec.rb
|
680
|
-
- spec/lib/metasploit/model/module/class_spec.rb
|
681
|
-
- spec/lib/metasploit/model/module/handler_spec.rb
|
682
|
-
- spec/lib/metasploit/model/module/instance_spec.rb
|
683
|
-
- spec/lib/metasploit/model/module/path_spec.rb
|
684
|
-
- spec/lib/metasploit/model/module/platform_spec.rb
|
685
|
-
- spec/lib/metasploit/model/module/rank_spec.rb
|
686
|
-
- spec/lib/metasploit/model/module/reference_spec.rb
|
687
|
-
- spec/lib/metasploit/model/module/stance_spec.rb
|
688
|
-
- spec/lib/metasploit/model/module/target/architecture_spec.rb
|
689
|
-
- spec/lib/metasploit/model/module/target/platform_spec.rb
|
690
|
-
- spec/lib/metasploit/model/module/target_spec.rb
|
691
|
-
- spec/lib/metasploit/model/module/type_spec.rb
|
692
398
|
- spec/lib/metasploit/model/nilify_blanks_spec.rb
|
693
|
-
- spec/lib/metasploit/model/platform_spec.rb
|
694
399
|
- spec/lib/metasploit/model/realm/key_spec.rb
|
695
|
-
- spec/lib/metasploit/model/reference_spec.rb
|
696
400
|
- spec/lib/metasploit/model/search/association/tree_spec.rb
|
697
401
|
- spec/lib/metasploit/model/search/association_spec.rb
|
698
402
|
- spec/lib/metasploit/model/search/attribute_spec.rb
|
@@ -710,64 +414,14 @@ test_files:
|
|
710
414
|
- spec/lib/metasploit/model/version_spec.rb
|
711
415
|
- spec/lib/metasploit/model/visitation/visit_spec.rb
|
712
416
|
- spec/spec_helper.rb
|
713
|
-
- spec/support/shared/contexts/metasploit/model/module/ancestor/contents/metasploit_module.rb
|
714
|
-
- spec/support/shared/contexts/metasploit/model/module/ancestor/factory/contents.rb
|
715
|
-
- spec/support/shared/contexts/metasploit/model/module/ancestor/factory/contents/metasploit_module.rb
|
716
417
|
- spec/support/shared/contexts/metasploit/model/search/operator/union/children.rb
|
717
|
-
- spec/support/shared/examples/derives.rb
|
718
|
-
- spec/support/shared/examples/metasploit/model/architecture.rb
|
719
|
-
- spec/support/shared/examples/metasploit/model/architecture/seed.rb
|
720
|
-
- spec/support/shared/examples/metasploit/model/author.rb
|
721
|
-
- spec/support/shared/examples/metasploit/model/authority.rb
|
722
|
-
- spec/support/shared/examples/metasploit/model/authority/seed.rb
|
723
|
-
- spec/support/shared/examples/metasploit/model/email_address.rb
|
724
|
-
- spec/support/shared/examples/metasploit/model/module/action.rb
|
725
|
-
- spec/support/shared/examples/metasploit/model/module/ancestor.rb
|
726
|
-
- spec/support/shared/examples/metasploit/model/module/ancestor/payload_factory.rb
|
727
|
-
- spec/support/shared/examples/metasploit/model/module/architecture.rb
|
728
|
-
- spec/support/shared/examples/metasploit/model/module/author.rb
|
729
|
-
- spec/support/shared/examples/metasploit/model/module/class.rb
|
730
|
-
- spec/support/shared/examples/metasploit/model/module/handler.rb
|
731
|
-
- spec/support/shared/examples/metasploit/model/module/instance.rb
|
732
|
-
- spec/support/shared/examples/metasploit/model/module/instance/class_methods.rb
|
733
|
-
- spec/support/shared/examples/metasploit/model/module/instance/is_not_stanced_with_module_type.rb
|
734
|
-
- spec/support/shared/examples/metasploit/model/module/instance/is_stanced_with_module_type.rb
|
735
|
-
- spec/support/shared/examples/metasploit/model/module/instance/validates/dynamic_length_of.rb
|
736
|
-
- spec/support/shared/examples/metasploit/model/module/path.rb
|
737
|
-
- spec/support/shared/examples/metasploit/model/module/platform.rb
|
738
|
-
- spec/support/shared/examples/metasploit/model/module/rank.rb
|
739
|
-
- spec/support/shared/examples/metasploit/model/module/reference.rb
|
740
|
-
- spec/support/shared/examples/metasploit/model/module/target.rb
|
741
|
-
- spec/support/shared/examples/metasploit/model/module/target/architecture.rb
|
742
|
-
- spec/support/shared/examples/metasploit/model/module/target/platform.rb
|
743
|
-
- spec/support/shared/examples/metasploit/model/platform.rb
|
744
|
-
- spec/support/shared/examples/metasploit/model/real_pathname.rb
|
745
|
-
- spec/support/shared/examples/metasploit/model/reference.rb
|
746
418
|
- spec/support/shared/examples/metasploit/model/search/operation/value/integer.rb
|
747
419
|
- spec/support/shared/examples/metasploit/model/search/operation/value/string.rb
|
748
420
|
- spec/support/shared/examples/metasploit/model/search/operator/help.rb
|
749
421
|
- spec/support/shared/examples/metasploit/model/translation.rb
|
750
422
|
- spec/support/shared/examples/search/query.rb
|
751
|
-
- spec/support/shared/examples/search/query/metasploit/model/search/operator/deprecated/app.rb
|
752
|
-
- spec/support/shared/examples/search/query/metasploit/model/search/operator/deprecated/authority.rb
|
753
423
|
- spec/support/shared/examples/search_association.rb
|
754
424
|
- spec/support/shared/examples/search_attribute.rb
|
755
425
|
- spec/support/shared/examples/search_with.rb
|
756
426
|
- spec/support/shared/matchers/allow_attribute.rb
|
757
|
-
- spec/support/templates/metasploit/model/module/ancestors/_attributes.rb.erb
|
758
|
-
- spec/support/templates/metasploit/model/module/ancestors/_methods.rb.erb
|
759
|
-
- spec/support/templates/metasploit/model/module/ancestors/_validations.rb.erb
|
760
|
-
- spec/support/templates/metasploit/model/module/ancestors/base.rb.erb
|
761
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_auxiliary.rb.erb
|
762
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_encoder.rb.erb
|
763
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_exploit.rb.erb
|
764
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_non_payload.rb.erb
|
765
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_nop.rb.erb
|
766
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_payload.rb.erb
|
767
|
-
- spec/support/templates/metasploit/model/module/ancestors/module_types/_post.rb.erb
|
768
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_handled.rb.erb
|
769
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_single.rb.erb
|
770
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_stage.rb.erb
|
771
|
-
- spec/support/templates/metasploit/model/module/ancestors/payload_types/_stager.rb.erb
|
772
|
-
- spec/support/templates/metasploit/model/module/classes/_methods.rb.erb
|
773
427
|
has_rdoc:
|