metasploit_data_models 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6ba747bcd0d3492de23db914e7cbdea803f3905
|
|
4
|
+
data.tar.gz: c5dff2b2706bd6227bb3f112d34c35e61bcc22df
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 814abb84faf6a04671073b8f8c832925da43cf289ea91b035f2da13f99aa3ac3d78ca9a7b7c7f34edad76fe5c492f1d2624b2403d921061bcef7ec0153b7ca76
|
|
7
|
+
data.tar.gz: ef0362446755bc899f074d38179423e4e977ca56efed00429b6b091eb1a3c4b01fbf53e32987bc404f073001f5086c795596cb0ba7e7c6bf5f71b80c5e674ef6
|
|
@@ -56,5 +56,16 @@ class MetasploitDataModels::AutomaticExploitation::MatchResult < ActiveRecord::B
|
|
|
56
56
|
# Runs of {#match} that succeeded
|
|
57
57
|
scope :succeeded, lambda { where(state:"succeeded") }
|
|
58
58
|
|
|
59
|
+
# Runs of {#match} by workspace ID
|
|
60
|
+
scope :by_workspace, lambda { |workspace_id|
|
|
61
|
+
joins(
|
|
62
|
+
MetasploitDataModels::AutomaticExploitation::MatchResult.join_association(:match),
|
|
63
|
+
MetasploitDataModels::AutomaticExploitation::Match.join_association(:match_set)
|
|
64
|
+
).where(
|
|
65
|
+
MetasploitDataModels::AutomaticExploitation::MatchSet[:workspace_id].eq(workspace_id),
|
|
66
|
+
)
|
|
67
|
+
}
|
|
68
|
+
|
|
59
69
|
Metasploit::Concern.run(self)
|
|
60
70
|
end
|
|
71
|
+
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metasploit_data_models
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Samuel Huckins
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2015-05-
|
|
14
|
+
date: 2015-05-29 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: metasploit-version
|
|
@@ -731,7 +731,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
731
731
|
version: '0'
|
|
732
732
|
requirements: []
|
|
733
733
|
rubyforge_project:
|
|
734
|
-
rubygems_version: 2.4.
|
|
734
|
+
rubygems_version: 2.4.3
|
|
735
735
|
signing_key:
|
|
736
736
|
specification_version: 4
|
|
737
737
|
summary: Database code for MSF and Metasploit Pro
|