scapy.contrib.opc_da module

Opc Data Access. References: Data Access Custom Interface StanDard Using the website: http://pubs.opengroup.org/onlinepubs/9629399/chap12.htm

DCOM Remote Protocol. References: Specifies Distributed Component Object Model (DCOM) Remote Protocol Using the website: https://msdn.microsoft.com/en-us/library/cc226801.aspx

class scapy.contrib.opc_da.AttributeName

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.AttributeName'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (AttributeName).attributeItemType>, <Field (AttributeName).attributeItemLen>, <Field (AttributeName).attributeItem>]
class scapy.contrib.opc_da.AttributeNameLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.AttributeNameLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (AttributeNameLE).attributeItemType>, <Field (AttributeNameLE).attributeItemLen>, <Field (AttributeNameLE).attributeItem>]
class scapy.contrib.opc_da.AuthentificationProtocol

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.AuthentificationProtocol'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.contrib.opc_da.ContextElment

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.ContextElment'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (ContextElment).contxtId>, <Field (ContextElment).nbTransferSyn>, <Field (ContextElment).reserved>, <Field (ContextElment).abstractSyntax>, <Field (ContextElment).transferSyntax>]
class scapy.contrib.opc_da.ContextElmentLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.ContextElmentLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (ContextElmentLE).contxtId>, <Field (ContextElmentLE).nbTransferSyn>, <Field (ContextElmentLE).reserved>, <Field (ContextElmentLE).abstractSyntax>, <Field (ContextElmentLE).transferSyntax>]
class scapy.contrib.opc_da.DualStringArray

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.DualStringArray'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DualStringArray).wNumEntries>, <Field (DualStringArray).wSecurityOffset>, <Field (DualStringArray).StringBinding>]
class scapy.contrib.opc_da.DualStringArrayLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.DualStringArrayLE'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (DualStringArrayLE).wNumEntries>, <Field (DualStringArrayLE).wSecurityOffset>, <Field (DualStringArrayLE).StringBinding>]
class scapy.contrib.opc_da.IRemoteSCMActivator_RemoteCreateInstance

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.IRemoteSCMActivator_RemoteCreateInstance'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (IRemoteSCMActivator_RemoteCreateInstance).versionMajor>, <Field (IRemoteSCMActivator_RemoteCreateInstance).versionMinor>, <Field (IRemoteSCMActivator_RemoteCreateInstance).flag>, <Field (IRemoteSCMActivator_RemoteCreateInstance).reserved>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.contrib.opc_da.IRemoteSCMActivator_RemoteCreateInstanceLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.IRemoteSCMActivator_RemoteCreateInstanceLE'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (IRemoteSCMActivator_RemoteCreateInstanceLE).versionMajor>, <Field (IRemoteSCMActivator_RemoteCreateInstanceLE).versionMinor>, <Field (IRemoteSCMActivator_RemoteCreateInstanceLE).flag>, <Field (IRemoteSCMActivator_RemoteCreateInstanceLE).reserved>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.contrib.opc_da.LenStringPacket

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.LenStringPacket'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (LenStringPacket).length>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>]
class scapy.contrib.opc_da.LenStringPacketLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.LenStringPacketLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (LenStringPacketLE).length>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>]
class scapy.contrib.opc_da.NTLMSSP

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.NTLMSSP'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (NTLMSSP).identifier>, <Field (NTLMSSP).messageType>, <Field (NTLMSSP).lanManagerLen>, <Field (NTLMSSP).lanManagerMax>, <Field (NTLMSSP).lanManagerOffset>, <Field (NTLMSSP).NTLMRepLen>, <Field (NTLMSSP).NTLMRepMax>, <Field (NTLMSSP).NTLMRepOffset>, <Field (NTLMSSP).domainNameLen>, <Field (NTLMSSP).domainNameMax>, <Field (NTLMSSP).domainNameOffset>, <Field (NTLMSSP).userNameLen>, <Field (NTLMSSP).userNameMax>, <Field (NTLMSSP).userNameOffset>, <Field (NTLMSSP).hostNameLen>, <Field (NTLMSSP).hostNameMax>, <Field (NTLMSSP).hostNameOffset>, <Field (NTLMSSP).sessionKeyLen>, <Field (NTLMSSP).sessionKeyMax>, <Field (NTLMSSP).sessionKeyOffset>, <Field (NTLMSSP).negociateFlags>, <Field (NTLMSSP).versionMajor>, <Field (NTLMSSP).versionMinor>, <Field (NTLMSSP).buildNumber>, <Field (NTLMSSP).reserved>, <Field (NTLMSSP).reserved2>, <Field (NTLMSSP).NTLMCurrentRevision>, <Field (NTLMSSP).MIC>, <Field (NTLMSSP).domainName>, <Field (NTLMSSP).userName>, <Field (NTLMSSP).hostName>, <Field (NTLMSSP).lanManager>, <Field (NTLMSSP).NTLMRep>, <Field (NTLMSSP).responseVersion>, <Field (NTLMSSP).hiResponseVersion>, <Field (NTLMSSP).Z>, <Field (NTLMSSP).timestamp>, <Field (NTLMSSP).clientChallenge>, <Field (NTLMSSP).Z>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).attributeNTLMV2>, <Field (NTLMSSP).Z>, <Field (NTLMSSP).padding>, <Field (NTLMSSP).sessionKey>]
class scapy.contrib.opc_da.NTLMSSPLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.NTLMSSPLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (NTLMSSPLE).identifier>, <Field (NTLMSSPLE).messageType>, <Field (NTLMSSPLE).lanManagerLen>, <Field (NTLMSSPLE).lanManagerMax>, <Field (NTLMSSPLE).lanManagerOffset>, <Field (NTLMSSPLE).NTLMRepLen>, <Field (NTLMSSPLE).NTLMRepMax>, <Field (NTLMSSPLE).NTLMRepOffset>, <Field (NTLMSSPLE).domainNameLen>, <Field (NTLMSSPLE).domainNameMax>, <Field (NTLMSSPLE).domainNameOffset>, <Field (NTLMSSPLE).userNameLen>, <Field (NTLMSSPLE).userNameMax>, <Field (NTLMSSPLE).userNameOffset>, <Field (NTLMSSPLE).hostNameLen>, <Field (NTLMSSPLE).hostNameMax>, <Field (NTLMSSPLE).hostNameOffset>, <Field (NTLMSSPLE).sessionKeyLen>, <Field (NTLMSSPLE).sessionKeyMax>, <Field (NTLMSSPLE).sessionKeyOffset>, <Field (NTLMSSPLE).negociateFlags>, <Field (NTLMSSPLE).versionMajor>, <Field (NTLMSSPLE).versionMinor>, <Field (NTLMSSPLE).buildNumber>, <Field (NTLMSSPLE).reserved>, <Field (NTLMSSPLE).reserved2>, <Field (NTLMSSPLE).NTLMCurrentRevision>, <Field (NTLMSSPLE).MIC>, <Field (NTLMSSPLE).domainName>, <Field (NTLMSSPLE).userName>, <Field (NTLMSSPLE).hostName>, <Field (NTLMSSPLE).lanManager>, <Field (NTLMSSPLE).NTLMRep>, <Field (NTLMSSPLE).responseVersion>, <Field (NTLMSSPLE).hiResponseVersion>, <Field (NTLMSSPLE).Z>, <Field (NTLMSSPLE).timestamp>, <Field (NTLMSSPLE).clientChallenge>, <Field (NTLMSSPLE).Z>, <Field (NTLMSSPLE).attribute1>, <Field (NTLMSSPLE).attribute2>, <Field (NTLMSSPLE).attribute3>, <Field (NTLMSSPLE).attribute4>, <Field (NTLMSSPLE).attribute5>, <Field (NTLMSSPLE).attribute6>, <Field (NTLMSSPLE).attribute7>, <Field (NTLMSSPLE).attribute8>, <Field (NTLMSSPLE).attribute9>, <Field (NTLMSSPLE).attribute10>, <Field (NTLMSSPLE).Z>, <Field (NTLMSSPLE).padding>, <Field (NTLMSSPLE).sessionKey>]
class scapy.contrib.opc_da.OBJREF_CUSTOM

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_CUSTOM'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OBJREF_CUSTOM).clsid>, <Field (OBJREF_CUSTOM).cbExtension>, <Field (OBJREF_CUSTOM).reserved>]
class scapy.contrib.opc_da.OBJREF_CUSTOMLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_CUSTOMLE'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OBJREF_CUSTOMLE).clsid>, <Field (OBJREF_CUSTOMLE).cbExtension>, <Field (OBJREF_CUSTOMLE).reserved>]
class scapy.contrib.opc_da.OBJREF_EXTENDED

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_EXTENDED'>, <class 'scapy.packet.Packet'>]
fields_desc = []
class scapy.contrib.opc_da.OBJREF_EXTENDEDLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_EXTENDEDLE'>, <class 'scapy.packet.Packet'>]
fields_desc = []
class scapy.contrib.opc_da.OBJREF_HANDLER

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_HANDLER'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OBJREF_HANDLER).std>, <Field (OBJREF_HANDLER).clsid>, <Field (OBJREF_HANDLER).saResAddr>]
class scapy.contrib.opc_da.OBJREF_HANDLERLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_HANDLERLE'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OBJREF_HANDLERLE).std>, <Field (OBJREF_HANDLERLE).clsid>, <Field (OBJREF_HANDLERLE).saResAddr>]
class scapy.contrib.opc_da.OBJREF_STANDARD

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_STANDARD'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OBJREF_STANDARD).std>, <Field (OBJREF_STANDARD).saResAddr>]
class scapy.contrib.opc_da.OBJREF_STANDARDLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OBJREF_STANDARDLE'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OBJREF_STANDARDLE).std>, <Field (OBJREF_STANDARDLE).saResAddr>]
class scapy.contrib.opc_da.OPCHandle(name, default)

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OPCHandle'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
class scapy.contrib.opc_da.OpcDaAck

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaAck'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
class scapy.contrib.opc_da.OpcDaAlter_Context_Resp

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaAlter_Context_Resp'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaAlter_Context_Resp).maxXmitFrag>, <Field (OpcDaAlter_Context_Resp).maxRecvtFrag>, <Field (OpcDaAlter_Context_Resp).assocGroupId>, <Field (OpcDaAlter_Context_Resp).portSPec>, <Field (OpcDaAlter_Context_Resp).numResult>]
class scapy.contrib.opc_da.OpcDaAlter_Context_RespLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaAlter_Context_RespLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaAlter_Context_RespLE).maxXmitFrag>, <Field (OpcDaAlter_Context_RespLE).maxRecvtFrag>, <Field (OpcDaAlter_Context_RespLE).assocGroupId>, <Field (OpcDaAlter_Context_RespLE).portSpec>, <Field (OpcDaAlter_Context_RespLE).numResult>]
class scapy.contrib.opc_da.OpcDaAlter_context

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaAlter_context'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaAlter_context).maxXmitFrag>, <Field (OpcDaAlter_context).maxRecvtFrag>, <Field (OpcDaAlter_context).assocGroupId>]
class scapy.contrib.opc_da.OpcDaAlter_contextLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaAlter_contextLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaAlter_contextLE).maxXmitFrag>, <Field (OpcDaAlter_contextLE).maxRecvtFrag>, <Field (OpcDaAlter_contextLE).assocGroupId>]
class scapy.contrib.opc_da.OpcDaAuth3

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaAuth3'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OpcDaAuth3).code?>, <Field (OpcDaAuth3).code2?>, <Field (OpcDaAuth3).authType>, <Field (OpcDaAuth3).authLevel>, <Field (OpcDaAuth3).authPadLen>, <Field (OpcDaAuth3).authReserved>, <Field (OpcDaAuth3).authContextId>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.contrib.opc_da.OpcDaAuth3LE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaAuth3LE'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OpcDaAuth3LE).code?>, <Field (OpcDaAuth3LE).code2?>, <Field (OpcDaAuth3LE).authType>, <Field (OpcDaAuth3LE).authLevel>, <Field (OpcDaAuth3LE).authPadLen>, <Field (OpcDaAuth3LE).authReserved>, <Field (OpcDaAuth3LE).authContextId>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.contrib.opc_da.OpcDaBind

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaBind'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaBind).maxXmitFrag>, <Field (OpcDaBind).maxRecvtFrag>, <Field (OpcDaBind).assocGroupId>, <Field (OpcDaBind).nbContextElement>, <Field (OpcDaBind).reserved>, <Field (OpcDaBind).reserved2>, <Field (OpcDaBind).contextItem>, <Field (OpcDaBind).authentication>]
class scapy.contrib.opc_da.OpcDaBindLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaBindLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaBindLE).maxXmitFrag>, <Field (OpcDaBindLE).maxRecvtFrag>, <Field (OpcDaBindLE).assocGroupId>, <Field (OpcDaBindLE).nbContextElement>, <Field (OpcDaBindLE).reserved>, <Field (OpcDaBindLE).reserved2>, <Field (OpcDaBindLE).contextItem>, <Field (OpcDaBindLE).authentication>]
class scapy.contrib.opc_da.OpcDaBind_ack

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaBind_ack'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaBind_ack).maxXmitFrag>, <Field (OpcDaBind_ack).maxRecvtFrag>, <Field (OpcDaBind_ack).assocGroupId>, <Field (OpcDaBind_ack).portSpec>, <Field (OpcDaBind_ack).pda2>, <Field (OpcDaBind_ack).resultList>, <Field (OpcDaBind_ack).authentication>]
class scapy.contrib.opc_da.OpcDaBind_ackLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaBind_ackLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaBind_ackLE).maxXmitFrag>, <Field (OpcDaBind_ackLE).maxRecvtFrag>, <Field (OpcDaBind_ackLE).assocGroupId>, <Field (OpcDaBind_ackLE).portSpec>, <Field (OpcDaBind_ackLE).pda2>, <Field (OpcDaBind_ackLE).resultList>, <Field (OpcDaBind_ackLE).authentication>]
class scapy.contrib.opc_da.OpcDaBind_nak

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaBind_nak'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaBind_nak).providerRejectReason>]
class scapy.contrib.opc_da.OpcDaBind_nakLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaBind_nakLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaBind_nakLE).providerRejectReason>]
class scapy.contrib.opc_da.OpcDaCancel_ack

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaCancel_ack'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaCancel_ack).version>, <Field (OpcDaCancel_ack).cancelId>, <Field (OpcDaCancel_ack).accepting>]
class scapy.contrib.opc_da.OpcDaCancel_ackLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaCancel_ackLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaCancel_ackLE).version>, <Field (OpcDaCancel_ackLE).cancelId>, <Field (OpcDaCancel_ackLE).accepting>]
class scapy.contrib.opc_da.OpcDaCl_cancel

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaCl_cancel'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaCl_cancel).authentication>, <Field (OpcDaCl_cancel).version>, <Field (OpcDaCl_cancel).cancelId>]
class scapy.contrib.opc_da.OpcDaCl_cancelLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaCl_cancelLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaCl_cancelLE).authentication>, <Field (OpcDaCl_cancelLE).version>, <Field (OpcDaCl_cancelLE).cancelId>]
class scapy.contrib.opc_da.OpcDaCo_cancel

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaCo_cancel'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaCo_cancel).authentication>, <Field (OpcDaCo_cancel).version>, <Field (OpcDaCo_cancel).cancelId>]
class scapy.contrib.opc_da.OpcDaCo_cancelLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaCo_cancelLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaCo_cancelLE).authentication>, <Field (OpcDaCo_cancelLE).version>, <Field (OpcDaCo_cancelLE).cancelId>]
class scapy.contrib.opc_da.OpcDaFack

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaFack'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaFack).version>, <Field (OpcDaFack).pad>, <Field (OpcDaFack).windowSize>, <Field (OpcDaFack).maxTsdu>, <Field (OpcDaFack).maxFragSize>, <Field (OpcDaFack).serialNum>, <Field (OpcDaFack).selackLen>, <Field (OpcDaFack).selack>]
class scapy.contrib.opc_da.OpcDaFackLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaFackLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaFackLE).version>, <Field (OpcDaFackLE).pad>, <Field (OpcDaFackLE).windowSize>, <Field (OpcDaFackLE).maxTsdu>, <Field (OpcDaFackLE).maxFragSize>, <Field (OpcDaFackLE).serialNum>, <Field (OpcDaFackLE).selackLen>, <Field (OpcDaFackLE).selack>]
class scapy.contrib.opc_da.OpcDaFault

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaFault'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaFault).allocHint>, <Field (OpcDaFault).contextId>, <Field (OpcDaFault).cancelCount>, <Field (OpcDaFault).reserved>, <Field (OpcDaFault).Group>, <Field (OpcDaFault).reserved2>, <Field (OpcDaFault).subData>]
class scapy.contrib.opc_da.OpcDaFaultLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaFaultLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaFaultLE).allocHint>, <Field (OpcDaFaultLE).contextId>, <Field (OpcDaFaultLE).cancelCount>, <Field (OpcDaFaultLE).reserved>, <Field (OpcDaFaultLE).Group>, <Field (OpcDaFaultLE).reserved2>, <Field (OpcDaFaultLE).subData>, <Field (OpcDaFaultLE).authentication>]
class scapy.contrib.opc_da.OpcDaHeaderMessage

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaHeaderMessage'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OpcDaHeaderMessage).versionMajor>, <Field (OpcDaHeaderMessage).versionMinor>, <Field (OpcDaHeaderMessage).pduType>, <Field (OpcDaHeaderMessage).pfc_flags>, <Field (OpcDaHeaderMessage).integerRepresentation>, <Field (OpcDaHeaderMessage).characterRepresentation>, <Field (OpcDaHeaderMessage).floatingPointRepresentation>, <Field (OpcDaHeaderMessage).reservedForFutur>, <Field (OpcDaHeaderMessage).reservedForFutur>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.contrib.opc_da.OpcDaHeaderN

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaHeaderN'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OpcDaHeaderN).fragLenght>, <Field (OpcDaHeaderN).authLenght>, <Field (OpcDaHeaderN).callID>]
guess_payload_class(payload)

DEV: Guesses the next payload class from layer bonds. Can be overloaded to use a different mechanism.

Parameters:payload (str) – the layer’s payload
Returns:the payload class
class scapy.contrib.opc_da.OpcDaHeaderNLE

Bases: scapy.contrib.opc_da.OpcDaHeaderN

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaHeaderNLE'>, <class 'scapy.contrib.opc_da.OpcDaHeaderN'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OpcDaHeaderNLE).fragLenght>, <Field (OpcDaHeaderNLE).authLenght>, <Field (OpcDaHeaderNLE).callID>]
class scapy.contrib.opc_da.OpcDaMessage

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaMessage'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (OpcDaMessage).OpcDaMessage>]
class scapy.contrib.opc_da.OpcDaNoCall

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaNoCall'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
class scapy.contrib.opc_da.OpcDaNoCallLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaNoCallLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
class scapy.contrib.opc_da.OpcDaOrphaned

Bases: scapy.contrib.opc_da.AuthentificationProtocol

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaOrphaned'>, <class 'scapy.contrib.opc_da.AuthentificationProtocol'>, <class 'scapy.packet.Packet'>]
class scapy.contrib.opc_da.OpcDaPing

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaPing'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = []
class scapy.contrib.opc_da.OpcDaReject

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaReject'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaReject).allocHint>, <Field (OpcDaReject).contextId>, <Field (OpcDaReject).cancelCount>, <Field (OpcDaReject).reserved>, <Field (OpcDaReject).Group>, <Field (OpcDaReject).subData>, <Field (OpcDaReject).authentication>]
class scapy.contrib.opc_da.OpcDaRejectLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaRejectLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaRejectLE).allocHint>, <Field (OpcDaRejectLE).contextId>, <Field (OpcDaRejectLE).cancelCount>, <Field (OpcDaRejectLE).reserved>, <Field (OpcDaRejectLE).Group>, <Field (OpcDaRejectLE).subData>, <Field (OpcDaRejectLE).authentication>]
class scapy.contrib.opc_da.OpcDaRequest

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaRequest'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaRequest).allocHint>, <Field (OpcDaRequest).contextId>, <Field (OpcDaRequest).opNum>, <Field (OpcDaRequest).uuid>, <Field (OpcDaRequest).subData>, <Field (OpcDaRequest).authentication>]
class scapy.contrib.opc_da.OpcDaRequestLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaRequestLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaRequestLE).allocHint>, <Field (OpcDaRequestLE).contextId>, <Field (OpcDaRequestLE).opNum>, <Field (OpcDaRequestLE).uuid>, <Field (OpcDaRequestLE).subData>, <Field (OpcDaRequestLE).authentication>]
class scapy.contrib.opc_da.OpcDaResponse

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaResponse'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaResponse).allocHint>, <Field (OpcDaResponse).contextId>, <Field (OpcDaResponse).cancelCount>, <Field (OpcDaResponse).reserved>, <Field (OpcDaResponse).subData>, <Field (OpcDaResponse).authentication>]
class scapy.contrib.opc_da.OpcDaResponseLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaResponseLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (OpcDaResponseLE).allocHint>, <Field (OpcDaResponseLE).contextId>, <Field (OpcDaResponseLE).cancelCount>, <Field (OpcDaResponseLE).reserved>, <Field (OpcDaResponseLE).subData>, <Field (OpcDaResponseLE).authentication>]
class scapy.contrib.opc_da.OpcDaShutdown

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaShutdown'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
class scapy.contrib.opc_da.OpcDaWorking

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OpcDaWorking'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
class scapy.contrib.opc_da.OsfDcePrivateKeyAuthentification

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.OsfDcePrivateKeyAuthentification'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
class scapy.contrib.opc_da.RequestSubData

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.RequestSubData'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (RequestSubData).versionMajor>, <Field (RequestSubData).versionMinor>, <Field (RequestSubData).subdata>]
class scapy.contrib.opc_da.RequestSubDataLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.RequestSubDataLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (RequestSubDataLE).versionMajor>, <Field (RequestSubDataLE).versionMinor>, <Field (RequestSubDataLE).flags>, <Field (RequestSubDataLE).reserved>, <Field (RequestSubDataLE).subUuid>, <Field (RequestSubDataLE).subdata>]
class scapy.contrib.opc_da.ResultElement

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.ResultElement'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (ResultElement).resultContextNegotiation>, <scapy.fields.ConditionalField object>, <Field (ResultElement).transferSyntax>]
class scapy.contrib.opc_da.ResultElementLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.ResultElementLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (ResultElementLE).resultContextNegotiation>, <scapy.fields.ConditionalField object>, <Field (ResultElementLE).transferSyntax>]
class scapy.contrib.opc_da.ResultList

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.ResultList'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (ResultList).nbResult>, <Field (ResultList).reserved>, <Field (ResultList).reserved2>, <Field (ResultList).resultList>]
class scapy.contrib.opc_da.ResultListLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.ResultListLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (ResultListLE).nbResult>, <Field (ResultListLE).reserved>, <Field (ResultListLE).reserved2>, <Field (ResultListLE).resultList>]
class scapy.contrib.opc_da.STDOBJREF

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.STDOBJREF'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (STDOBJREF).flags>, <Field (STDOBJREF).cPublicRefs>, <Field (STDOBJREF).OXID>, <Field (STDOBJREF).OID>, <Field (STDOBJREF).IPID>]
class scapy.contrib.opc_da.StringBinding

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.StringBinding'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (StringBinding).wTowerId>]
class scapy.contrib.opc_da.SyntaxId

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.SyntaxId'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (SyntaxId).interfaceUUID>, <Field (SyntaxId).versionMajor>, <Field (SyntaxId).versionMinor>]
class scapy.contrib.opc_da.SyntaxIdLE

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.opc_da.SyntaxIdLE'>, <class 'scapy.packet.Packet'>]
extract_padding(p)

DEV: to be overloaded to extract current layer’s padding.

Parameters:s (str) – the current layer
Returns:a couple of strings (actual layer, padding)
fields_desc = [<Field (SyntaxIdLE).interfaceUUID>, <Field (SyntaxIdLE).versionMajor>, <Field (SyntaxIdLE).versionMinor>]