scapy.contrib.mount

class scapy.contrib.mount.MOUNT_Call(_pkt, /, *, path=<Path  |>)[源代码]

基类: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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              PATH             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. MOUNT_Call                          
MOUNT_Call fields

path

PacketField

<Path  |>

class scapy.contrib.mount.MOUNT_Reply(_pkt, /, *, status=0, filehandle=<File_Object  |>, flavors=0, flavor=[])[源代码]

基类: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          |            FLAVORS            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |             FLAVOR            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. MOUNT_Reply                         
MOUNT_Reply fields

status

IntEnumField

0

filehandle

PacketField (Cond)

<File_Object  |>

flavors

IntField (Cond)

0

flavor

FieldListField (Cond)

[]

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

基类:Packet

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

基类:Packet

aliastypes
fields_desc
class scapy.contrib.mount.Path(_pkt, /, *, length=0, path=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                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              PATH             |              FILL             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                            Fig. Path                             
Path fields

length

IntField

0

path

StrLenField

b''

fill

StrLenField

b''

set(path, length=None, fill=None)[源代码]
class scapy.contrib.mount.UNMOUNT_Call(_pkt, /, *, path=<Path  |>)[源代码]

基类: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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              PATH             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. UNMOUNT_Call                         
UNMOUNT_Call fields

path

PacketField

<Path  |>

class scapy.contrib.mount.UNMOUNT_Reply(_pkt, /)[源代码]

基类:Packet

aliastypes
fields_desc