scapy.contrib.nfs

class scapy.contrib.nfs.ACCESS_Call(_pkt, /, *, filehandle=<File_Object  |>, check_access=1)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |          CHECK ACCESS         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. ACCESS_Call                         
ACCESS_Call fields

filehandle

PacketField

<File_Object  |>

check_access

IntEnumField

1

class scapy.contrib.nfs.ACCESS_Reply(_pkt, /, *, status=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, access_rights=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |         ACCESS RIGHTS         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. ACCESS_Reply                         
ACCESS_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

access_rights

XIntField (Cond)

0

class scapy.contrib.nfs.COMMIT_Call(_pkt, /, *, filehandle=<File_Object  |>, offset=0, count=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |             OFFSET            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             COUNT             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. COMMIT_Call                         
COMMIT_Call fields

filehandle

PacketField

<File_Object  |>

offset

LongField

0

count

IntField

0

class scapy.contrib.nfs.COMMIT_Reply(_pkt, /, *, status=0, af_before=0, attributes_before=<WCC_Attr  |>, af_after=0, attributes_after=<Fattr3  rdev=[0, 0] |>, verifier=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       ATTRIBUTES BEFORE       |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        ATTRIBUTES AFTER       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            VERIFIER                           |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. COMMIT_Reply                         
COMMIT_Reply fields

status

IntEnumField

0

af_before

IntField

0

attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

verifier

XLongField (Cond)

0

class scapy.contrib.nfs.CREATE_Call(_pkt, /, *, dir=<File_Object  |>, filename=<Object_Name  |>, create_mode=None, attributes=<Sattr3  |>, verifier=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              DIR              |            FILENAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          CREATE MODE                          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |            VERIFIER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. CREATE_Call                         
CREATE_Call fields

dir

PacketField

<File_Object  |>

filename

PacketField

<Object_Name  |>

create_mode

IntEnumField

None

attributes

PacketField (Cond)

<Sattr3  |>

verifier

XLongField (Cond)

0

class scapy.contrib.nfs.CREATE_Reply(_pkt, /, *, status=0, handle_follows=0, filehandle=<File_Object  |>, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, af_before=0, dir_attributes_before=<WCC_Attr  |>, af_after=0, dir_attributes_after=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         HANDLE FOLLOWS                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |       ATTRIBUTES FOLLOW       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           ATTRIBUTES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     DIR ATTRIBUTES BEFORE     |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |      DIR ATTRIBUTES AFTER     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. CREATE_Reply                         
CREATE_Reply fields

status

IntEnumField

0

handle_follows

IntField (Cond)

0

filehandle

PacketField (Cond)

<File_Object  |>

attributes_follow

IntField (Cond)

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

af_before

IntField

0

dir_attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

dir_attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.FSINFO_Call(_pkt, /, *, filehandle=<File_Object  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. FSINFO_Call                         
FSINFO_Call fields

filehandle

PacketField

<File_Object  |>

class scapy.contrib.nfs.FSINFO_Reply(_pkt, /, *, status=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, rtmax=0, rtpref=0, rtmult=0, wtmax=0, wtpref=0, wtmult=0, dtpref=0, maxfilesize=0, timedelta_s=0, timedelta_ns=0, properties=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |             RTMAX             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             RTPREF            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             RTMULT            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             WTMAX             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             WTPREF            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             WTMULT            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             DTPREF            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |          MAXFILESIZE          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |          TIMEDELTA S          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |          TIMEDELTA NS         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           PROPERTIES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. FSINFO_Reply                         
FSINFO_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

rtmax

IntField (Cond)

0

rtpref

IntField (Cond)

0

rtmult

IntField (Cond)

0

wtmax

IntField (Cond)

0

wtpref

IntField (Cond)

0

wtmult

IntField (Cond)

0

dtpref

IntField (Cond)

0

maxfilesize

LongField (Cond)

0

timedelta_s

IntField (Cond)

0

timedelta_ns

IntField (Cond)

0

properties

XIntField (Cond)

0

class scapy.contrib.nfs.FSSTAT_Call(_pkt, /, *, filehandle=<File_Object  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. FSSTAT_Call                         
FSSTAT_Call fields

filehandle

PacketField

<File_Object  |>

class scapy.contrib.nfs.FSSTAT_Reply(_pkt, /, *, status=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, tbytes=0, fbytes=0, abytes=0, tfiles=0, ffiles=0, afiles=0, invarsec=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |             TBYTES            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             FBYTES            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             ABYTES            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             TFILES            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             FFILES            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             AFILES            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            INVARSEC           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. FSSTAT_Reply                         
FSSTAT_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

tbytes

LongField (Cond)

0

fbytes

LongField (Cond)

0

abytes

LongField (Cond)

0

tfiles

LongField (Cond)

0

ffiles

LongField (Cond)

0

afiles

LongField (Cond)

0

invarsec

IntField (Cond)

0

class scapy.contrib.nfs.Fattr3(_pkt, /, *, type=0, mode=0, nlink=0, uid=0, gid=0, size=0, used=0, rdev=[0, 0], fsid=0, fileid=0, atime_s=0, atime_ns=0, mtime_s=0, mtime_ns=0, ctime_s=0, ctime_ns=0)[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              TYPE                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              MODE                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             NLINK                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              UID                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              GID                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              SIZE                             |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              USED                             |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              RDEV             |              FSID             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             FILEID            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            ATIME S            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            ATIME NS           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            MTIME S            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            MTIME NS           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            CTIME S            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            CTIME NS           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                           Fig. Fattr3                            
Fattr3 fields

type

IntEnumField

0

mode

OIntField

0

nlink

IntField

0

uid

IntField

0

gid

IntField

0

size

LongField

0

used

LongField

0

rdev

FieldListField

[0, 0]

fsid

XLongField

0

fileid

XLongField

0

atime_s

IntField

0

atime_ns

IntField

0

mtime_s

IntField

0

mtime_ns

IntField

0

ctime_s

IntField

0

ctime_ns

IntField

0

class scapy.contrib.nfs.File_From_Dir(_pkt, /, *, fileid=0, filename=<Object_Name  |>, cookie=0, value_follows=0)[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             FILEID                            |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            FILENAME           |             COOKIE            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |         VALUE FOLLOWS         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. File_From_Dir                        
File_From_Dir fields

fileid

LongField

0

filename

PacketField

<Object_Name  |>

cookie

LongField

0

value_follows

IntField

0

class scapy.contrib.nfs.File_From_Dir_Plus(_pkt, /, *, fileid=0, filename=<Object_Name  |>, cookie=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, handle_follows=0, filehandle=<File_Object  |>, value_follows=0)[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             FILEID                            |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            FILENAME           |             COOKIE            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |       ATTRIBUTES FOLLOW       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           ATTRIBUTES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         HANDLE FOLLOWS                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |         VALUE FOLLOWS         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                     Fig. File_From_Dir_Plus                      
File_From_Dir_Plus fields

fileid

LongField

0

filename

PacketField

<Object_Name  |>

cookie

LongField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

handle_follows

IntField

0

filehandle

PacketField (Cond)

<File_Object  |>

value_follows

IntField

0

class scapy.contrib.nfs.File_Object(_pkt, /, *, length=0, fh=b'', fill=b'')[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             LENGTH                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               FH              |              FILL             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. File_Object                         
File_Object fields

length

IntField

0

fh

StrLenField

b''

fill

StrLenField

b''

set(new_filehandle, length=None, fill=None)[源代码]
class scapy.contrib.nfs.GETATTR_Call(_pkt, /, *, filehandle=<File_Object  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. GETATTR_Call                         
GETATTR_Call fields

filehandle

PacketField

<File_Object  |>

class scapy.contrib.nfs.GETATTR_Reply(_pkt, /, *, status=0, attributes=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. GETATTR_Reply                        
GETATTR_Reply fields

status

IntEnumField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

基类:Packet

Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |            LINK DIR           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           LINK NAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. LINK_Call                          
LINK_Call fields

filehandle

PacketField

<File_Object  |>

link_dir

PacketField

<File_Object  |>

link_name

PacketField

<Object_Name  |>

基类:Packet

Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            AF FILE                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|        FILE ATTRIBUTES        |         AF LINK BEFORE        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |     LINK ATTRIBUTES BEFORE    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         AF LINK AFTER                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     LINK ATTRIBUTES AFTER     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. LINK_Reply                          
LINK_Reply fields

status

IntEnumField

0

af_file

IntField

0

file_attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

af_link_before

IntField

0

link_attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_link_after

IntField

0

link_attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.LOOKUP_Call(_pkt, /, *, dir=<File_Object  |>, filename=<Object_Name  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              DIR              |            FILENAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. LOOKUP_Call                         
LOOKUP_Call fields

dir

PacketField

<File_Object  |>

filename

PacketField

<Object_Name  |>

class scapy.contrib.nfs.LOOKUP_Reply(_pkt, /, *, status=0, filehandle=<File_Object  |>, af_file=0, file_attributes=<Fattr3  rdev=[0, 0] |>, af_dir=0, dir_attributes=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |            AF FILE            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        FILE ATTRIBUTES        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             AF DIR                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         DIR ATTRIBUTES        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. LOOKUP_Reply                         
LOOKUP_Reply fields

status

IntEnumField

0

filehandle

PacketField (Cond)

<File_Object  |>

af_file

IntField (Cond)

0

file_attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

af_dir

IntField

0

dir_attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.MKDIR_Call(_pkt, /, *, dir=<File_Object  |>, dir_name=<Object_Name  |>, attributes=<Sattr3  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              DIR              |            DIR NAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. MKDIR_Call                          
MKDIR_Call fields

dir

PacketField

<File_Object  |>

dir_name

PacketField

<Object_Name  |>

attributes

PacketField

<Sattr3  |>

class scapy.contrib.nfs.MKDIR_Reply(_pkt, /, *, status=0, handle_follows=0, filehandle=<File_Object  |>, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, af_before=0, dir_attributes_before=<WCC_Attr  |>, af_after=0, dir_attributes_after=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         HANDLE FOLLOWS                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |       ATTRIBUTES FOLLOW       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           ATTRIBUTES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     DIR ATTRIBUTES BEFORE     |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |      DIR ATTRIBUTES AFTER     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. MKDIR_Reply                         
MKDIR_Reply fields

status

IntEnumField

0

handle_follows

IntField (Cond)

0

filehandle

PacketField (Cond)

<File_Object  |>

attributes_follow

IntField (Cond)

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

af_before

IntField

0

dir_attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

dir_attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.NULL_Call(_pkt, /)[源代码]

基类:Packet

aliastypes
fields_desc
class scapy.contrib.nfs.NULL_Reply(_pkt, /)[源代码]

基类:Packet

aliastypes
fields_desc
class scapy.contrib.nfs.OIntField(name: str, default: int | None)[源代码]

基类:IntField

IntField child with octal representation

i2repr(pkt, x)[源代码]
class scapy.contrib.nfs.PATHCONF_Call(_pkt, /, *, filehandle=<File_Object  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. PATHCONF_Call                        
PATHCONF_Call fields

filehandle

PacketField

<File_Object  |>

class scapy.contrib.nfs.PATHCONF_Reply(_pkt, /, *, status=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, linkmax=0, name_max=0, no_trunc=0, chown_restricted=0, case_insensitive=0, case_preserving=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |            LINKMAX            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            NAME MAX           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            NO TRUNC           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        CHOWN RESTRICTED       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        CASE INSENSITIVE       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        CASE PRESERVING        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. PATHCONF_Reply                        
PATHCONF_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

linkmax

IntField (Cond)

0

name_max

IntField (Cond)

0

no_trunc

IntEnumField (Cond)

0

chown_restricted

IntEnumField (Cond)

0

case_insensitive

IntEnumField (Cond)

0

case_preserving

IntEnumField (Cond)

0

class scapy.contrib.nfs.READDIRPLUS_Call(_pkt, /, *, filehandle=<File_Object  |>, cookie=0, verifier=0, dircount=512, maxcount=4096)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |             COOKIE            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            VERIFIER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            DIRCOUNT           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            MAXCOUNT           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. READDIRPLUS_Call                       
READDIRPLUS_Call fields

filehandle

PacketField

<File_Object  |>

cookie

LongField

0

verifier

LongField

0

dircount

IntField

512

maxcount

IntField

4096

class scapy.contrib.nfs.READDIRPLUS_Reply(_pkt, /, *, status=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, verifier=0, value_follows=0, files=[], eof=0)[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |            VERIFIER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |         VALUE FOLLOWS         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             FILES             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              EOF                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. READDIRPLUS_Reply                      
READDIRPLUS_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

verifier

LongField (Cond)

0

value_follows

IntField (Cond)

0

files

PacketListField (Cond)

[]

eof

IntField (Cond)

0

class scapy.contrib.nfs.READDIR_Call(_pkt, /, *, filehandle=<File_Object  |>, cookie=0, verifier=0, count=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |             COOKIE            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            VERIFIER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             COUNT             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. READDIR_Call                         
READDIR_Call fields

filehandle

PacketField

<File_Object  |>

cookie

LongField

0

verifier

XLongField

0

count

IntField

0

class scapy.contrib.nfs.READDIR_Reply(_pkt, /, *, status=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, verifier=0, value_follows=0, files=[], eof=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |            VERIFIER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |         VALUE FOLLOWS         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             FILES             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              EOF                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. READDIR_Reply                        
READDIR_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

verifier

XLongField (Cond)

0

value_follows

IntField (Cond)

0

files

PacketListField (Cond)

[]

eof

IntField (Cond)

0

基类:Packet

Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. READLINK_Call                        
READLINK_Call fields

filehandle

PacketField

<File_Object  |>

基类:Packet

Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |            FILENAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. READLINK_Reply                        
READLINK_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

filename

PacketField (Cond)

<Object_Name  |>

class scapy.contrib.nfs.READ_Call(_pkt, /, *, filehandle=<File_Object  |>, offset=0, count=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |             OFFSET            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             COUNT             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. READ_Call                          
READ_Call fields

filehandle

PacketField

<File_Object  |>

offset

LongField

0

count

IntField

0

class scapy.contrib.nfs.READ_Reply(_pkt, /, *, status=0, attributes_follow=0, attributes=<Fattr3  rdev=[0, 0] |>, count=0, eof=0, data_length=0, data=b'', fill=b'')[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                       ATTRIBUTES FOLLOW                       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |             COUNT             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |              EOF              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |          DATA LENGTH          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |              DATA             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              FILL             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. READ_Reply                          
READ_Reply fields

status

IntEnumField

0

attributes_follow

IntField

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

count

IntField (Cond)

0

eof

IntField (Cond)

0

data_length

IntField (Cond)

0

data

StrLenField (Cond)

b''

fill

StrLenField (Cond)

b''

class scapy.contrib.nfs.REMOVE_Call(_pkt, /, *, dir=<File_Object  |>, filename=<Object_Name  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              DIR              |            FILENAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. REMOVE_Call                         
REMOVE_Call fields

dir

PacketField

<File_Object  |>

filename

PacketField

<Object_Name  |>

class scapy.contrib.nfs.REMOVE_Reply(_pkt, /, *, status=0, af_before=0, attributes_before=<WCC_Attr  |>, af_after=0, attributes_after=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       ATTRIBUTES BEFORE       |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        ATTRIBUTES AFTER       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. REMOVE_Reply                         
REMOVE_Reply fields

status

IntEnumField

0

af_before

IntField

0

attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.RENAME_Call(_pkt, /, *, dir_from=<File_Object  |>, name_from=<Object_Name  |>, dir_to=<File_Object  |>, name_to=<Object_Name  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            DIR FROM           |           NAME FROM           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             DIR TO            |            NAME TO            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. RENAME_Call                         
RENAME_Call fields

dir_from

PacketField

<File_Object  |>

name_from

PacketField

<Object_Name  |>

dir_to

PacketField

<File_Object  |>

name_to

PacketField

<Object_Name  |>

class scapy.contrib.nfs.RENAME_Reply(_pkt, /, *, status=0, af_before_f=0, attributes_before_f=<WCC_Attr  |>, af_after_f=0, attributes_after_f=<Fattr3  rdev=[0, 0] |>, af_before_t=0, attributes_before_t=<WCC_Attr  |>, af_after_t=0, attributes_after_t=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          AF BEFORE F                          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      ATTRIBUTES BEFORE F      |           AF AFTER F          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |       ATTRIBUTES AFTER F      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          AF BEFORE T                          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      ATTRIBUTES BEFORE T      |           AF AFTER T          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |       ATTRIBUTES AFTER T      |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. RENAME_Reply                         
RENAME_Reply fields

status

IntEnumField

0

af_before_f

IntField

0

attributes_before_f

PacketField (Cond)

<WCC_Attr  |>

af_after_f

IntField

0

attributes_after_f

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

af_before_t

IntField

0

attributes_before_t

PacketField (Cond)

<WCC_Attr  |>

af_after_t

IntField

0

attributes_after_t

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.RMDIR_Call(_pkt, /, *, dir=<File_Object  |>, filename=<Object_Name  |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              DIR              |            FILENAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. RMDIR_Call                          
RMDIR_Call fields

dir

PacketField

<File_Object  |>

filename

PacketField

<Object_Name  |>

class scapy.contrib.nfs.RMDIR_Reply(_pkt, /, *, status=0, af_before=0, attributes_before=<WCC_Attr  |>, af_after=0, attributes_after=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       ATTRIBUTES BEFORE       |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        ATTRIBUTES AFTER       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. RMDIR_Reply                         
RMDIR_Reply fields

status

IntEnumField

0

af_before

IntField

0

attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.SETATTR_Call(_pkt, /, *, filehandle=<File_Object  |>, attributes=<Sattr3  |>, check=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |           ATTRIBUTES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             CHECK                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. SETATTR_Call                         
SETATTR_Call fields

filehandle

PacketField

<File_Object  |>

attributes

PacketField

<Sattr3  |>

check

IntField

0

class scapy.contrib.nfs.SETATTR_Reply(_pkt, /, *, status=0, af_before=0, attributes_before=<WCC_Attr  |>, af_after=0, attributes_after=<Fattr3  rdev=[0, 0] |>)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       ATTRIBUTES BEFORE       |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        ATTRIBUTES AFTER       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. SETATTR_Reply                        
SETATTR_Reply fields

status

IntEnumField

0

af_before

IntField

0

attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

基类:Packet

Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              DIR              |            DIR NAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           ATTRIBUTES          |           LINK NAME           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. SYMLINK_Call                         
SYMLINK_Call fields

dir

PacketField

<File_Object  |>

dir_name

PacketField

<Object_Name  |>

attributes

PacketField

<Sattr3  |>

link_name

PacketField

<Object_Name  |>

基类:Packet

Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         HANDLE FOLLOWS                        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |       ATTRIBUTES FOLLOW       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           ATTRIBUTES          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|     DIR ATTRIBUTES BEFORE     |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |      DIR ATTRIBUTES AFTER     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. SYMLINK_Reply                        
SYMLINK_Reply fields

status

IntEnumField

0

handle_follows

IntField (Cond)

0

filehandle

PacketField (Cond)

<File_Object  |>

attributes_follow

IntField (Cond)

0

attributes

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

af_before

IntField

0

dir_attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

dir_attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

class scapy.contrib.nfs.Sattr3(_pkt, /, *, set_mode=0, mode=0, set_uid=0, uid=0, set_gid=0, gid=0, set_size=0, size=0, set_atime=0, atime_s=0, atime_ns=0, set_mtime=0, mtime_s=0, mtime_ns=0)[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            SET MODE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              MODE                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            SET UID                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              UID                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            SET GID                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              GID                              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            SET SIZE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              SIZE                             |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           SET ATIME                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            ATIME S                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            ATIME NS                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           SET MTIME                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            MTIME S                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            MTIME NS                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                           Fig. Sattr3                            
Sattr3 fields

set_mode

IntEnumField

0

mode

OIntField (Cond)

0

set_uid

IntEnumField

0

uid

IntField (Cond)

0

set_gid

IntEnumField

0

gid

IntField (Cond)

0

set_size

IntEnumField

0

size

LongField (Cond)

0

set_atime

IntEnumField

0

atime_s

IntField (Cond)

0

atime_ns

IntField (Cond)

0

set_mtime

IntEnumField

0

mtime_s

IntField (Cond)

0

mtime_ns

IntField (Cond)

0

class scapy.contrib.nfs.WCC_Attr(_pkt, /, *, size=0, mtime_s=0, mtime_ns=0, ctime_s=0, ctime_ns=0)[源代码]

基类:Packet

aliastypes
extract_padding(s)[源代码]
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              SIZE                             |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            MTIME S                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            MTIME NS                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            CTIME S                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            CTIME NS                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. WCC_Attr                           
WCC_Attr fields

size

LongField

0

mtime_s

IntField

0

mtime_ns

IntField

0

ctime_s

IntField

0

ctime_ns

IntField

0

class scapy.contrib.nfs.WRITE_Call(_pkt, /, *, filehandle=<File_Object  |>, offset=0, count=0, stable=0, length=0, contents=b'', fill=b'')[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FILEHANDLE          |             OFFSET            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             COUNT             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             STABLE            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             LENGTH            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            CONTENTS           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              FILL             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. WRITE_Call                          
WRITE_Call fields

filehandle

PacketField

<File_Object  |>

offset

LongField

0

count

IntField

0

stable

IntEnumField

0

length

IntField

0

contents

StrLenField

b''

fill

StrLenField

b''

class scapy.contrib.nfs.WRITE_Reply(_pkt, /, *, status=0, af_before=0, attributes_before=<WCC_Attr  |>, af_after=0, attributes_after=<Fattr3  rdev=[0, 0] |>, count=0, committed=0, verifier=0)[源代码]

基类:Packet

aliastypes
fields_desc
Display RFC-like schema
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             STATUS                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           AF BEFORE                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|       ATTRIBUTES BEFORE       |            AF AFTER           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |        ATTRIBUTES AFTER       |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             COUNT                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           COMMITTED                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            VERIFIER                           |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. WRITE_Reply                         
WRITE_Reply fields

status

IntEnumField

0

af_before

IntField

0

attributes_before

PacketField (Cond)

<WCC_Attr  |>

af_after

IntField

0

attributes_after

PacketField (Cond)

<Fattr3  rdev=[0, 0] |>

count

IntField (Cond)

0

committed

IntEnumField (Cond)

0

verifier

XLongField (Cond)

0

scapy.contrib.nfs.loct(x)[源代码]