dissect.target.plugins.os.unix.bsd.citrix._os¶
Module Contents¶
Classes¶
UNIX plugin. |
Attributes¶
- dissect.target.plugins.os.unix.bsd.citrix._os.RE_CONFIG_IP¶
- dissect.target.plugins.os.unix.bsd.citrix._os.RE_CONFIG_HOSTNAME¶
- dissect.target.plugins.os.unix.bsd.citrix._os.RE_CONFIG_TIMEZONE¶
- dissect.target.plugins.os.unix.bsd.citrix._os.RE_CONFIG_USER¶
- dissect.target.plugins.os.unix.bsd.citrix._os.RE_LOADER_CONFIG_KERNEL_VERSION¶
- class dissect.target.plugins.os.unix.bsd.citrix._os.CitrixPlugin(target: dissect.target.target.Target)¶
Bases:
dissect.target.plugins.os.unix.bsd._os.BsdPluginUNIX plugin.
- classmethod detect(target: dissect.target.target.Target) dissect.target.filesystem.Filesystem | None¶
Provide detection of this OSPlugin on a given filesystem.
- Parameters:
fs –
Filesystemto detect the OS on.- Returns:
The root filesystem / sysvol when found.
- classmethod create(target: dissect.target.target.Target, sysvol: dissect.target.filesystem.Filesystem) typing_extensions.Self¶
Initiate this OSPlugin with the given target and detected filesystem.
- Parameters:
target – The
Targetobject.sysvol – The filesystem that was detected in the
detect()function.
- Returns:
An instantiated version of the OSPlugin.
- hostname() str | None¶
Return the target’s hostname.
- Returns:
The hostname as string.
- version() str | None¶
Return the target’s OS version.
- Returns:
The OS version as string.
- ips() list[str]¶
Return the IP addresses configured in the target.
- Returns:
The IPs as list.
- users() collections.abc.Iterator[dissect.target.helpers.record.UnixUserRecord]¶
Yield unix user records from passwd files or syslog session logins.
References
- os() str¶
Return a slug of the target’s OS name.
- Returns:
A slug of the OS name, e.g. ‘windows’ or ‘linux’.