metasploit-credential 6.0.9 → 6.0.11

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: 7d8e018eee09903b6b6a308532ca9c7a6b42ea1524e4142fc06fa8d0f1f0ca57
4
+ data.tar.gz: aaa05361d417f2c42a001d800de7b163229a2b51a3ac3a72a882fd96aacb3125
5
5
  SHA512:
6
- metadata.gz: 9c7b8a4dc55808c1ec7e5faf9b586aba7825755711eda9714ff0ee04854221ca27defd9ed28bce46da9aec264d01f23266cf93698c4e9e40c01d0fb69d15d55b
7
- data.tar.gz: 30f9f6989a1f26c92eb7f84c76bae79e050ce871ec773e5d2945974a00eb427404ccd300ecd60fbad15643fd6b492e965e90508ed14ec5b44fbc415c6e5f2a85
6
+ metadata.gz: 00aa26d84a1762364898354d6abdd9c98a2da174bf269dbe0b802da625a9f77f42d4deed0f3665b7190e8cbf23227c2c001b5a11cf584be30ab018df9c5a0e09
7
+ data.tar.gz: 4d0c45713eb45f598a55aa28c88fff8ea61016dc4c201c6b672c99964d7f22aa9d5d0e0cbd0f6c775ceeff9394c9cfdb3641e9beef952816fcc0ceeac314d91d
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.11'
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_development0
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_test0
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.11
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-27 00:00:00.000000000 Z
38
38
  dependencies:
39
39
  - !ruby/object:Gem::Dependency
40
40
  name: metasploit-concern
@@ -284,7 +284,6 @@ files:
284
284
  - spec/dummy/config/initializers/filter_parameter_logging.rb
285
285
  - spec/dummy/config/initializers/inflections.rb
286
286
  - spec/dummy/config/initializers/mime_types.rb
287
- - spec/dummy/config/initializers/secret_token.rb
288
287
  - spec/dummy/config/initializers/session_store.rb
289
288
  - spec/dummy/config/initializers/wrap_parameters.rb
290
289
  - spec/dummy/config/locales/en.yml
@@ -417,7 +416,6 @@ test_files:
417
416
  - spec/dummy/config/initializers/filter_parameter_logging.rb
418
417
  - spec/dummy/config/initializers/inflections.rb
419
418
  - spec/dummy/config/initializers/mime_types.rb
420
- - spec/dummy/config/initializers/secret_token.rb
421
419
  - spec/dummy/config/initializers/session_store.rb
422
420
  - spec/dummy/config/initializers/wrap_parameters.rb
423
421
  - spec/dummy/config/locales/en.yml
metadata.gz.sig CHANGED
Binary file
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '16a85a222f50e7c811e690a75a82762c72861d5c5afb50e89b490c4186f2f4e3cc95f6c94c8529b6cfd32e3705b71af18dcedb5445cdd9e1fd64c293c1fd92d6'