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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/app/models/metasploit/credential/krb_enc_key.rb +6 -1
- data/app/models/metasploit/credential/ntlm_hash.rb +5 -1
- data/app/models/metasploit/credential/postgres_md5.rb +5 -1
- data/lib/metasploit/credential/version.rb +1 -1
- data/spec/dummy/config/database.yml +2 -2
- data.tar.gz.sig +0 -0
- metadata +2 -4
- metadata.gz.sig +0 -0
- data/spec/dummy/tmp/local_secret.txt +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8981765d4f55a2069b0c58cdd836ca57b6c3a8aedd0d95562f2a1ec11df4abe
|
4
|
+
data.tar.gz: 6f677552f71014b3cc877f25219c56f19f8885828d8a061c4233f2167f72f0eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
#
|
@@ -1,6 +1,6 @@
|
|
1
1
|
development: &pgsql
|
2
2
|
adapter: postgresql
|
3
|
-
database: metasploit-
|
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-
|
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.
|
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-
|
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
|