scapy.contrib.skinny

class scapy.contrib.skinny.Skinny

Bases: scapy.packet.Packet

aliastypes
fields_desc
枯瘦的田野

len

LEIntField

None

res

LEIntField

0

msg

LEIntEnumField

0

payload_guess

可能的子层: SkinnyMessageCallInfoSkinnyMessageCallPlaneSkinnyMessageCallStateSkinnyMessageClearPromptStatusSkinnyMessageCloseReceiveChannelSkinnyMessageDialedNumberSkinnyMessageGenericSkinnyMessageKeepAliveAckSkinnyMessageKeepAliveSkinnyMessageKeypadButtonSkinnyMessageOffHookSkinnyMessageOnHookSkinnyMessageOpenReceiveChannelAckSkinnyMessageOpenReceiveChannelSkinnyMessagePromptStatusSkinnyMessageSetLampSkinnyMessageSetRingerSkinnyMessageSoftKeyEventSkinnyMessageSpeakerModeSkinnyMessageStartMediaTransmissionSkinnyMessageStartToneSkinnyMessageStationSelectSoftKeysMessageSkinnyMessageStopMultiMediaTransmissionSkinnyMessageStopToneSkinnyMessageTimeDate

post_build(pkt, p)
class scapy.contrib.skinny.SkinnyDateTimeField(name, default)

Bases: scapy.fields.StrFixedLenField

h2i(pkt, s)
i2h(pkt, x)
i2m(pkt, val)
i2repr(pkt, x)
m2i(pkt, s)
class scapy.contrib.skinny.SkinnyFramePerPacketField(name, default)

Bases: scapy.fields.LEIntField

i2repr(pkt, x)
class scapy.contrib.skinny.SkinnyMessageCallInfo

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCallInfo字段

callername

StrFixedLenField

b'Jean Valjean'

callernum

StrFixedLenField

b'1337'

calledname

StrFixedLenField

b'Causette'

callednum

StrFixedLenField

b'1034'

lineinstance

LEIntField

1

callid

LEIntField

0

originalcalledname

StrFixedLenField

b'Causette'

originalcallednum

StrFixedLenField

b'1034'

lastredirectingname

StrFixedLenField

b'Causette'

lastredirectingnum

StrFixedLenField

b'1034'

originalredirectreason

LEIntField

0

lastredirectreason

LEIntField

0

voicemailboxG

StrFixedLenField

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

voicemailboxD

StrFixedLenField

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

originalvoicemailboxD

StrFixedLenField

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

lastvoicemailboxD

StrFixedLenField

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

security

LEIntField

0

restriction

FlagsField (16位)

<Flag 0 ()>

unknown

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageCallPlane

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCallPlane字段

instance

LEIntField

1

class scapy.contrib.skinny.SkinnyMessageCallState

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCallState字段

state

LEIntEnumField

1

instance

LEIntField

1

callid

LEIntField

0

unknown1

LEIntField

4

unknown2

LEIntField

0

unknown3

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageClearPromptStatus

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageClearPromptStatus字段

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageCloseReceiveChannel

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageCloseReceiveChannel字段

conference

LEIntField

0

passthru

LEIntField

0

remote

IPField

'0.0.0.0'

port

LEIntField

<RandShort>

rate

SkinnyRateField

20

codec

LEIntEnumField

4

precedence

LEIntField

200

silence

LEIntEnumField

0

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageDialedNumber

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageDialedNumber字段

number

StrFixedLenField

b'1337'

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageGeneric

Bases: scapy.packet.Packet

aliastypes
class scapy.contrib.skinny.SkinnyMessageKeepAlive

Bases: scapy.packet.Packet

aliastypes
class scapy.contrib.skinny.SkinnyMessageKeepAliveAck

Bases: scapy.packet.Packet

aliastypes
class scapy.contrib.skinny.SkinnyMessageKeypadButton

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageKeypadButton字段

key

LEIntField

0

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageOffHook

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageOffHook字段

unknown1

LEIntField

0

unknown2

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageOnHook

Bases: scapy.contrib.skinny.SkinnyMessageOffHook

aliastypes
fields_desc
SkinnyMessageOnHook字段

unknown1

LEIntField

0

unknown2

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageOpenReceiveChannel

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageOpenReceiveChannel字段

conference

LEIntField

0

passthru

LEIntField

0

rate

SkinnyRateField

20

codec

LEIntEnumField

4

echo

LEIntEnumField

0

unknown1

LEIntField

0

callid

LEIntField

0

guess_payload_class(p)
class scapy.contrib.skinny.SkinnyMessageOpenReceiveChannelAck

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageOpenReceiveChannelAck字段

status

LEIntEnumField

0

remote

IPField

'0.0.0.0'

port

LEIntField

<RandShort>

passthru

LEIntField

0

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessagePromptStatus

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessagePromptStatus字段

timeout

LEIntField

0

text

StrFixedLenField

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

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageSetLamp

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSetLamp字段

stimulus

LEIntEnumField

5

instance

LEIntField

1

mode

LEIntEnumField

2

class scapy.contrib.skinny.SkinnyMessageSetRinger

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSetRinger字段

ring

LEIntEnumField

1

unknown1

LEIntField

0

unknown2

LEIntField

0

unknown3

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageSoftKeyEvent

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSoftKeyEvent字段

key

LEIntField

0

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageSpeakerMode

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageSpeakerMode字段

ring

LEIntEnumField

1

class scapy.contrib.skinny.SkinnyMessageStartMediaTransmission

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStartMediaTransmission字段

conference

LEIntField

0

passthru

LEIntField

0

remote

IPField

'0.0.0.0'

port

LEIntField

<RandShort>

rate

SkinnyRateField

20

codec

LEIntEnumField

4

precedence

LEIntField

200

silence

LEIntEnumField

0

maxframes

SkinnyFramePerPacketField

0

unknown1

LEIntField

0

callid

LEIntField

0

guess_payload_class(p)
class scapy.contrib.skinny.SkinnyMessageStartTone

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStartTone字段

tone

LEIntEnumField

33

unknown1

LEIntField

0

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageStationSelectSoftKeysMessage

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStationSelectSoftKeysMessage字段

instance

LEIntField

1

callid

LEIntField

0

set

LEIntField

0

map

LEIntField

65535

class scapy.contrib.skinny.SkinnyMessageStopMultiMediaTransmission

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageStopMultiMediaTransmission字段

conference

LEIntField

0

passthru

LEIntField

0

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageStopTone

Bases: scapy.contrib.skinny.SkinnyMessageGeneric

aliastypes
fields_desc
SkinnyMessageStopTone字段

instance

LEIntField

1

callid

LEIntField

0

class scapy.contrib.skinny.SkinnyMessageTimeDate

Bases: scapy.packet.Packet

aliastypes
fields_desc
SkinnyMessageTimeDate字段

settime

SkinnyDateTimeField

(2020, 1, 18, 11, 30, 50)

timestamp

LEIntField

0

class scapy.contrib.skinny.SkinnyRateField(name, default)

Bases: scapy.fields.LEIntField

i2repr(pkt, x)
scapy.contrib.skinny.cls

scapy.contrib.skinny.SkinnyMessageGeneric别名

scapy.contrib.skinny.get_cls(name, fallback_cls)