metasploit-credential 6.0.8 → 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: 913d527e3ff1acebc3c85e08482bd741219129fdbcffff2ecb1554832882eca5
4
- data.tar.gz: 852878101494eb11478c4d8ec823967ca565f98668f6c29ad137c4520d9f1dec
3
+ metadata.gz: c8981765d4f55a2069b0c58cdd836ca57b6c3a8aedd0d95562f2a1ec11df4abe
4
+ data.tar.gz: 6f677552f71014b3cc877f25219c56f19f8885828d8a061c4233f2167f72f0eb
5
5
  SHA512:
6
- metadata.gz: 40ecf1a1f835d43b01fba1d4ac62faf065a42eee29f32fd8848dee27c84aaed1c8671ef0d99abb3d29cb129f897631ff909ca06d6105d4de8bd0bdf2e04ba7fa
7
- data.tar.gz: 12f196e9b43a183f449ee7b299afeef6ad6e6c70e84039749677088ca5972ac142e62b1ecea182a7ca061a3433e5873ebbd0979ad656ae1de8484eaefec12f25
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, coder: 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, coder: 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, coder: 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.8'
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.8
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-02-07 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
@@ -295,7 +295,6 @@ files:
295
295
  - spec/dummy/public/500.html
296
296
  - spec/dummy/public/favicon.ico
297
297
  - spec/dummy/script/rails
298
- - spec/dummy/tmp/local_secret.txt
299
298
  - spec/factories/metasploit/credential/blank_usernames.rb
300
299
  - spec/factories/metasploit/credential/cores.rb
301
300
  - spec/factories/metasploit/credential/importer/cores.rb
@@ -429,7 +428,6 @@ test_files:
429
428
  - spec/dummy/public/500.html
430
429
  - spec/dummy/public/favicon.ico
431
430
  - spec/dummy/script/rails
432
- - spec/dummy/tmp/local_secret.txt
433
431
  - spec/factories/metasploit/credential/blank_usernames.rb
434
432
  - spec/factories/metasploit/credential/cores.rb
435
433
  - spec/factories/metasploit/credential/importer/cores.rb
metadata.gz.sig CHANGED
Binary file
@@ -1 +0,0 @@
1
- 78dbf4f0155a6759c26ff831039fa6b6703641fd8e1cbdfe00abdf02758283d10b7ae7015b1de2682c50f3e1e9f08a36b3004cb62dc1c0513c37480bc8f984a2