metasploit_data_models 6.0.16 → 6.0.17
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4396d080395ad666cc8838b20722a68e517933fcf2fcd9b0b95bb09169adbf3b
|
|
4
|
+
data.tar.gz: 7d8f0373474ae36fcee5b741047c13fcbd515185b95e26daad59806536d1410e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5943df487f28ba21fb68856b602a7515c0cb8a373e8af776e4ca8b6024bc37f2020bdb30483b09270386704094c73cc3a625a02fb0f13e57395232cff4282225
|
|
7
|
+
data.tar.gz: 2d92b4d9586d471d88211967d4abe9b2022a51730a69857f670d7d19eae7989bbc3c0f20b5fa04b9260cd6b9af1980d534d1bbe1cfd2ecb1008c5e315f72b949
|
|
@@ -63,6 +63,20 @@ class Mdm::VulnAttempt < ApplicationRecord
|
|
|
63
63
|
#
|
|
64
64
|
# @return [String]
|
|
65
65
|
|
|
66
|
+
# @!attribute check_code
|
|
67
|
+
# The check code returned by the module's check method, if this attempt
|
|
68
|
+
# was a vulnerability check rather than an exploitation attempt.
|
|
69
|
+
#
|
|
70
|
+
# @return [String] one of 'vulnerable', 'appears', 'safe', 'detected', 'unknown'
|
|
71
|
+
# @return [nil] if this was an exploitation attempt, not a check
|
|
72
|
+
|
|
73
|
+
# @!attribute check_detail
|
|
74
|
+
# The human-readable message from the module's check method describing
|
|
75
|
+
# why the target was determined to be vulnerable, safe, etc.
|
|
76
|
+
#
|
|
77
|
+
# @return [String] if {#check_code} is present.
|
|
78
|
+
# @return [nil] if this was an exploitation attempt, not a check
|
|
79
|
+
|
|
66
80
|
# @!attribute username
|
|
67
81
|
# The {Mdm::User#username name of the user} that made this attempt.
|
|
68
82
|
#
|
|
@@ -20,6 +20,8 @@ RSpec.describe Mdm::VulnAttempt, type: :model do
|
|
|
20
20
|
it { is_expected.to have_db_column(:session_id).of_type(:integer) }
|
|
21
21
|
it { is_expected.to have_db_column(:loot_id).of_type(:integer) }
|
|
22
22
|
it { is_expected.to have_db_column(:fail_detail).of_type(:text) }
|
|
23
|
+
it { is_expected.to have_db_column(:check_code).of_type(:string) }
|
|
24
|
+
it { is_expected.to have_db_column(:check_detail).of_type(:text) }
|
|
23
25
|
end
|
|
24
26
|
end
|
|
25
27
|
|
data/spec/dummy/db/structure.sql
CHANGED
|
@@ -1755,7 +1755,9 @@ CREATE TABLE public.vuln_attempts (
|
|
|
1755
1755
|
module text,
|
|
1756
1756
|
session_id integer,
|
|
1757
1757
|
loot_id integer,
|
|
1758
|
-
fail_detail text
|
|
1758
|
+
fail_detail text,
|
|
1759
|
+
check_code character varying,
|
|
1760
|
+
check_detail text
|
|
1759
1761
|
);
|
|
1760
1762
|
|
|
1761
1763
|
|
|
@@ -3602,6 +3604,7 @@ INSERT INTO "schema_migrations" (version) VALUES
|
|
|
3602
3604
|
('20250721114306'),
|
|
3603
3605
|
('20251231162000'),
|
|
3604
3606
|
('20260130124052'),
|
|
3607
|
+
('20260411000000'),
|
|
3605
3608
|
('21'),
|
|
3606
3609
|
('22'),
|
|
3607
3610
|
('23'),
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metasploit_data_models
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 6.0.
|
|
4
|
+
version: 6.0.17
|
|
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-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: metasploit-yard
|
|
@@ -535,6 +535,7 @@ files:
|
|
|
535
535
|
- db/migrate/20250721114306_remove_duplicate_services3.rb
|
|
536
536
|
- db/migrate/20251231162000_add_session_tags.rb
|
|
537
537
|
- db/migrate/20260130124052_add_sso_status_to_user.rb
|
|
538
|
+
- db/migrate/20260411000000_add_check_code_to_vuln_attempts.rb
|
|
538
539
|
- lib/mdm.rb
|
|
539
540
|
- lib/mdm/host/operating_system_normalization.rb
|
|
540
541
|
- lib/mdm/module.rb
|