dissect.target.helpers.nfs.nfs3

Module Contents

Classes

ProcedureDescriptor

Nfs3Stat

Enum where members are also (and must be) ints

FileHandle3

CookieVerf3

FileType3

Enum where members are also (and must be) ints

SpecData3

NfsTime3

FileAttributes3

MountStat3

Enum where members are also (and must be) ints

MountParams

MountOK

ReadDirPlusParams

EntryPlus3

ReadDirPlusResult3

Read3args

Read3resok

Attributes

class dissect.target.helpers.nfs.nfs3.ProcedureDescriptor

Bases: NamedTuple

program: int
version: int
procedure: int
dissect.target.helpers.nfs.nfs3.GetPortProc
dissect.target.helpers.nfs.nfs3.MountProc
dissect.target.helpers.nfs.nfs3.ReadDirPlusProc
dissect.target.helpers.nfs.nfs3.ReadFileProc
class dissect.target.helpers.nfs.nfs3.Nfs3Stat

Bases: enum.IntEnum

Enum where members are also (and must be) ints

OK = 0
ERR_PERM = 1
ERR_NOENT = 2
ERR_IO = 5
ERR_NXIO = 6
ERR_ACCES = 13
ERR_EXIST = 17
ERR_XDEV = 18
ERR_NODEV = 19
ERR_NOTDIR = 20
ERR_ISDIR = 21
ERR_INVAL = 22
ERR_FBIG = 27
ERR_NOSPC = 28
ERR_ROFS = 30
ERR_NAMETOOLONG = 63
ERR_NOTEMPTY = 66
ERR_DQUOT = 69
ERR_STALE = 70
ERR_REMOTE = 71
ERR_BADHANDLE = 10001
class dissect.target.helpers.nfs.nfs3.FileHandle3
MAXSIZE: ClassVar[int] = 64
opaque: bytes
__post_init__()
class dissect.target.helpers.nfs.nfs3.CookieVerf3
MAXSIZE: ClassVar[int] = 8
opaque: bytes
__post_init__()
class dissect.target.helpers.nfs.nfs3.FileType3

Bases: enum.IntEnum

Enum where members are also (and must be) ints

REG = 1
DIR = 2
BLK = 3
CHR = 4
LNK = 5
SOCK = 6
FIFO = 7
class dissect.target.helpers.nfs.nfs3.SpecData3
specdata1: int
specdata2: int
class dissect.target.helpers.nfs.nfs3.NfsTime3
seconds: int
nseconds: int
class dissect.target.helpers.nfs.nfs3.FileAttributes3
type: FileType3
mode: int
uid: int
gid: int
size: int
used: int
rdev: SpecData3
fsid: int
fileid: int
atime: NfsTime3
mtime: NfsTime3
ctime: NfsTime3
class dissect.target.helpers.nfs.nfs3.MountStat3

Bases: enum.IntEnum

Enum where members are also (and must be) ints

OK = 0
ERR_PERM = 1
ERR_NOENT = 2
ERR_IO = 5
ERR_ACCES = 13
ERR_NOTDIR = 20
ERR_INVAL = 22
ERR_NAMETOOLONG = 63
ERR_NOTSUPP = 10004
ERR_SERVERFAULT = 10006
class dissect.target.helpers.nfs.nfs3.MountParams
dirpath: str
class dissect.target.helpers.nfs.nfs3.MountOK
filehandle: FileHandle3
auth_flavors: list[int]
class dissect.target.helpers.nfs.nfs3.ReadDirPlusParams
dir: FileHandle3
cookie: int
cookieverf: CookieVerf3
dir_count: int
max_count: int
class dissect.target.helpers.nfs.nfs3.EntryPlus3
fileid: int
name: str
cookie: int
attributes: FileAttributes3 | None
handle: FileHandle3 | None
class dissect.target.helpers.nfs.nfs3.ReadDirPlusResult3
dir_attributes: FileAttributes3 | None
cookieverf: CookieVerf3
entries: list[EntryPlus3]
eof: bool
class dissect.target.helpers.nfs.nfs3.Read3args
file: FileHandle3
offset: int
count: int
class dissect.target.helpers.nfs.nfs3.Read3resok
file_attributes: FileAttributes3 | None
count: int
eof: bool
data: bytes