scapy.layers.llmnr

LLMNR(链接本地多播节点解析).

[RFC 4795]

LLMNR基于DNS数据包格式(RFC1035第4节),RFC还设想了基于TCP的LLMNR. 像Vista一样,我们也不支持– Arno

class scapy.layers.llmnr.LLMNRQuery

Bases: scapy.packet.Packet

aliastypes
fields_desc
LLMNRQuery字段

id

ShortField

0

qr

BitField (1位)

0

opcode

BitEnumField (4位)

0

c

BitField (1位)

0

tc

BitField (2位)

0

z

BitField (4位)

0

rcode

BitEnumField (4位)

0

qdcount

DNSRRCountField

None

ancount

DNSRRCountField

None

nscount

DNSRRCountField

None

arcount

DNSRRCountField

None

qd

DNSQRField

None

an

DNSRRField

None

ns

DNSRRField

None

ar

DNSRRField

None

hashret()
class scapy.layers.llmnr.LLMNRResponse

Bases: scapy.layers.llmnr.LLMNRQuery

aliastypes
answers(other)
fields_desc
LLMNRResponse字段

id

ShortField

0

qr

BitField (1位)

1

opcode

BitEnumField (4位)

0

c

BitField (1位)

0

tc

BitField (2位)

0

z

BitField (4位)

0

rcode

BitEnumField (4位)

0

qdcount

DNSRRCountField

None

ancount

DNSRRCountField

None

nscount

DNSRRCountField

None

arcount

DNSRRCountField

None

qd

DNSQRField

None

an

DNSRRField

None

ns

DNSRRField

None

ar

DNSRRField

None