metasploit-credential 6.0.21 → 6.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/models/metasploit/credential/krb_enc_key.rb +1 -1
- data/app/models/metasploit/credential/ntlm_hash.rb +1 -1
- data/app/models/metasploit/credential/postgres_md5.rb +1 -1
- data/lib/metasploit/credential/version.rb +1 -1
- data/spec/dummy/config/application.rb +0 -2
- data/spec/dummy/db/structure.sql +7 -1
- data/spec/dummy/tmp/local_secret.txt +1 -0
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b54980fe704b7045ccd25fcef674e10d8c7774ad9a8662e15d229821a4d5ce0a
|
|
4
|
+
data.tar.gz: d7fc83e6ff13464f8a3bab067136e4196b2ee3da8b0a49cd27989aa2a4924202
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2dcea6416ced734289968238e4da7d3184f2b8b672a3ee7106bfca3b0c9440fbb2ef605c34b28389d36e6a1adfea91ddff5e032a88b646c1e4ff659632109f8
|
|
7
|
+
data.tar.gz: 67a8e8061eab4ba68e1f47e4bd393c94d78fb53289e307dd75b0e9f2845d14099a5b1ba3f7a29f3714c3054cfb490551b2cc1f192b7a61c8698dc6e841299d4b
|
|
@@ -73,7 +73,7 @@ class Metasploit::Credential::KrbEncKey < Metasploit::Credential::PasswordHash
|
|
|
73
73
|
# Callbacks
|
|
74
74
|
#
|
|
75
75
|
|
|
76
|
-
if ActiveRecord::VERSION::MAJOR
|
|
76
|
+
if ActiveRecord::VERSION::MAJOR > 7 || (ActiveRecord::VERSION::MAJOR == 7 && ActiveRecord::VERSION::MINOR >= 1)
|
|
77
77
|
serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
|
|
78
78
|
else
|
|
79
79
|
serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
|
|
@@ -43,7 +43,7 @@ class Metasploit::Credential::NTLMHash < Metasploit::Credential::ReplayableHash
|
|
|
43
43
|
|
|
44
44
|
# Hash results are always downcased when stored in the database
|
|
45
45
|
# This serializer allows for ORM to search in a case-insensitive
|
|
46
|
-
if ActiveRecord::VERSION::MAJOR
|
|
46
|
+
if ActiveRecord::VERSION::MAJOR > 7 || (ActiveRecord::VERSION::MAJOR == 7 && ActiveRecord::VERSION::MINOR >= 1)
|
|
47
47
|
serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
|
|
48
48
|
else
|
|
49
49
|
serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
|
|
@@ -13,7 +13,7 @@ class Metasploit::Credential::PostgresMD5 < Metasploit::Credential::ReplayableHa
|
|
|
13
13
|
# Callbacks
|
|
14
14
|
#
|
|
15
15
|
|
|
16
|
-
if ActiveRecord::VERSION::MAJOR
|
|
16
|
+
if ActiveRecord::VERSION::MAJOR > 7 || (ActiveRecord::VERSION::MAJOR == 7 && ActiveRecord::VERSION::MINOR >= 1)
|
|
17
17
|
serialize :data, coder: Metasploit::Credential::CaseInsensitiveSerializer
|
|
18
18
|
else
|
|
19
19
|
serialize :data, Metasploit::Credential::CaseInsensitiveSerializer
|
|
@@ -55,8 +55,6 @@ module Dummy
|
|
|
55
55
|
# like if you have constraints or database-specific column types
|
|
56
56
|
config.active_record.schema_format = :sql
|
|
57
57
|
|
|
58
|
-
config.autoloader = :zeitwerk
|
|
59
|
-
|
|
60
58
|
if ActiveRecord.respond_to?(:legacy_connection_handling)
|
|
61
59
|
ActiveRecord.legacy_connection_handling = false
|
|
62
60
|
end
|
data/spec/dummy/db/structure.sql
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
\restrict mBrhviFaGapJnTy1Ng5G4Nmfldi6cVCqDsnBZBhvNpaMCYyEUttPQyvzrS3RhNF
|
|
2
|
+
|
|
3
|
+
-- Dumped from database version 14.22 (Homebrew)
|
|
4
|
+
-- Dumped by pg_dump version 14.22 (Homebrew)
|
|
5
|
+
|
|
1
6
|
SET statement_timeout = 0;
|
|
2
7
|
SET lock_timeout = 0;
|
|
3
8
|
SET idle_in_transaction_session_timeout = 0;
|
|
4
|
-
SET transaction_timeout = 0;
|
|
5
9
|
SET client_encoding = 'UTF8';
|
|
6
10
|
SET standard_conforming_strings = on;
|
|
7
11
|
SELECT pg_catalog.set_config('search_path', '', false);
|
|
@@ -4004,6 +4008,8 @@ CREATE UNIQUE INDEX unique_realmless_metasploit_credential_cores ON public.metas
|
|
|
4004
4008
|
-- PostgreSQL database dump complete
|
|
4005
4009
|
--
|
|
4006
4010
|
|
|
4011
|
+
\unrestrict mBrhviFaGapJnTy1Ng5G4Nmfldi6cVCqDsnBZBhvNpaMCYyEUttPQyvzrS3RhNF
|
|
4012
|
+
|
|
4007
4013
|
SET search_path TO "$user", public;
|
|
4008
4014
|
|
|
4009
4015
|
INSERT INTO "schema_migrations" (version) VALUES
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6a51993ec952777b354be51d945c684ff857fc3d3998977cce58c852e7e84603f6999bdbe3471130e137c437a38e775c2eef37156a46f59bd7a46eb38b642b9a
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Metasploit Hackers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-04-
|
|
11
|
+
date: 2026-04-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metasploit-concern
|
|
@@ -325,6 +325,7 @@ files:
|
|
|
325
325
|
- spec/dummy/public/500.html
|
|
326
326
|
- spec/dummy/public/favicon.ico
|
|
327
327
|
- spec/dummy/script/rails
|
|
328
|
+
- spec/dummy/tmp/local_secret.txt
|
|
328
329
|
- spec/factories/metasploit/credential/blank_usernames.rb
|
|
329
330
|
- spec/factories/metasploit/credential/cores.rb
|
|
330
331
|
- spec/factories/metasploit/credential/importer/cores.rb
|
|
@@ -457,6 +458,7 @@ test_files:
|
|
|
457
458
|
- spec/dummy/public/500.html
|
|
458
459
|
- spec/dummy/public/favicon.ico
|
|
459
460
|
- spec/dummy/script/rails
|
|
461
|
+
- spec/dummy/tmp/local_secret.txt
|
|
460
462
|
- spec/factories/metasploit/credential/blank_usernames.rb
|
|
461
463
|
- spec/factories/metasploit/credential/cores.rb
|
|
462
464
|
- spec/factories/metasploit/credential/importer/cores.rb
|