scapy.contrib.send
Secure Neighbor Discovery (SEND) - RFC3971
- class scapy.contrib.send.CGA_Params(_pkt, /, *, modifier=<RandBin>, subprefix=b'', cc=0, pubkey=<X509_SubjectPublicKeyInfo signatureAlgorithm=<X509_AlgorithmIdentifier |> |>)[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MODIFIER | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBPREFIX | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CC | PUBKEY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CGA_ParamsCGA_Params fields modifier
<RandBin>subprefix
b''cc
0pubkey
<X509_SubjectPublicKeyInfo signatureAlgorithm=<X509_AlgorithmIdentifier |> |>
- class scapy.contrib.send.ICMPv6NDOptCGA(_pkt, /, *, type=11, len=None, padlength=0, reserved=0, CGA_PARAMS=b'', padding=b'')[源代码]
基类:
_ICMPv6NDGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | PADLENGTH | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CGA PARAMS | PADDING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptCGAICMPv6NDOptCGA fields type
11len
Nonepadlength
0reserved
0CGA_PARAMS
b''padding
b''
- class scapy.contrib.send.ICMPv6NDOptNonce(_pkt, /, *, type=14, len=None, nonce=b'')[源代码]
基类:
_ICMPv6NDGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | NONCE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptNonceICMPv6NDOptNonce fields type
14len
Nonenonce
b''
- class scapy.contrib.send.ICMPv6NDOptRsaSig(_pkt, /, *, type=12, len=None, reserved=0, key_hash=b'', signature_pad=b'')[源代码]
基类:
_ICMPv6NDGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | KEY HASH | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIGNATURE PAD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptRsaSigICMPv6NDOptRsaSig fields type
12len
Nonereserved
0key_hash
b''signature_pad
b''
- class scapy.contrib.send.ICMPv6NDOptTmstp(_pkt, /, *, type=13, len=2, reserved=0, timestamp=None)[源代码]
基类:
_ICMPv6NDGuessPayload,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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMESTAMP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. ICMPv6NDOptTmstpICMPv6NDOptTmstp fields type
13len
2reserved
BitField(48 bits)0timestamp
None