dissect.target 3.20.2.dev13__py3-none-any.whl → 3.20.2.dev14__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- dissect/target/plugins/os/windows/log/mssql.py +7 -14
- {dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/METADATA +1 -1
- {dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/RECORD +8 -8
- {dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/COPYRIGHT +0 -0
- {dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/LICENSE +0 -0
- {dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/WHEEL +0 -0
- {dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/entry_points.txt +0 -0
- {dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/top_level.txt +0 -0
@@ -35,7 +35,7 @@ class MssqlPlugin(Plugin):
|
|
35
35
|
|
36
36
|
__namespace__ = "mssql"
|
37
37
|
|
38
|
-
|
38
|
+
MSSQL_KEY_GLOB = "HKLM\\SOFTWARE\\Microsoft\\Microsoft SQL Server\\MSSQL*.*"
|
39
39
|
FILE_GLOB = "ERRORLOG*"
|
40
40
|
|
41
41
|
def __init__(self, target: Target):
|
@@ -44,7 +44,7 @@ class MssqlPlugin(Plugin):
|
|
44
44
|
|
45
45
|
def check_compatible(self) -> None:
|
46
46
|
if not self.instances:
|
47
|
-
raise UnsupportedPluginError("
|
47
|
+
raise UnsupportedPluginError("No Microsoft SQL Server instances have been found")
|
48
48
|
|
49
49
|
@export(record=MssqlErrorlogRecord)
|
50
50
|
def errorlog(self) -> Iterator[MssqlErrorlogRecord]:
|
@@ -89,15 +89,8 @@ class MssqlPlugin(Plugin):
|
|
89
89
|
|
90
90
|
buf += line
|
91
91
|
|
92
|
-
def _find_instances(self) ->
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
instances.append(
|
98
|
-
(
|
99
|
-
subkey.name,
|
100
|
-
self.target.fs.path(subkey.subkey("SQLServerAgent").value("ErrorLogFile").value).parent,
|
101
|
-
)
|
102
|
-
)
|
103
|
-
return instances
|
92
|
+
def _find_instances(self) -> set[str, TargetPath]:
|
93
|
+
return {
|
94
|
+
(subkey.name, self.target.fs.path(subkey.subkey("SQLServerAgent").value("ErrorLogFile").value).parent)
|
95
|
+
for subkey in self.target.registry.glob_ext(self.MSSQL_KEY_GLOB)
|
96
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: dissect.target
|
3
|
-
Version: 3.20.2.
|
3
|
+
Version: 3.20.2.dev14
|
4
4
|
Summary: This module ties all other Dissect modules together, it provides a programming API and command line tools which allow easy access to various data sources inside disk images or file collections (a.k.a. targets)
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
6
6
|
License: Affero General Public License v3
|
@@ -330,7 +330,7 @@ dissect/target/plugins/os/windows/log/amcache.py,sha256=TabtjNx9Ve-u-Fn0K95A0v_S
|
|
330
330
|
dissect/target/plugins/os/windows/log/etl.py,sha256=t5GpunjzYMvAO9CBOP1ynH6053_PlasnIEIvlLNLU10,7255
|
331
331
|
dissect/target/plugins/os/windows/log/evt.py,sha256=pYRVK3u309yK5pJoogohHWV2a_Lev8FK2zte_ys4SN8,7133
|
332
332
|
dissect/target/plugins/os/windows/log/evtx.py,sha256=eSnMkU7HRmIDZ19WRsF9li08HuEOo51pRJDN2JOua5U,6148
|
333
|
-
dissect/target/plugins/os/windows/log/mssql.py,sha256=
|
333
|
+
dissect/target/plugins/os/windows/log/mssql.py,sha256=YB0BfaW1j6UzPf90n9vP7M_ez-Ufq1enpNsBmwgSk4U,3542
|
334
334
|
dissect/target/plugins/os/windows/log/pfro.py,sha256=d53Mm7ovZa9crSwVRPwjMVxTd_jCGtE1Kv07GslX9_s,2789
|
335
335
|
dissect/target/plugins/os/windows/log/schedlgu.py,sha256=JaP8H8eTEypWXhx2aFSR_IMam6rQiksbLKhMr_U4fz8,5570
|
336
336
|
dissect/target/plugins/os/windows/regf/7zip.py,sha256=Ox8cLyQtbyYQS7m4eY3onNv1K8N2IkS5wexrC55Urd4,3444
|
@@ -383,10 +383,10 @@ dissect/target/volumes/luks.py,sha256=OmCMsw6rCUXG1_plnLVLTpsvE1n_6WtoRUGQbpmu1z
|
|
383
383
|
dissect/target/volumes/lvm.py,sha256=wwQVR9I3G9YzmY6UxFsH2Y4MXGBcKL9aayWGCDTiWMU,2269
|
384
384
|
dissect/target/volumes/md.py,sha256=7ShPtusuLGaIv27SvEETtgsuoQyAa4iAAeOR1NEaajI,1689
|
385
385
|
dissect/target/volumes/vmfs.py,sha256=-LoUbn9WNwTtLi_4K34uV_-wDw2W5hgaqxZNj4UmqAQ,1730
|
386
|
-
dissect.target-3.20.2.
|
387
|
-
dissect.target-3.20.2.
|
388
|
-
dissect.target-3.20.2.
|
389
|
-
dissect.target-3.20.2.
|
390
|
-
dissect.target-3.20.2.
|
391
|
-
dissect.target-3.20.2.
|
392
|
-
dissect.target-3.20.2.
|
386
|
+
dissect.target-3.20.2.dev14.dist-info/COPYRIGHT,sha256=m-9ih2RVhMiXHI2bf_oNSSgHgkeIvaYRVfKTwFbnJPA,301
|
387
|
+
dissect.target-3.20.2.dev14.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
388
|
+
dissect.target-3.20.2.dev14.dist-info/METADATA,sha256=es_MUgD-RMEcA-o_NR1_ZB5SV0nGzcDVh_4UsHXqTzY,13184
|
389
|
+
dissect.target-3.20.2.dev14.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
390
|
+
dissect.target-3.20.2.dev14.dist-info/entry_points.txt,sha256=yQwLCWUuzHgS6-sfCcRk66gAfoCfqXdCjqKjvhnQW8o,537
|
391
|
+
dissect.target-3.20.2.dev14.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
392
|
+
dissect.target-3.20.2.dev14.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
{dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/entry_points.txt
RENAMED
File without changes
|
{dissect.target-3.20.2.dev13.dist-info → dissect.target-3.20.2.dev14.dist-info}/top_level.txt
RENAMED
File without changes
|