dissect.target.helpers.sunrpc.sunrpc
¶
Module Contents¶
Classes¶
Enum where members are also (and must be) ints |
|
Enum where members are also (and must be) ints |
|
Enum where members are also (and must be) ints |
|
Enum where members are also (and must be) ints |
|
Abstract base class for generic types. |
|
Abstract base class for generic types. |
|
Abstract base class for generic types. |
|
Enum where members are also (and must be) ints |
|
Attributes¶
- class dissect.target.helpers.sunrpc.sunrpc.Bool¶
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- FALSE = 0¶
- TRUE = 1¶
- class dissect.target.helpers.sunrpc.sunrpc.AcceptStat¶
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- SUCCESS = 0¶
- PROG_UNAVAIL = 1¶
- PROG_MISMATCH = 2¶
- PROC_UNAVAIL = 3¶
- GARBAGE_ARGS = 4¶
- class dissect.target.helpers.sunrpc.sunrpc.RejectStat¶
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- RPC_MISMATCH = 0¶
- AUTH_ERROR = 1¶
- class dissect.target.helpers.sunrpc.sunrpc.AuthStat¶
Bases:
enum.IntEnum
Enum where members are also (and must be) ints
- AUTH_BADCRED = 1¶
- AUTH_REJECTEDCRED = 2¶
- AUTH_BADVERF = 3¶
- AUTH_REJECTEDVERF = 4¶
- AUTH_TOOWEAK = 5¶
- dissect.target.helpers.sunrpc.sunrpc.ProcedureParams¶
- dissect.target.helpers.sunrpc.sunrpc.ProcedureResults¶
- dissect.target.helpers.sunrpc.sunrpc.Credentials¶
- dissect.target.helpers.sunrpc.sunrpc.Verifier¶
- class dissect.target.helpers.sunrpc.sunrpc.AuthNull¶
- class dissect.target.helpers.sunrpc.sunrpc.AuthUnix¶
- stamp: int¶
- machinename: str¶
- uid: int¶
- gid: int¶
- gids: list[int]¶
- __post_init__()¶
- class dissect.target.helpers.sunrpc.sunrpc.CallBody¶
Bases:
Generic
[ProcedureParams
,Credentials
,Verifier
]Abstract base class for generic types.
A generic type is typically declared by inheriting from this class parameterized with one or more type variables. For example, a generic mapping type might be defined as:
class Mapping(Generic[KT, VT]): def __getitem__(self, key: KT) -> VT: ... # Etc.
This class can then be used as follows:
def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT: try: return mapping[key] except KeyError: return default
- program: int¶
- version: int¶
- procedure: int¶
- cred: Credentials¶
- verf: Verifier¶
- params: ProcedureParams¶
- rpc_version: int = 2¶
- class dissect.target.helpers.sunrpc.sunrpc.AcceptedReply¶
Bases:
Generic
[ProcedureResults
,Verifier
]Abstract base class for generic types.
A generic type is typically declared by inheriting from this class parameterized with one or more type variables. For example, a generic mapping type might be defined as:
class Mapping(Generic[KT, VT]): def __getitem__(self, key: KT) -> VT: ... # Etc.
This class can then be used as follows:
def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT: try: return mapping[key] except KeyError: return default
- verf: Verifier¶
- stat: AcceptStat¶
- class dissect.target.helpers.sunrpc.sunrpc.RejectedReply¶
- stat: RejectStat¶
- class dissect.target.helpers.sunrpc.sunrpc.Message¶
Bases:
Generic
[ProcedureParams
,ProcedureResults
,Credentials
,Verifier
]Abstract base class for generic types.
A generic type is typically declared by inheriting from this class parameterized with one or more type variables. For example, a generic mapping type might be defined as:
class Mapping(Generic[KT, VT]): def __getitem__(self, key: KT) -> VT: ... # Etc.
This class can then be used as follows:
def lookup_name(mapping: Mapping[KT, VT], key: KT, default: VT) -> VT: try: return mapping[key] except KeyError: return default
- xid: int¶
- body: CallBody[ProcedureParams, Credentials, Verifier] | AcceptedReply[ProcedureResults, Verifier] | RejectedReply¶