dissect.target 3.21.dev14__py3-none-any.whl → 3.21.dev16__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/unix/_os.py +1 -1
- dissect/target/plugins/os/unix/linux/fortios/_keys.py +7919 -1951
- dissect/target/plugins/os/unix/linux/fortios/_os.py +109 -22
- {dissect.target-3.21.dev14.dist-info → dissect.target-3.21.dev16.dist-info}/METADATA +1 -1
- {dissect.target-3.21.dev14.dist-info → dissect.target-3.21.dev16.dist-info}/RECORD +10 -10
- {dissect.target-3.21.dev14.dist-info → dissect.target-3.21.dev16.dist-info}/COPYRIGHT +0 -0
- {dissect.target-3.21.dev14.dist-info → dissect.target-3.21.dev16.dist-info}/LICENSE +0 -0
- {dissect.target-3.21.dev14.dist-info → dissect.target-3.21.dev16.dist-info}/WHEEL +0 -0
- {dissect.target-3.21.dev14.dist-info → dissect.target-3.21.dev16.dist-info}/entry_points.txt +0 -0
- {dissect.target-3.21.dev14.dist-info → dissect.target-3.21.dev16.dist-info}/top_level.txt +0 -0
@@ -182,7 +182,7 @@ class UnixPlugin(OSPlugin):
|
|
182
182
|
paths (list): list of paths
|
183
183
|
"""
|
184
184
|
redhat_legacy_path = "/etc/sysconfig/network"
|
185
|
-
paths = paths or ["/etc/hostname", "/etc/HOSTNAME", redhat_legacy_path]
|
185
|
+
paths = paths or ["/etc/hostname", "/etc/HOSTNAME", "/proc/sys/kernel/hostname", redhat_legacy_path]
|
186
186
|
hostname_dict = {"hostname": None, "domain": None}
|
187
187
|
|
188
188
|
for path in paths:
|