dissect.target.helpers.nfs.nfs3

Module Contents

Classes

NfsStat

Enum where members are also (and must be) ints

FileHandle

CookieVerf

FileType

Enum where members are also (and must be) ints

SpecData

NfsTime

FileAttributes

MountStat

Enum where members are also (and must be) ints

MountOK

ReadDirPlusParams

EntryPlus

ReadDirPlusResult

ReadParams

ReadResult

DirOpArgs

LookupResult

ReadlinkResult

Attributes

dissect.target.helpers.nfs.nfs3.NfsProgram = 100003
dissect.target.helpers.nfs.nfs3.MountProgram = 100005
dissect.target.helpers.nfs.nfs3.NfsVersion = 3
dissect.target.helpers.nfs.nfs3.MountProc
dissect.target.helpers.nfs.nfs3.ReadDirPlusProc
dissect.target.helpers.nfs.nfs3.ReadFileProc
dissect.target.helpers.nfs.nfs3.LookupProc
dissect.target.helpers.nfs.nfs3.GetAttrProc
dissect.target.helpers.nfs.nfs3.ReadLinkProc
class dissect.target.helpers.nfs.nfs3.NfsStat

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.FileHandle
MAXSIZE: ClassVar[int] = 64
opaque: bytes
__post_init__()
class dissect.target.helpers.nfs.nfs3.CookieVerf
MAXSIZE: ClassVar[int] = 8
opaque: bytes
__post_init__()
class dissect.target.helpers.nfs.nfs3.FileType

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.SpecData
specdata1: int
specdata2: int
class dissect.target.helpers.nfs.nfs3.NfsTime
seconds: int
nseconds: int
class dissect.target.helpers.nfs.nfs3.FileAttributes
type: FileType
mode: int
uid: int
gid: int
size: int
used: int
rdev: SpecData
fsid: int
fileid: int
atime: NfsTime
mtime: NfsTime
ctime: NfsTime
class dissect.target.helpers.nfs.nfs3.MountStat

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.MountOK
filehandle: FileHandle
auth_flavors: list[int]
class dissect.target.helpers.nfs.nfs3.ReadDirPlusParams
dir: FileHandle
cookie: int
cookieverf: CookieVerf
dir_count: int
max_count: int
class dissect.target.helpers.nfs.nfs3.EntryPlus
fileid: int
name: str
cookie: int
attributes: FileAttributes | None
handle: FileHandle | None
class dissect.target.helpers.nfs.nfs3.ReadDirPlusResult
dir_attributes: FileAttributes | None
cookieverf: CookieVerf
entries: list[EntryPlus]
eof: bool
class dissect.target.helpers.nfs.nfs3.ReadParams
file: FileHandle
offset: int
count: int
class dissect.target.helpers.nfs.nfs3.ReadResult
file_attributes: FileAttributes | None
count: int
eof: bool
data: bytes
class dissect.target.helpers.nfs.nfs3.DirOpArgs
handle: FileHandle
filename: str
class dissect.target.helpers.nfs.nfs3.LookupResult
object: FileHandle
obj_attributes: FileAttributes | None
dir_attributes: FileAttributes | None
class dissect.target.helpers.nfs.nfs3.ReadlinkResult
obj_attributes: FileAttributes | None
target: str