metasploit-credential 1.0.0.pre.rails.pre.4.0b → 1.0.0.pre.rails.pre.4.0c
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/metasploit/credential/core.rb +6 -2
- data/lib/metasploit/credential/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11d840c8a6573237be3beafd2d50864f6aafba26
|
4
|
+
data.tar.gz: db23977d91c96934ada85186052418deda1839ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bcf417c1898ba87001552ec9c44eb420f64d0deae78d6a36a0b9713f4f3cac49768f3d1adf2cbfd7e7e92f3fbab86d29226baf2b949a2b98d0c355f34b1ac0d
|
7
|
+
data.tar.gz: fbed05c95bcc659ce21eafc19b881319364f266c8235f560ad461dfb59412d91e547725c5c82620f434fc24c5945c7c4f4b55ecd1e607aed1035b37435b43db0
|
@@ -280,11 +280,15 @@ class Metasploit::Credential::Core < ActiveRecord::Base
|
|
280
280
|
left = origin_service_host_id(host_id).ast
|
281
281
|
right = origin_session_host_id(host_id).ast
|
282
282
|
|
283
|
-
# TODO: Kill with fire. ActiveRecord 4.0.x leaks order/limit scopes
|
284
|
-
# We strip out order/limit
|
283
|
+
# TODO: Kill with fire. ActiveRecord 4.0.x leaks order/limit/offset scopes
|
284
|
+
# We strip out order/limit/offset statements from the subquery since it's invalid SQL
|
285
285
|
# https://github.com/rails/rails/issues/14003
|
286
286
|
left.orders = []
|
287
287
|
right.orders = []
|
288
|
+
left.limit = nil
|
289
|
+
right.limit = nil
|
290
|
+
left.offset = nil
|
291
|
+
right.offset = nil
|
288
292
|
|
289
293
|
Arel::Nodes::Union.new(
|
290
294
|
left,
|
@@ -11,7 +11,7 @@ module Metasploit
|
|
11
11
|
# The patch number, scoped to the {MINOR} version number.
|
12
12
|
PATCH = 0
|
13
13
|
# the prerelease identifier
|
14
|
-
PRERELEASE = 'rails-4.
|
14
|
+
PRERELEASE = 'rails-4.0c'
|
15
15
|
|
16
16
|
# The full version string, including the {MAJOR}, {MINOR}, {PATCH}, and optionally, the {PRERELEASE} in the
|
17
17
|
# {http://semver.org/spec/v2.0.0.html semantic versioning v2.0.0} format.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metasploit-credential
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.pre.rails.pre.4.
|
4
|
+
version: 1.0.0.pre.rails.pre.4.0c
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luke Imhoff
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-05-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: metasploit-concern
|