scapy.contrib.opc_da

Opc Data Access

Spec: Google 'OPCDA3.00.pdf'

RPC PDU encodings: - DCE 1.1 RPC: https://pubs.opengroup.org/onlinepubs/9629399/toc.pdf - http://pubs.opengroup.org/onlinepubs/9629399/chap12.htm

DCOM Remote Protocol. [MS-DCOM]: Distributed Component Object Model (DCOM) Remote Protocol https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-dcom/4a893f3d-bd29-48cd-9f43-d9777a4415b0 XXX TODO: does not appear to have been linked to RPC

class scapy.contrib.opc_da.AV_PAIR(_pkt, /, *, avID=2, avLen=0, value=b'')[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              AVID             |             AVLEN             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                           Fig. AV_PAIR                           
AV_PAIR fields

avID

ShortEnumField

2

avLen

ShortField

0

value

StrLenField

b''

class scapy.contrib.opc_da.AV_PAIRLE(_pkt, /, *, avID=2, avLen=0, value=b'')[源代码]

基类:AV_PAIR

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              AVID             |             AVLEN             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             VALUE             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. AV_PAIRLE                          
AV_PAIRLE fields

avID

ShortEnumField

2

avLen

ShortField

0

value

StrLenField

b''

class scapy.contrib.opc_da.AuthentificationProtocol(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
guess_payload_class(payload)[源代码]
class scapy.contrib.opc_da.ContextElement(_pkt, /, *, contxtId=0, nbTransferSyn=0, reserved=0, abstractSyntax=None, transferSyntax=[])[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            CONTXTID           | NBTRANSFERSYN |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         ABSTRACTSYNTAX        |         TRANSFERSYNTAX        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. ContextElement                        
ContextElement fields

contxtId

ShortField

0

nbTransferSyn

ByteField

0

reserved

ByteField

0

abstractSyntax

PacketField

None

transferSyntax

PacketListField

[]

class scapy.contrib.opc_da.ContextElementLE(_pkt, /, *, contxtId=0, nbTransferSyn=0, reserved=0, abstractSyntax=None, transferSyntax=[])[源代码]

基类:ContextElement

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            CONTXTID           | NBTRANSFERSYN |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         ABSTRACTSYNTAX        |         TRANSFERSYNTAX        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. ContextElementLE                       
ContextElementLE fields

contxtId

ShortField

0

nbTransferSyn

ByteField

0

reserved

ByteField

0

abstractSyntax

PacketField

None

transferSyntax

PacketListField

[]

class scapy.contrib.opc_da.DualStringArray(_pkt, /, *, wNumEntries=0, wSecurityOffset=0, StringBinding=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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          WNUMENTRIES          |        WSECURITYOFFSET        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         STRINGBINDING         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. DualStringArray                       
DualStringArray fields

wNumEntries

ShortField

0

wSecurityOffset

ShortField

0

StringBinding

StrFixedLenField

b''

class scapy.contrib.opc_da.DualStringArrayLE(_pkt, /, *, wNumEntries=0, wSecurityOffset=0, StringBinding=b'')[源代码]

基类:DualStringArray

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          WNUMENTRIES          |        WSECURITYOFFSET        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         STRINGBINDING         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. DualStringArrayLE                      
DualStringArrayLE fields

wNumEntries

ShortField

0

wSecurityOffset

ShortField

0

StringBinding

StrFixedLenField

b''

class scapy.contrib.opc_da.IRemoteSCMActivator_RemoteCreateInstance(_pkt, /, *, versionMajor=0, versionMinor=0, flag=1, reserved=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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          VERSIONMAJOR         |          VERSIONMINOR         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              FLAG                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            RESERVED                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

          Fig. IRemoteSCMActivator_RemoteCreateInstance           
IRemoteSCMActivator_RemoteCreateInstance fields

versionMajor

ShortField

0

versionMinor

ShortField

0

flag

IntEnumField

1

reserved

IntField

0

guess_payload_class(payload)[源代码]
class scapy.contrib.opc_da.IRemoteSCMActivator_RemoteCreateInstanceLE(_pkt, /, *, versionMajor=0, versionMinor=0, flag=1, reserved=0)[源代码]

基类:IRemoteSCMActivator_RemoteCreateInstance

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          VERSIONMAJOR         |          VERSIONMINOR         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              FLAG                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            RESERVED                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

         Fig. IRemoteSCMActivator_RemoteCreateInstanceLE          
IRemoteSCMActivator_RemoteCreateInstanceLE fields

versionMajor

ShortField

0

versionMinor

ShortField

0

flag

IntEnumField

1

reserved

IntField

0

class scapy.contrib.opc_da.LenStringPacket(_pkt, /, *, length=0, data=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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            |              DATA             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. LenStringPacket                       
LenStringPacket fields

length

FieldLenField

0

data

MultipleTypeField (StrFixedLenField, StrLenField)

b''

class scapy.contrib.opc_da.LenStringPacketLE(_pkt, /, *, length=0, data=b'')[源代码]

基类:LenStringPacket

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|             LENGTH            |              DATA             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. LenStringPacketLE                      
LenStringPacketLE fields

length

FieldLenField

0

data

StrLenField

b''

class scapy.contrib.opc_da.OBJREF_CUSTOM(_pkt, /, *, clsid=UUID('00010001-0001-0001-0001-000100010001'), cbExtension=0, reserved=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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             CLSID                             |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          CBEXTENSION                          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            RESERVED                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OBJREF_CUSTOM                        
OBJREF_CUSTOM fields

clsid

UUIDField

UUID('00010001-0001-0001-0001-000100010001')

cbExtension

IntField

0

reserved

IntField

0

class scapy.contrib.opc_da.OBJREF_CUSTOMLE(_pkt, /, *, clsid=UUID('00010001-0001-0001-0001-000100010001'), cbExtension=0, reserved=0)[源代码]

基类:OBJREF_CUSTOM

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             CLSID                             |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          CBEXTENSION                          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            RESERVED                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OBJREF_CUSTOMLE                       
OBJREF_CUSTOMLE fields

clsid

UUIDField

UUID('00010001-0001-0001-0001-000100010001')

cbExtension

IntField

0

reserved

IntField

0

class scapy.contrib.opc_da.OBJREF_EXTENDED(_pkt, /)[源代码]

基类:Packet

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

基类:OBJREF_EXTENDED

aliastypes
fields_desc
class scapy.contrib.opc_da.OBJREF_HANDLER(_pkt, /, *, std=None, clsid=UUID('00010001-0001-0001-0001-000100010001'), saResAddr=None)[源代码]

基类: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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              STD              |             CLSID             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           SARESADDR           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OBJREF_HANDLER                        
OBJREF_HANDLER fields

std

PacketField

None

clsid

UUIDField

UUID('00010001-0001-0001-0001-000100010001')

saResAddr

PacketField

None

class scapy.contrib.opc_da.OBJREF_HANDLERLE(_pkt, /, *, std=None, clsid=UUID('00010001-0001-0001-0001-000100010001'), saResAddr=None)[源代码]

基类:OBJREF_HANDLER

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              STD              |             CLSID             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                               +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           SARESADDR           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. OBJREF_HANDLERLE                       
OBJREF_HANDLERLE fields

std

PacketField

None

clsid

UUIDField

UUID('00010001-0001-0001-0001-000100010001')

saResAddr

PacketField

None

class scapy.contrib.opc_da.OBJREF_STANDARD(_pkt, /, *, std=None, saResAddr=None)[源代码]

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

                       Fig. OBJREF_STANDARD                       
OBJREF_STANDARD fields

std

PacketField

None

saResAddr

PacketField

None

class scapy.contrib.opc_da.OBJREF_STANDARDLE(_pkt, /, *, std=None, saResAddr=None)[源代码]

基类:OBJREF_STANDARD

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              STD              |           SARESADDR           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. OBJREF_STANDARDLE                      
OBJREF_STANDARDLE fields

std

PacketField

None

saResAddr

PacketField

None

class scapy.contrib.opc_da.OPCHandle(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
class scapy.contrib.opc_da.OpcDaAck(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
class scapy.contrib.opc_da.OpcDaAlter_Context_Resp(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0, portSpec=b'\x00\x00\x00\x00', pad2=0, resultList=None, authentication=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            PORTSPEC           |              PAD2             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           RESULTLIST          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                   Fig. OpcDaAlter_Context_Resp                   
OpcDaAlter_Context_Resp fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

portSpec

PacketField

b'\x00\x00\x00\x00'

pad2

IntField

0

resultList

PacketField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaAlter_Context_RespLE(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0, portSpec=b'\x00\x00\x00\x00', pad2=0, resultList=None, authentication=None)[源代码]

基类:OpcDaAlter_Context_Resp

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            PORTSPEC           |              PAD2             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           RESULTLIST          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                  Fig. OpcDaAlter_Context_RespLE                  
OpcDaAlter_Context_RespLE fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

portSpec

PacketField

b'\x00\x00\x00\x00'

pad2

IntField

0

resultList

PacketField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaAlter_context(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                     Fig. OpcDaAlter_context                      
OpcDaAlter_context fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

class scapy.contrib.opc_da.OpcDaAlter_contextLE(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0)[源代码]

基类:OpcDaAlter_context

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                    Fig. OpcDaAlter_contextLE                     
OpcDaAlter_contextLE fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

class scapy.contrib.opc_da.OpcDaAuth3(_pkt, /, *, code=5840, code2=5840, authType=10, authLevel=2, authPadLen=0, authReserved=0, authContextId=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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              CODE             |             CODE2             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    AUTHTYPE   |   AUTHLEVEL   |   AUTHPADLEN  |  AUTHRESERVED |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         AUTHCONTEXTID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. OpcDaAuth3                          
OpcDaAuth3 fields

code

ShortField

5840

code2

ShortField

5840

authType

ByteField

10

authLevel

ByteField

2

authPadLen

ByteField

0

authReserved

ByteField

0

authContextId

IntField

0

guess_payload_class(payload)[源代码]
class scapy.contrib.opc_da.OpcDaAuth3LE(_pkt, /, *, code=5840, code2=5840, authType=10, authLevel=2, authPadLen=0, authReserved=0, authContextId=0)[源代码]

基类:OpcDaAuth3

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              CODE             |             CODE2             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    AUTHTYPE   |   AUTHLEVEL   |   AUTHPADLEN  |  AUTHRESERVED |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         AUTHCONTEXTID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaAuth3LE                         
OpcDaAuth3LE fields

code

ShortField

5840

code2

ShortField

5840

authType

ByteField

10

authLevel

ByteField

2

authPadLen

ByteField

0

authReserved

ByteField

0

authContextId

IntField

0

class scapy.contrib.opc_da.OpcDaBind(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0, nbContextElement=1, reserved=0, reserved2=0, contextItem=[], authentication=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|NBCONTEXTELEMEN|    RESERVED   |           RESERVED2           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          CONTEXTITEM          |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. OpcDaBind                          
OpcDaBind fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

nbContextElement

ByteField

1

reserved

ByteField

0

reserved2

ShortField

0

contextItem

PacketListField

[]

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaBindLE(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0, nbContextElement=1, reserved=0, reserved2=0, contextItem=[], authentication=None)[源代码]

基类:OpcDaBind

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|NBCONTEXTELEMEN|    RESERVED   |           RESERVED2           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          CONTEXTITEM          |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. OpcDaBindLE                         
OpcDaBindLE fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

nbContextElement

ByteField

1

reserved

ByteField

0

reserved2

ShortField

0

contextItem

PacketListField

[]

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaBind_ack(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0, portSpec=b'\x00\x00\x00\x00', pad2=0, resultList=None, authentication=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            PORTSPEC           |              PAD2             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           RESULTLIST          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaBind_ack                        
OpcDaBind_ack fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

portSpec

PacketField

b'\x00\x00\x00\x00'

pad2

IntField

0

resultList

PacketField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaBind_ackLE(_pkt, /, *, maxXmitFrag=5840, maxRecvtFrag=5840, assocGroupId=0, portSpec=b'\x00\x00\x00\x00', pad2=0, resultList=None, authentication=None)[源代码]

基类:OpcDaBind_ack

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          MAXXMITFRAG          |          MAXRECVTFRAG         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          ASSOCGROUPID                         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            PORTSPEC           |              PAD2             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |           RESULTLIST          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OpcDaBind_ackLE                       
OpcDaBind_ackLE fields

maxXmitFrag

ShortField

5840

maxRecvtFrag

ShortField

5840

assocGroupId

IntField

0

portSpec

PacketField

b'\x00\x00\x00\x00'

pad2

IntField

0

resultList

PacketField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaBind_nak(_pkt, /, *, providerRejectReason=0)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      PROVIDERREJECTREASON     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaBind_nak                        
OpcDaBind_nak fields

providerRejectReason

ShortEnumField

0

class scapy.contrib.opc_da.OpcDaBind_nakLE(_pkt, /, *, providerRejectReason=0)[源代码]

基类:OpcDaBind_nak

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|      PROVIDERREJECTREASON     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OpcDaBind_nakLE                       
OpcDaBind_nakLE fields

providerRejectReason

ShortEnumField

0

class scapy.contrib.opc_da.OpcDaCancel_ack(_pkt, /, *, version=0, cancelId=0, accepting=1)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            VERSION                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            CANCELID                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   ACCEPTING   |
+-+-+-+-+-+-+-+-+

                       Fig. OpcDaCancel_ack                       
OpcDaCancel_ack fields

version

IntField

0

cancelId

IntField

0

accepting

ByteField

1

class scapy.contrib.opc_da.OpcDaCancel_ackLE(_pkt, /, *, version=0, cancelId=0, accepting=1)[源代码]

基类:OpcDaCancel_ack

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            VERSION                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            CANCELID                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   ACCEPTING   |
+-+-+-+-+-+-+-+-+

                      Fig. OpcDaCancel_ackLE                      
OpcDaCancel_ackLE fields

version

IntField

0

cancelId

IntField

0

accepting

ByteField

1

class scapy.contrib.opc_da.OpcDaCl_cancel(_pkt, /, *, authentication=None, version=0, cancelId=0)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |            VERSION            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            CANCELID           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OpcDaCl_cancel                        
OpcDaCl_cancel fields

authentication

PacketField

None

version

IntField

0

cancelId

IntField

0

class scapy.contrib.opc_da.OpcDaCl_cancelLE(_pkt, /, *, authentication=None, version=0, cancelId=0)[源代码]

基类:OpcDaCl_cancel

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |            VERSION            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            CANCELID           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. OpcDaCl_cancelLE                       
OpcDaCl_cancelLE fields

authentication

PacketField

None

version

IntField

0

cancelId

IntField

0

class scapy.contrib.opc_da.OpcDaCo_cancel(_pkt, /, *, authentication=None, version=0, cancelId=0)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |            VERSION            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            CANCELID           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OpcDaCo_cancel                        
OpcDaCo_cancel fields

authentication

PacketField

None

version

IntField

0

cancelId

IntField

0

class scapy.contrib.opc_da.OpcDaCo_cancelLE(_pkt, /, *, authentication=None, version=0, cancelId=0)[源代码]

基类:OpcDaCo_cancel

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         AUTHENTICATION        |            VERSION            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |            CANCELID           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. OpcDaCo_cancelLE                       
OpcDaCo_cancelLE fields

authentication

PacketField

None

version

IntField

0

cancelId

IntField

0

class scapy.contrib.opc_da.OpcDaFack(_pkt, /, *, version=0, pad=0, windowSize=0, maxTsdu=0, maxFragSize=0, serialNum=0, selackLen=0, selack=[])[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            VERSION            |      PAD      |   WINDOWSIZE  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |                    MAXTSDU                    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |                  MAXFRAGSIZE                  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |           SERIALNUM           |   SELACKLEN   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |             SELACK            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. OpcDaFack                          
OpcDaFack fields

version

ShortField

0

pad

ByteField

0

windowSize

ShortField

0

maxTsdu

IntField

0

maxFragSize

IntField

0

serialNum

ShortField

0

selackLen

FieldLenField

0

selack

PacketListField

[]

class scapy.contrib.opc_da.OpcDaFackLE(_pkt, /, *, version=0, pad=0, windowSize=0, maxTsdu=0, maxFragSize=0, serialNum=0, selackLen=0, selack=[])[源代码]

基类:OpcDaFack

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            VERSION            |      PAD      |   WINDOWSIZE  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |                    MAXTSDU                    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |                  MAXFRAGSIZE                  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |           SERIALNUM           |   SELACKLEN   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|               |             SELACK            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. OpcDaFackLE                         
OpcDaFackLE fields

version

ShortField

0

pad

ByteField

0

windowSize

ShortField

0

maxTsdu

IntField

0

maxFragSize

IntField

0

serialNum

ShortField

0

selackLen

FieldLenField

0

selack

PacketListField

[]

class scapy.contrib.opc_da.OpcDaFault(_pkt, /, *, allocHint=0, contextId=0, cancelCount=0, reserved=0, Group=0, reserved2=0, stubData=None, authentication=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |  CANCELCOUNT  |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             GROUP                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           RESERVED2                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. OpcDaFault                          
OpcDaFault fields

allocHint

IntField

0

contextId

ShortField

0

cancelCount

ByteField

0

reserved

ByteField

0

Group

IntEnumField

0

reserved2

IntField

0

stubData

StrLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaFaultLE(_pkt, /, *, allocHint=0, contextId=0, cancelCount=0, reserved=0, Group=0, reserved2=0, stubData=None, authentication=None)[源代码]

基类:OpcDaFault

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |  CANCELCOUNT  |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             GROUP                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           RESERVED2                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaFaultLE                         
OpcDaFaultLE fields

allocHint

IntField

0

contextId

ShortField

0

cancelCount

ByteField

0

reserved

ByteField

0

Group

IntEnumField

0

reserved2

IntField

0

stubData

StrLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaHeaderMessage(_pkt, /, *, versionMajor=0, versionMinor=0, pduType=0, pfc_flags=<Flag 0 ()>, integerRepresentation=1, characterRepresentation=0, floatingPointRepresentation=0, res=0)[源代码]

基类:Packet

aliastypes
deprecated_fields: Dict[str, Tuple[str, str]] = {'pdu_type': ('pduType', '2.5.0')}
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|  VERSIONMAJOR |  VERSIONMINOR |    PDUTYPE    |   PFC FLAGS   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|INTEGER|CHARACT|FLOATINGPOINTRE|              RES              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                     Fig. OpcDaHeaderMessage                      
OpcDaHeaderMessage fields

versionMajor

ByteField

0

versionMinor

ByteField

0

pduType

ByteEnumField

0

pfc_flags

FlagsField

<Flag 0 ()>

integerRepresentation

BitEnumField

1

characterRepresentation

BitEnumField

0

floatingPointRepresentation

ByteEnumField

0

res

ShortField

0

guess_payload_class(payload)[源代码]
class scapy.contrib.opc_da.OpcDaHeaderN(_pkt, /, *, fragLength=0, authLength=0, callID=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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FRAGLENGTH          |           AUTHLENGTH          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             CALLID                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaHeaderN                         
OpcDaHeaderN fields

fragLength

ShortField

0

authLength

ShortEnumField

0

callID

IntField

0

guess_payload_class(payload)[源代码]
class scapy.contrib.opc_da.OpcDaHeaderNLE(_pkt, /, *, fragLength=0, authLength=0, callID=0)[源代码]

基类:OpcDaHeaderN

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           FRAGLENGTH          |           AUTHLENGTH          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             CALLID                            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OpcDaHeaderNLE                        
OpcDaHeaderNLE fields

fragLength

ShortField

0

authLength

ShortEnumField

0

callID

IntField

0

class scapy.contrib.opc_da.OpcDaMessage(_pkt, /, *, OpcDaMessage=None)[源代码]

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

                        Fig. OpcDaMessage                         
OpcDaMessage fields

OpcDaMessage

PacketField

None

class scapy.contrib.opc_da.OpcDaNoCall(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
class scapy.contrib.opc_da.OpcDaNoCallLE(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
class scapy.contrib.opc_da.OpcDaOrphaned(_pkt, /)[源代码]

基类:AuthentificationProtocol

aliastypes
class scapy.contrib.opc_da.OpcDaPing(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
fields_desc
class scapy.contrib.opc_da.OpcDaReject(_pkt, /, *, allocHint=0, contextId=0, cancelCount=0, reserved=0, Group=0, stubData=None, authentication=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |  CANCELCOUNT  |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             GROUP                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. OpcDaReject                         
OpcDaReject fields

allocHint

IntField

0

contextId

ShortField

0

cancelCount

ByteField

0

reserved

ByteField

0

Group

IntEnumField

0

stubData

StrLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaRejectLE(_pkt, /, *, allocHint=0, contextId=0, cancelCount=0, reserved=0, Group=0, stubData=None, authentication=None)[源代码]

基类:OpcDaReject

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |  CANCELCOUNT  |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             GROUP                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaRejectLE                        
OpcDaRejectLE fields

allocHint

IntField

0

contextId

ShortField

0

cancelCount

ByteField

0

reserved

ByteField

0

Group

IntEnumField

0

stubData

StrLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaRequest(_pkt, /, *, allocHint=0, contextId=0, opNum=0, uuid=UUID('00010001-0001-0001-0001-000100010001'), stubData=None, authentication=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |             OPNUM             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              UUID                             |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaRequest                         
OpcDaRequest fields

allocHint

IntField

0

contextId

ShortField

0

opNum

ShortField

0

uuid

UUIDField (Cond)

UUID('00010001-0001-0001-0001-000100010001')

stubData

PacketLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaRequestLE(_pkt, /, *, allocHint=0, contextId=0, opNum=0, uuid=UUID('00010001-0001-0001-0001-000100010001'), stubData=None, authentication=None)[源代码]

基类:OpcDaRequest

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |             OPNUM             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              UUID                             |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OpcDaRequestLE                        
OpcDaRequestLE fields

allocHint

IntField

0

contextId

ShortField

0

opNum

ShortField

0

uuid

UUIDField

UUID('00010001-0001-0001-0001-000100010001')

stubData

PacketLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaResponse(_pkt, /, *, allocHint=0, contextId=0, cancelCount=0, reserved=0, stubData=None, authentication=None)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |  CANCELCOUNT  |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. OpcDaResponse                        
OpcDaResponse fields

allocHint

IntField

0

contextId

ShortField

0

cancelCount

ByteField

0

reserved

ByteField

0

stubData

StrLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaResponseLE(_pkt, /, *, allocHint=0, contextId=0, cancelCount=0, reserved=0, stubData=None, authentication=None)[源代码]

基类:OpcDaResponse

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                           ALLOCHINT                           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           CONTEXTID           |  CANCELCOUNT  |    RESERVED   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |         AUTHENTICATION        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. OpcDaResponseLE                       
OpcDaResponseLE fields

allocHint

IntField

0

contextId

ShortField

0

cancelCount

ByteField

0

reserved

ByteField

0

stubData

StrLenField

None

authentication

PacketField

None

class scapy.contrib.opc_da.OpcDaShutdown(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
class scapy.contrib.opc_da.OpcDaWorking(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
class scapy.contrib.opc_da.OsfDcePrivateKeyAuthentification(_pkt, /)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
class scapy.contrib.opc_da.RequestStubData(_pkt, /, *, versionMajor=0, versionMinor=0, stubdata=b'')[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          VERSIONMAJOR         |          VERSIONMINOR         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. RequestStubData                       
RequestStubData fields

versionMajor

ShortField

0

versionMinor

ShortField

0

stubdata

StrField

b''

class scapy.contrib.opc_da.RequestStubDataLE(_pkt, /, *, versionMajor=0, versionMinor=0, stubdata=b'')[源代码]

基类:RequestStubData

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          VERSIONMAJOR         |          VERSIONMINOR         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            STUBDATA           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                      Fig. RequestStubDataLE                      
RequestStubDataLE fields

versionMajor

ShortField

0

versionMinor

ShortField

0

stubdata

StrField

b''

class scapy.contrib.opc_da.ResultElement(_pkt, /, *, resultContextNegotiation=0, reason=0, transferSyntax=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    RESULTCONTEXTNEGOTIATION   |             REASON            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         TRANSFERSYNTAX        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. ResultElement                        
ResultElement fields

resultContextNegotiation

ShortEnumField

0

reason

ShortEnumField (Cond)

0

transferSyntax

PacketField

b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

class scapy.contrib.opc_da.ResultElementLE(_pkt, /, *, resultContextNegotiation=0, reason=0, transferSyntax=b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')[源代码]

基类:ResultElement

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    RESULTCONTEXTNEGOTIATION   |             REASON            |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|         TRANSFERSYNTAX        |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                       Fig. ResultElementLE                       
ResultElementLE fields

resultContextNegotiation

ShortEnumField

0

reason

ShortEnumField

0

transferSyntax

PacketField

b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'

class scapy.contrib.opc_da.ResultList(_pkt, /, *, nbResult=0, reserved=0, reserved2=0, resultList=[])[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    NBRESULT   |    RESERVED   |           RESERVED2           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           RESULTLIST          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. ResultList                          
ResultList fields

nbResult

ByteField

0

reserved

ByteField

0

reserved2

ShortField

0

resultList

PacketListField

[]

class scapy.contrib.opc_da.ResultListLE(_pkt, /, *, nbResult=0, reserved=0, reserved2=0, resultList=[])[源代码]

基类:ResultList

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    NBRESULT   |    RESERVED   |           RESERVED2           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|           RESULTLIST          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. ResultListLE                         
ResultListLE fields

nbResult

ByteField

0

reserved

ByteField

0

reserved2

ShortField

0

resultList

PacketListField

[]

class scapy.contrib.opc_da.STDOBJREF(_pkt, /, *, flags=1, cPublicRefs=0, OXID=0, OID=0, IPID=None)[源代码]

基类: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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                             FLAGS                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          CPUBLICREFS                          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              OXID                             |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                              OID                              |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|              IPID             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. STDOBJREF                          
STDOBJREF fields

flags

LEIntEnumField

1

cPublicRefs

LEIntField

0

OXID

LELongField

0

OID

LELongField

0

IPID

PacketField

None

class scapy.contrib.opc_da.StringBinding(_pkt, /, *, wTowerId=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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            WTOWERID           |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                        Fig. StringBinding                        
StringBinding fields

wTowerId

LEShortField

0

class scapy.contrib.opc_da.SyntaxId(_pkt, /, *, interfaceUUID=UUID('00010001-0001-0001-0001-000100010001'), versionMajor=0, versionMinor=0)[源代码]

基类:Packet

aliastypes
extract_padding(p)[源代码]
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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         INTERFACEUUID                         |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          VERSIONMAJOR         |          VERSIONMINOR         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                          Fig. SyntaxId                           
SyntaxId fields

interfaceUUID

UUIDField

UUID('00010001-0001-0001-0001-000100010001')

versionMajor

ShortField

0

versionMinor

ShortField

0

class scapy.contrib.opc_da.SyntaxIdLE(_pkt, /, *, interfaceUUID=UUID('00010001-0001-0001-0001-000100010001'), versionMajor=0, versionMinor=0)[源代码]

基类:SyntaxId

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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         INTERFACEUUID                         |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+                                                               +
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|          VERSIONMAJOR         |          VERSIONMINOR         |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

                         Fig. SyntaxIdLE                          
SyntaxIdLE fields

interfaceUUID

UUIDField

UUID('00010001-0001-0001-0001-000100010001')

versionMajor

ShortField

0

versionMinor

ShortField

0