module documentation
This module contains classes and functions related to the operating system (OS) detection feature of Reven:
- The
Os
class is the main class, and is a structural representation of an OS. - The
OsFamily
,Architecture
,WindowsVersion
,KernelVersion
classes model the components of an OS. - The
Os.expect
andOsError
method and class are used for error handling.
See reven2.ossi.Ossi.os
for details and examples.
Class |
|
The CPU architecture for which an OS was designed. |
Class |
|
The version of the kernel. |
Class |
|
Represents information about an operating system (OS), such as the family of the OS (Windows, Linux, ...), its architecture and version. |
Class |
|
Error that is raised when there is an incompatibility between the OS and the expected OS. |
Class |
|
The OS family |
Class |
|
The Windows version. |
Variable |
|
Os | WindowsVersion | OsFamily | KernelVersion | Architecture |
Function | _unpack |
Undocumented |
Function | _unpack |
Undocumented |
Function | _unpack |
Undocumented |
Function | _unpack |
Undocumented |
def _unpack_os_architecture(architecture):
Undocumented
Parameters | |
architecture:reven_api.OsArchi | Undocumented |
Returns | |
Architecture | Undocumented |
def _unpack_os_family(family):
Undocumented
Parameters | |
family:reven_api.OsFamily | Undocumented |
Returns | |
OsFamily | Undocumented |
def _unpack_os_kernel_version(maybe_kernel_version):
Undocumented
Parameters | |
maybereven_api.OptionalKernelVersion | Undocumented |
Returns | |
_Optional[ | Undocumented |
def _unpack_os_version(maybe_os_version):
Undocumented
Parameters | |
maybereven_api.OptionalOsVersionStruct | Undocumented |
Returns | |
_Optional[ | Undocumented |