metasploit-credential 6.0.9 → 6.0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 12640fe95db30350073d0950065ff8b3ad938ff4b0b16fd42c65887fa061a2fb
4
- data.tar.gz: fd39bd99843d2c1dbe09b45c36f7a42ac7315ea0bbea32da945d21c0b7d8bdf6
3
+ metadata.gz: c8981765d4f55a2069b0c58cdd836ca57b6c3a8aedd0d95562f2a1ec11df4abe
4
+ data.tar.gz: 6f677552f71014b3cc877f25219c56f19f8885828d8a061c4233f2167f72f0eb
5
5
  SHA512:
6
- metadata.gz: 9c7b8a4dc55808c1ec7e5faf9b586aba7825755711eda9714ff0ee04854221ca27defd9ed28bce46da9aec264d01f23266cf93698c4e9e40c01d0fb69d15d55b
7
- data.tar.gz: 30f9f6989a1f26c92eb7f84c76bae79e050ce871ec773e5d2945974a00eb427404ccd300ecd60fbad15643fd6b492e965e90508ed14ec5b44fbc415c6e5f2a85
6
+ metadata.gz: 447f21ad6640a5c5a85bc687a6ca752f7ea18f1740d95fa66aedc9283d489cb5b443dbb6725917d9075a0d5773227d86dbe7c05be53d6363badfe0d59b69852a
7
+ data.tar.gz: 2d2a01a5442c19bcf9d5aedec3fc4f76748a2dc826b795e86d966252ab5df8bf8caab790d7c64c53896e769539cc885390ff54d0b5c91219f8b5d2dcb55740bd
checksums.yaml.gz.sig CHANGED
Binary file
@@ -73,7 +73,12 @@ class Metasploit::Credential::KrbEncKey < Metasploit::Credential::PasswordHash
73
73
  # Callbacks
74
74
  #
75
75
 
76
- serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
76
+ if ActiveRecord::VERSION::MAJOR >= 7 && ActiveRecord::VERSION::MINOR >= 1
77
+ serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
78
+ else
79
+ serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
80
+ end
81
+
77
82
  validates_uniqueness_of :data, :case_sensitive => false
78
83
 
79
84
  #
@@ -60,7 +60,11 @@ class Metasploit::Credential::NTLMHash < Metasploit::Credential::ReplayableHash
60
60
 
61
61
  # Hash results are always downcased when stored in the database
62
62
  # This serializer allows for ORM to search in a case-insensitive
63
- serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
63
+ if ActiveRecord::VERSION::MAJOR >= 7 && ActiveRecord::VERSION::MINOR >= 1
64
+ serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
65
+ else
66
+ serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
67
+ end
64
68
 
65
69
  #
66
70
  # Validations
@@ -13,7 +13,11 @@ class Metasploit::Credential::PostgresMD5 < Metasploit::Credential::ReplayableHa
13
13
  # Callbacks
14
14
  #
15
15
 
16
- serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
16
+ if ActiveRecord::VERSION::MAJOR >= 7 && ActiveRecord::VERSION::MINOR >= 1
17
+ serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
18
+ else
19
+ serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
20
+ end
17
21
  validates_uniqueness_of :data, :case_sensitive => false
18
22
 
19
23
  #
@@ -3,7 +3,7 @@
3
3
  module Metasploit
4
4
  module Credential
5
5
  # VERSION is managed by GemRelease
6
- VERSION = '6.0.9'
6
+ VERSION = '6.0.10'
7
7
 
8
8
  # @return [String]
9
9
  #
@@ -1,6 +1,6 @@
1
1
  development: &pgsql
2
2
  adapter: postgresql
3
- database: metasploit-credential_development2
3
+ database: metasploit-credential_development3
4
4
  username: msf
5
5
  password: pass123
6
6
  host: localhost
@@ -10,4 +10,4 @@ development: &pgsql
10
10
  min_messages: warning
11
11
  test:
12
12
  <<: *pgsql
13
- database: metasploit-credential_test2
13
+ database: metasploit-credential_test3
data.tar.gz.sig CHANGED
Binary file
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: 6.0.9
4
+ version: 6.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Metasploit Hackers
@@ -34,7 +34,7 @@ cert_chain:
34
34
  DgscAao7wB3xW2BWEp1KnaDWkf1x9ttgoBEYyuYwU7uatB67kBQG1PKvLt79wHvz
35
35
  Dxs+KOjGbBRfMnPgVGYkORKVrZIwlaboHbDKxcVW5xv+oZc7KYXWGg==
36
36
  -----END CERTIFICATE-----
37
- date: 2024-04-03 00:00:00.000000000 Z
37
+ date: 2024-06-12 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: metasploit-concern
metadata.gz.sig CHANGED
Binary file