scapy.layers.dot11
Wireless LAN according to IEEE 802.11.
- This file contains bindings for 802.11 layers and some usual linklayers:
PRISM
RadioTap
- class scapy.layers.dot11.AKMSuite(_pkt, /, *, oui=4012, suite=1)[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUITE | +-+-+-+-+-+-+-+-+ Fig. AKMSuite
AKMSuite fields oui
4012
suite
1
- class scapy.layers.dot11.BSSTerminationDuration(_pkt, /, *, id=4, len=10, TSF=0, duration=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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | TSF | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | DURATION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. BSSTerminationDuration
BSSTerminationDuration fields id
4
len
10
TSF
0
duration
0
- class scapy.layers.dot11.Dot11(_pkt, /, *, subtype=0, type=0, proto=0, cfe=0, FCfield=None, ID=0, addr1='00:00:00:00:00:00', addr2='00:00:00:00:00:00', addr3='00:00:00:00:00:00', SC=0, addr4='00:00:00:00:00:00')[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |SUBTYPE|TYP|PRO| CFE | FCFIELD | ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR1 | +-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR3 | +-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+ | | SC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR4 | +-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11
Dot11 fields subtype
0
type
0
proto
BitField
(2 bits)0
cfe
BitEnumField
(Cond)0
FCfield
MultipleTypeField
(FlagsField, FlagsField)<Flag 0 ()>
ID
0
addr1
_Dot11MacField
'00:00:00:00:00:00'
addr2
_Dot11MacField
(Cond)'00:00:00:00:00:00'
addr3
_Dot11MacField
(Cond)'00:00:00:00:00:00'
SC
LEShortField
(Cond)0
addr4
_Dot11MacField
(Cond)'00:00:00:00:00:00'
- payload_guess
Possible sublayers:
Dot11ATIM
,Dot11Ack
,Dot11Action
,Dot11AssoReq
,Dot11AssoResp
,Dot11Auth
,Dot11Beacon
,Dot11Deauth
,Dot11Disas
,Dot11ProbeReq
,Dot11ProbeResp
,Dot11ReassoReq
,Dot11ReassoResp
,LLC
- class scapy.layers.dot11.Dot11Action(_pkt, /, *, category=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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CATEGORY | +-+-+-+-+-+-+-+-+ Fig. Dot11Action
Dot11Action fields category
0
- payload_guess
Possible sublayers:
Dot11SpectrumManagement
,Dot11WNM
- class scapy.layers.dot11.Dot11AssoReq(_pkt, /, *, cap=<Flag 0 ()>, listen_interval=200)[源代码]
基类:
_Dot11EltUtils
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAP | LISTEN INTERVAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11AssoReq
Dot11AssoReq fields cap
<Flag 0 ()>
listen_interval
200
- class scapy.layers.dot11.Dot11AssoResp(_pkt, /, *, cap=<Flag 0 ()>, status=0, AID=0)[源代码]
基类:
_Dot11EltUtils
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAP | STATUS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11AssoResp
Dot11AssoResp fields cap
<Flag 0 ()>
status
0
AID
0
- class scapy.layers.dot11.Dot11Auth(_pkt, /, *, algo=0, seqnum=0, status=0)[源代码]
基类:
_Dot11EltUtils
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ALGO | SEQNUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STATUS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11Auth
Dot11Auth fields algo
0
seqnum
0
status
0
- class scapy.layers.dot11.Dot11BSSTMRequest(_pkt, /, *, token=0, mode=<Flag 0 ()>, disassociation_timer=0, validity_interval=0, termination_duration=<BSSTerminationDuration |>, url_len=0, url=b'', neighbor_report=[<NeighborReport |>])[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TOKEN | MODE | DISASSOCIATION TIMER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |VALIDITY INTERV| TERMINATION DURATION | URL LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | URL | NEIGHBOR REPORT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11BSSTMRequest
Dot11BSSTMRequest fields token
0
mode
<Flag 0 ()>
disassociation_timer
0
validity_interval
0
termination_duration
PacketField
(Cond)<BSSTerminationDuration |>
url_len
ByteField
(Cond)0
url
StrLenField
(Cond)b''
neighbor_report
PacketListField
(Cond)[<NeighborReport |>]
- class scapy.layers.dot11.Dot11BSSTMResponse(_pkt, /, *, token=0, status=0, termination_delay=0, target='00:00:00:00:00:00', neighbor_report=[<NeighborReport |>])[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TOKEN | STATUS |TERMINATION DEL| TARGET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | NEIGHBOR REPORT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11BSSTMResponse
Dot11BSSTMResponse fields token
0
status
0
termination_delay
0
target
MACField
(Cond)'00:00:00:00:00:00'
neighbor_report
PacketListField
(Cond)[<NeighborReport |>]
- class scapy.layers.dot11.Dot11Beacon(_pkt, /, *, timestamp=0, beacon_interval=100, cap=<Flag 0 ()>)[源代码]
基类:
_Dot11EltUtils
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMESTAMP | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BEACON INTERVAL | CAP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11Beacon
Dot11Beacon fields timestamp
0
beacon_interval
100
cap
<Flag 0 ()>
- class scapy.layers.dot11.Dot11CCMP(_pkt, /, *, PN0=0, PN1=0, res0=0, key_id=0, ext_iv=0, res1=0, PN2=0, PN3=0, PN4=0, PN5=0, data=None)[源代码]
-
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PN0 | PN1 | RES0 |KEY|E| RES1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PN2 | PN3 | PN4 | PN5 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11CCMP
Dot11CCMP fields PN0
0
PN1
0
res0
0
key_id
BitField
(2 bits)0
ext_iv
BitField
(1 bit)0
res1
BitField
(5 bits)0
PN2
0
PN3
0
PN4
0
PN5
0
data
None
- class scapy.layers.dot11.Dot11CSA(_pkt, /, *, CSA=<Dot11EltCSA |>)[源代码]
基类:
Packet
- aliastypes
- class scapy.layers.dot11.Dot11Deauth(_pkt, /, *, reason=1)[源代码]
基类:
Packet
- aliastypes
- class scapy.layers.dot11.Dot11Disas(_pkt, /, *, reason=1)[源代码]
基类:
Packet
- aliastypes
- class scapy.layers.dot11.Dot11Elt(_pkt, /, *, ID=0, len=None, info=b'')[源代码]
基类:
Packet
A Generic 802.11 Element
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | INFO | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11Elt
Dot11Elt fields ID
0
len
None
info
b''
- info
- registered_ies = {0: <class 'scapy.layers.dot11.Dot11Elt'>, 1: <class 'scapy.layers.dot11.Dot11EltRates'>, 3: <class 'scapy.layers.dot11.Dot11EltDSSSet'>, 7: <class 'scapy.layers.dot11.Dot11EltCountry'>, 37: <class 'scapy.layers.dot11.Dot11EltCSA'>, 42: <class 'scapy.layers.dot11.Dot11EltERP'>, 45: <class 'scapy.layers.dot11.Dot11EltHTCapabilities'>, 48: <class 'scapy.layers.dot11.Dot11EltRSN'>, 50: <class 'scapy.layers.dot11.Dot11EltRates'>, 74: <class 'scapy.layers.dot11.Dot11EltOBSS'>, 192: <class 'scapy.layers.dot11.Dot11EltVHTOperation'>, 221: <class 'scapy.layers.dot11.Dot11EltVendorSpecific'>}
- show_indent = 0
- class scapy.layers.dot11.Dot11EltCSA(_pkt, /, *, ID=37, len=3, mode=0, new_channel=0, channel_switch_count=0)[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | MODE | NEW CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |CHANNEL SWITCH | +-+-+-+-+-+-+-+-+ Fig. Dot11EltCSA
Dot11EltCSA fields ID
37
len
3
mode
0
new_channel
0
channel_switch_count
0
- class scapy.layers.dot11.Dot11EltCountry(_pkt, /, *, ID=7, len=None, country_string=b'\x00\x00\x00', descriptors=[], pad=0)[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | COUNTRY STRING | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | DESCRIPTORS | PAD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltCountry
Dot11EltCountry fields ID
7
len
None
country_string
b'\x00\x00\x00'
descriptors
[]
pad
ByteField
(Cond)0
- match_subclass = True
- class scapy.layers.dot11.Dot11EltCountryConstraintTriplet(_pkt, /, *, first_channel_number=1, num_channels=24, mtp=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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |FIRST CHANNEL N| NUM CHANNELS | MTP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltCountryConstraintTriplet
Dot11EltCountryConstraintTriplet fields first_channel_number
1
num_channels
24
mtp
0
- class scapy.layers.dot11.Dot11EltDSSSet(_pkt, /, *, ID=3, len=1, channel=0)[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltDSSSet
Dot11EltDSSSet fields ID
3
len
1
channel
0
- match_subclass = True
- class scapy.layers.dot11.Dot11EltERP(_pkt, /, *, ID=42, len=1, NonERP_Present=0, Use_Protection=0, Barker_Preamble_Mode=0, res=0)[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN |N|U|B| RES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltERP
Dot11EltERP fields ID
42
len
1
NonERP_Present
BitField
(1 bit)0
Use_Protection
BitField
(1 bit)0
Barker_Preamble_Mode
BitField
(1 bit)0
res
BitField
(5 bits)0
- match_subclass = True
- class scapy.layers.dot11.Dot11EltHTCapabilities(_pkt, /, *, ID=45, len=None, L_SIG_TXOP_Protection=0, Forty_Mhz_Intolerant=0, PSMP=0, DSSS_CCK=0, Max_A_MSDU=0, Delayed_BlockAck=0, Rx_STBC=0, Tx_STBC=0, Short_GI_40Mhz=0, Short_GI_20Mhz=0, Green_Field=0, SM_Power_Save=0, Supported_Channel_Width=0, LDPC_Coding_Capability=0, res1=0, Min_MPDCU_Start_Spacing=8, Max_A_MPDU_Length_Exponent=3, res2=0, TX_Unequal_Modulation=0, TX_Max_Spatial_Streams=0, TX_RX_MCS_Set_Not_Equal=0, TX_MCS_Set_Defined=0, res3=0, RX_Highest_Supported_Data_Rate=0, res4=0, RX_MSC_Bitmask=0, res5=0, RD_Responder=0, HTC_HT_Support=0, MCS_Feedback=0, res6=0, PCO_Transition_Time=0, PCO=0, res7=0, Channel_Estimation_Capability=0, CSI_max_n_Rows_Beamformer_Supported=0, Compressed_Steering_n_Beamformer_Antennas_Supported=0, Noncompressed_Steering_n_Beamformer_Antennas_Supported=0, CSI_n_Beamformer_Antennas_Supported=0, Minimal_Grouping=0, Explicit_Compressed_Beamforming_Feedback=0, Explicit_Noncompressed_Beamforming_Feedback=0, Explicit_Transmit_Beamforming_CSI_Feedback=0, Explicit_Compressed_Steering=0, Explicit_Noncompressed_Steering=0, Explicit_CSI_Transmit_Beamforming=0, Calibration=0, Implicit_Trasmit_Beamforming=0, Transmit_NDP=0, Receive_NDP=0, Transmit_Staggered_Sounding=0, Receive_Staggered_Sounding=0, Implicit_Transmit_Beamforming_Receiving=0, ASEL=<Flag 0 ()>)[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN |L|F|P|D|M|D|RX |T|S|S|G|SM |S|L| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RES1|MIN M|MAX| RES2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |T|TX |T|T| RES3 |RX HIGHEST SUPPORTE| RES4|RX MSC BI| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RES5 |R|H|MCS| RES6 |PCO|P| RES7|CHA|CSI|C| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |NON|CSI|MIN|EXP|EXP|EXP|E|E|E|CAL|I|T|R|T|R|I| ASEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltHTCapabilities
Dot11EltHTCapabilities fields ID
45
len
None
L_SIG_TXOP_Protection
BitField
(1 bit)0
Forty_Mhz_Intolerant
BitField
(1 bit)0
PSMP
BitField
(1 bit)0
DSSS_CCK
BitField
(1 bit)0
Max_A_MSDU
0
Delayed_BlockAck
BitField
(1 bit)0
Rx_STBC
BitField
(2 bits)0
Tx_STBC
BitField
(1 bit)0
Short_GI_40Mhz
BitField
(1 bit)0
Short_GI_20Mhz
BitField
(1 bit)0
Green_Field
BitField
(1 bit)0
SM_Power_Save
0
Supported_Channel_Width
0
LDPC_Coding_Capability
BitField
(1 bit)0
res1
BitField
(3 bits)0
Min_MPDCU_Start_Spacing
BitField
(3 bits)8
Max_A_MPDU_Length_Exponent
BitField
(2 bits)3
res2
BitField
(27 bits)0
TX_Unequal_Modulation
BitField
(1 bit)0
TX_Max_Spatial_Streams
BitField
(2 bits)0
TX_RX_MCS_Set_Not_Equal
BitField
(1 bit)0
TX_MCS_Set_Defined
BitField
(1 bit)0
res3
BitField
(6 bits)0
RX_Highest_Supported_Data_Rate
BitField
(10 bits)0
res4
BitField
(3 bits)0
RX_MSC_Bitmask
BitField
(77 bits)0
res5
BitField
(4 bits)0
RD_Responder
BitField
(1 bit)0
HTC_HT_Support
BitField
(1 bit)0
MCS_Feedback
BitField
(2 bits)0
res6
BitField
(5 bits)0
PCO_Transition_Time
BitField
(2 bits)0
PCO
BitField
(1 bit)0
res7
BitField
(3 bits)0
Channel_Estimation_Capability
BitField
(2 bits)0
CSI_max_n_Rows_Beamformer_Supported
BitField
(2 bits)0
Compressed_Steering_n_Beamformer_Antennas_Supported
BitField
(2 bits)0
Noncompressed_Steering_n_Beamformer_Antennas_Supported
BitField
(2 bits)0
CSI_n_Beamformer_Antennas_Supported
BitField
(2 bits)0
Minimal_Grouping
BitField
(2 bits)0
Explicit_Compressed_Beamforming_Feedback
BitField
(2 bits)0
Explicit_Noncompressed_Beamforming_Feedback
BitField
(2 bits)0
Explicit_Transmit_Beamforming_CSI_Feedback
BitField
(2 bits)0
Explicit_Compressed_Steering
BitField
(1 bit)0
Explicit_Noncompressed_Steering
BitField
(1 bit)0
Explicit_CSI_Transmit_Beamforming
BitField
(1 bit)0
Calibration
BitField
(2 bits)0
Implicit_Trasmit_Beamforming
BitField
(1 bit)0
Transmit_NDP
BitField
(1 bit)0
Receive_NDP
BitField
(1 bit)0
Transmit_Staggered_Sounding
BitField
(1 bit)0
Receive_Staggered_Sounding
BitField
(1 bit)0
Implicit_Transmit_Beamforming_Receiving
BitField
(1 bit)0
ASEL
<Flag 0 ()>
- match_subclass = True
- class scapy.layers.dot11.Dot11EltMicrosoftWPA(_pkt, /, *, ID=221, len=None, oui=20722, type=1, version=1, group_cipher_suite=<RSNCipherSuite |>, nb_pairwise_cipher_suites=None, pairwise_cipher_suites=[<RSNCipherSuite |>], nb_akm_suites=None, akm_suites=[<AKMSuite |>])[源代码]
-
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | OUI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | TYPE | VERSION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | GROUP CIPHER SUITE |NB PAIRWISE CIP| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PAIRWISE CIPHER SUITES | NB AKM SUITES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | AKM SUITES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltMicrosoftWPA
Dot11EltMicrosoftWPA fields ID
221
len
None
oui
20722
type
1
version
1
group_cipher_suite
<RSNCipherSuite |>
nb_pairwise_cipher_suites
None
pairwise_cipher_suites
[<RSNCipherSuite |>]
nb_akm_suites
None
akm_suites
[<AKMSuite |>]
- match_subclass = True
- class scapy.layers.dot11.Dot11EltOBSS(_pkt, /, *, ID=74, len=14, Passive_Dwell=0, Active_Dwell=0, Scan_Interval=0, Passive_Total_Per_Channel=0, Active_Total_Per_Channel=0, Delay=0, Activity_Threshold=0)[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | PASSIVE DWELL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ACTIVE DWELL | SCAN INTERVAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PASSIVE TOTAL PER CHANNEL | ACTIVE TOTAL PER CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DELAY | ACTIVITY THRESHOLD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltOBSS
Dot11EltOBSS fields ID
74
len
14
Passive_Dwell
0
Active_Dwell
0
Scan_Interval
0
Passive_Total_Per_Channel
0
Active_Total_Per_Channel
0
Delay
0
Activity_Threshold
0
- class scapy.layers.dot11.Dot11EltRSN(_pkt, /, *, ID=48, len=None, version=1, group_cipher_suite=<RSNCipherSuite |>, nb_pairwise_cipher_suites=None, pairwise_cipher_suites=[<RSNCipherSuite |>], nb_akm_suites=None, akm_suites=[<AKMSuite |>], mfp_capable=1, mfp_required=1, gtksa_replay_counter=0, ptksa_replay_counter=0, no_pairwise=0, pre_auth=0, reserved=0, ocvc=0, extended_key_id=0, pbac=0, spp_a_msdu_required=0, spp_a_msdu_capable=0, peer_key_enabled=0, joint_multiband_rsna=0, pmkids=<PMKIDListPacket |>, group_management_cipher_suite=<RSNCipherSuite cipher=BIP-CMAC-128 |>)[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | VERSION | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GROUP CIPHER SUITE | NB PAIRWISE CIPHER SUITES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PAIRWISE CIPHER SUITES | NB AKM SUITES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AKM SUITES |M|M|GTK|PTK|N|P|R|O|E|P|S|S|P|J| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PMKIDS | GROUP MANAGEMENT CIPHER SUITE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltRSN
Dot11EltRSN fields ID
48
len
None
version
1
group_cipher_suite
<RSNCipherSuite |>
nb_pairwise_cipher_suites
None
pairwise_cipher_suites
[<RSNCipherSuite |>]
nb_akm_suites
None
akm_suites
[<AKMSuite |>]
mfp_capable
BitField
(1 bit)1
mfp_required
BitField
(1 bit)1
gtksa_replay_counter
BitField
(2 bits)0
ptksa_replay_counter
BitField
(2 bits)0
no_pairwise
BitField
(1 bit)0
pre_auth
BitField
(1 bit)0
reserved
BitField
(1 bit)0
ocvc
BitField
(1 bit)0
extended_key_id
BitField
(1 bit)0
pbac
BitField
(1 bit)0
spp_a_msdu_required
BitField
(1 bit)0
spp_a_msdu_capable
BitField
(1 bit)0
peer_key_enabled
BitField
(1 bit)0
joint_multiband_rsna
BitField
(1 bit)0
pmkids
PacketField
(Cond)<PMKIDListPacket |>
group_management_cipher_suite
PacketField
(Cond)<RSNCipherSuite cipher=BIP-CMAC-128 |>
- match_subclass = True
- class scapy.layers.dot11.Dot11EltRates(_pkt, /, *, ID=1, len=None, rates=[130])[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | RATES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltRates
Dot11EltRates fields ID
1
len
None
rates
[130]
- match_subclass = True
- class scapy.layers.dot11.Dot11EltVHTOperation(_pkt, /, *, ID=192, len=5, VHT_Operation_Info=<Dot11VHTOperationInfo |>, mcs_set=[0])[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | VHT OPERATION INFO | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MCS SET | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltVHTOperation
Dot11EltVHTOperation fields ID
192
len
5
VHT_Operation_Info
<Dot11VHTOperationInfo |>
mcs_set
[0]
- class scapy.layers.dot11.Dot11EltVendorSpecific(_pkt, /, *, ID=221, len=None, oui=0, info=b'')[源代码]
基类:
Dot11Elt
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ID | LEN | OUI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | INFO | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11EltVendorSpecific
Dot11EltVendorSpecific fields ID
221
len
None
oui
0
info
b''
- match_subclass = True
- class scapy.layers.dot11.Dot11FCS(_pkt, /, *, subtype=0, type=0, proto=0, cfe=0, FCfield=None, ID=0, addr1='00:00:00:00:00:00', addr2='00:00:00:00:00:00', addr3='00:00:00:00:00:00', SC=0, addr4='00:00:00:00:00:00', fcs=None)[源代码]
基类:
Dot11
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |SUBTYPE|TYP|PRO| CFE | FCFIELD | ID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR1 | +-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR3 | +-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+ | | SC | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | ADDR4 | +-+-+-+-+ +-+-+-+-+-+-+-+-+-+-+-+-+ | | FCS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11FCS
Dot11FCS fields subtype
0
type
0
proto
BitField
(2 bits)0
cfe
BitEnumField
(Cond)0
FCfield
MultipleTypeField
(FlagsField, FlagsField)<Flag 0 ()>
ID
0
addr1
_Dot11MacField
'00:00:00:00:00:00'
addr2
_Dot11MacField
(Cond)'00:00:00:00:00:00'
addr3
_Dot11MacField
(Cond)'00:00:00:00:00:00'
SC
LEShortField
(Cond)0
addr4
_Dot11MacField
(Cond)'00:00:00:00:00:00'
fcs
None
- match_subclass = True
- class scapy.layers.dot11.Dot11PacketList(res=None, name='Dot11List', stats=None)[源代码]
基类:
PacketList
- class scapy.layers.dot11.Dot11ProbeResp(_pkt, /, *, timestamp=0, beacon_interval=100, cap=<Flag 0 ()>)[源代码]
基类:
_Dot11EltUtils
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TIMESTAMP | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | BEACON INTERVAL | CAP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11ProbeResp
Dot11ProbeResp fields timestamp
0
beacon_interval
100
cap
<Flag 0 ()>
- class scapy.layers.dot11.Dot11QoS(_pkt, /, *, A_MSDU_Present=0, Ack_Policy=0, EOSP=0, TID=0, TXOP=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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |A|ACK|E| TID | TXOP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11QoS
Dot11QoS fields A_MSDU_Present
BitField
(1 bit)0
Ack_Policy
BitField
(2 bits)0
EOSP
BitField
(1 bit)0
TID
BitField
(4 bits)0
TXOP
0
- class scapy.layers.dot11.Dot11ReassoReq(_pkt, /, *, cap=<Flag 0 ()>, listen_interval=200, current_AP='00:00:00:00:00:00')[源代码]
基类:
_Dot11EltUtils
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAP | LISTEN INTERVAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CURRENT AP | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11ReassoReq
Dot11ReassoReq fields cap
<Flag 0 ()>
listen_interval
200
current_AP
'00:00:00:00:00:00'
- class scapy.layers.dot11.Dot11ReassoResp(_pkt, /, *, cap=<Flag 0 ()>, status=0, AID=0)[源代码]
-
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAP | STATUS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | AID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11ReassoResp
Dot11ReassoResp fields cap
<Flag 0 ()>
status
0
AID
0
- class scapy.layers.dot11.Dot11SpectrumManagement(_pkt, /, *, action=0)[源代码]
基类:
Packet
- aliastypes
- class scapy.layers.dot11.Dot11TKIP(_pkt, /, *, TSC1=0, WEPSeed=0, TSC0=0, key_id=0, ext_iv=0, res=0, TSC2=0, TSC3=0, TSC4=0, TSC5=0, data=None)[源代码]
-
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TSC1 | WEPSEED | TSC0 |KEY|E| RES | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TSC2 | TSC3 | TSC4 | TSC5 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11TKIP
Dot11TKIP fields TSC1
0
WEPSeed
0
TSC0
0
key_id
BitField
(2 bits)0
ext_iv
BitField
(1 bit)0
res
BitField
(5 bits)0
TSC2
ByteField
(Cond)0
TSC3
ByteField
(Cond)0
TSC4
ByteField
(Cond)0
TSC5
ByteField
(Cond)0
data
None
- class scapy.layers.dot11.Dot11VHTOperationInfo(_pkt, /, *, channel_width=0, channel_center0=36, channel_center1=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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL WIDTH |CHANNEL CENTER0|CHANNEL CENTER1| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11VHTOperationInfo
Dot11VHTOperationInfo fields channel_width
0
channel_center0
36
channel_center1
0
- class scapy.layers.dot11.Dot11WEP(_pkt, /, *, iv=b'\x00\x00\x00', keyid=0, wepdata=None, icv=None)[源代码]
-
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IV | KEYID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | WEPDATA | ICV | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. Dot11WEP
Dot11WEP fields iv
b'\x00\x00\x00'
keyid
0
wepdata
None
icv
None
- class scapy.layers.dot11.Dot11WNM(_pkt, /, *, action=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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ACTION | +-+-+-+-+-+-+-+-+ Fig. Dot11WNM
Dot11WNM fields action
0
- payload_guess
Possible sublayers:
Dot11BSSTMRequest
,Dot11BSSTMResponse
- class scapy.layers.dot11.NeighborReport(_pkt, /, *, type=0, len=13, BSSID='00:00:00:00:00:00', AP_reach=0, security=0, key_scope=0, capabilities=0, mobility=0, HT=0, VHT=0, FTM=0, reserved=0, op_class=0, channel=0, phy_type=0, subelems=[<SubelemTLV |>])[源代码]
基类:
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 | BSSID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |AP |S|K|CAPABILITIE|M|H|V|F| RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OP CLASS | CHANNEL | PHY TYPE | SUBELEMS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. NeighborReport
NeighborReport fields type
0
len
13
BSSID
'00:00:00:00:00:00'
AP_reach
BitField
(2 bits)0
security
BitField
(1 bit)0
key_scope
BitField
(1 bit)0
capabilities
BitField
(6 bits)0
mobility
BitField
(1 bit)0
HT
BitField
(1 bit)0
VHT
BitField
(1 bit)0
FTM
BitField
(1 bit)0
reserved
BitField
(18 bits)0
op_class
0
channel
0
phy_type
0
subelems
PacketListField
(Cond)[<SubelemTLV |>]
- class scapy.layers.dot11.PMKIDListPacket(_pkt, /, *, nb_pmkids=None, pmkid_list=[])[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NB PMKIDS | PMKID LIST | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PMKIDListPacket
PMKIDListPacket fields nb_pmkids
None
pmkid_list
[]
- class scapy.layers.dot11.PrismHeader(_pkt, /, *, msgcode=68, len=144, dev=b'', hosttime_did=0, hosttime_status=0, hosttime_len=0, hosttime=0, mactime_did=0, mactime_status=0, mactime_len=0, mactime=0, channel_did=0, channel_status=0, channel_len=0, channel=0, rssi_did=0, rssi_status=0, rssi_len=0, rssi=0, sq_did=0, sq_status=0, sq_len=0, sq=0, signal_did=0, signal_status=0, signal_len=0, signal=0, noise_did=0, noise_status=0, noise_len=0, noise=0, rate_did=0, rate_status=0, rate_len=0, rate=0, istx_did=0, istx_status=0, istx_len=0, istx=0, frmlen_did=0, frmlen_status=0, frmlen_len=0, frmlen=0)[源代码]
基类:
Packet
iwpriv wlan0 monitor 3
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MSGCODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DEV | + + | | + + | | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOSTTIME DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOSTTIME STATUS | HOSTTIME LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HOSTTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MACTIME DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MACTIME STATUS | MACTIME LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MACTIME | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL STATUS | CHANNEL LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNEL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RSSI DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RSSI STATUS | RSSI LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RSSI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SQ DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SQ STATUS | SQ LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SQ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIGNAL DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIGNAL STATUS | SIGNAL LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SIGNAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NOISE DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NOISE STATUS | NOISE LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NOISE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RATE DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RATE STATUS | RATE LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RATE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ISTX DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ISTX STATUS | ISTX LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ISTX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRMLEN DID | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRMLEN STATUS | FRMLEN LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FRMLEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. PrismHeader
PrismHeader fields msgcode
68
len
144
dev
b''
hosttime_did
0
hosttime_status
0
hosttime_len
0
hosttime
0
mactime_did
0
mactime_status
0
mactime_len
0
mactime
0
channel_did
0
channel_status
0
channel_len
0
channel
0
rssi_did
0
rssi_status
0
rssi_len
0
rssi
0
sq_did
0
sq_status
0
sq_len
0
sq
0
signal_did
0
signal_status
0
signal_len
0
signal
0
noise_did
0
noise_status
0
noise_len
0
noise
0
rate_did
0
rate_status
0
rate_len
0
rate
0
istx_did
0
istx_status
0
istx_len
0
istx
0
frmlen_did
0
frmlen_status
0
frmlen_len
0
frmlen
0
- class scapy.layers.dot11.RSNCipherSuite(_pkt, /, *, oui=4012, cipher=4)[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CIPHER | +-+-+-+-+-+-+-+-+ Fig. RSNCipherSuite
RSNCipherSuite fields oui
4012
cipher
4
- class scapy.layers.dot11.RadioTap(_pkt, /, *, version=0, pad=0, len=None, present=None, Ext=[], mac_timestamp=0, Flags=None, Rate=0, ChannelFrequency=0, ChannelFlags=None, dBm_AntSignal=0, dBm_AntNoise=0, Lock_Quality=0, Antenna=0, RXFlags=None, TXFlags=None, ChannelPlusFlags=None, ChannelPlusFrequency=0, ChannelPlusNumber=0, knownMCS=None, Ness_LSB=0, STBC_streams=0, FEC_type=0, HT_format=0, guard_interval=0, MCS_bandwidth=0, MCS_index=0, A_MPDU_ref=0, A_MPDU_flags=None, KnownVHT=None, PresentVHT=None, VHT_bandwidth=0, mcs_nss=0, GroupID=0, PartialAID=0, timestamp=0, ts_accuracy=0, ts_unit=0, ts_position=0, ts_flags=None, he_data1=0, he_data2=0, he_data3=0, he_data4=0, he_data5=0, he_data6=0, hemu_flags1=0, hemu_flags2=0, RU_channel1=[], RU_channel2=[], hemuou_per_user_1=32767, hemuou_per_user_2=63, hemuou_per_user_position=0, hemuou_per_user_known=<Flag 0 ()>, lsig_data1=<Flag 0 ()>, lsig_length=0, lsig_rate=0, tlvs=[], notdecoded=b'')[源代码]
基类:
Packet
- aliastypes
- deprecated_fields: Dict[str, Tuple[str, str]] = {'Channel': ('ChannelFrequency', '2.4.3'), 'ChannelFlags2': ('ChannelPlusFlags', '2.4.3'), 'ChannelNumber': ('ChannelPlusNumber', '2.4.3')}
- 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 | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PRESENT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | EXT | MAC TIMESTAMP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | FLAGS | RATE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CHANNELFREQUENCY | CHANNELFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DBM ANTSIGNAL | DBM ANTNOISE | LOCK QUALITY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ANTENNA | RXFLAGS | TXFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | CHANNELPLUSFLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | CHANNELPLUSFREQUENCY |CHANNELPLUSNUMB| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | KNOWNMCS |N|STB|F|H|G|MCS| MCS INDEX | A MPDU REF | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | A MPDU FLAGS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | KNOWNVHT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | PRESENTVHT | VHT BANDWIDTH | MCS NSS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GROUPID | PARTIALAID | TIMESTAMP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + +-+-+-+-+-+-+-+-+ | | TS ACCURACY | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |TS UNIT|TS POSI| TS FLAGS | HE DATA1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | HE DATA2 | HE DATA3 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | HE DATA4 | HE DATA5 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | HE DATA6 | HEMU FLAGS1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | HEMU FLAGS2 | RU CHANNEL1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | RU CHANNEL2 |HEMUOU PER USER| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | HEMUOU PER USER 2 |HEMUOU PER USER| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | HEMUOU PER USER KNOWN | LSIG DATA1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | LSIG LENGTH |LSIG RA| TLVS | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NOTDECODED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RadioTap
RadioTap fields version
0
pad
0
len
None
present
None
Ext
PacketListField
(Cond)[]
mac_timestamp
ReversePadField
(Cond)0
Flags
FlagsField
(Cond)None
Rate
ScalingField
(Cond)0
ChannelFrequency
ReversePadField
(Cond)0
ChannelFlags
FlagsField
(Cond)None
dBm_AntSignal
ScalingField
(Cond)0
dBm_AntNoise
ScalingField
(Cond)0
Lock_Quality
ReversePadField
(Cond)0
Antenna
ByteField
(Cond)0
RXFlags
ReversePadField
(Cond)None
TXFlags
ReversePadField
(Cond)None
ChannelPlusFlags
ReversePadField
(Cond)None
ChannelPlusFrequency
LEShortField
(Cond)0
ChannelPlusNumber
ByteField
(Cond)0
knownMCS
ReversePadField
(Cond)None
Ness_LSB
BitField
(Cond) (1 bit)0
STBC_streams
BitField
(Cond) (2 bits)0
FEC_type
BitEnumField
(Cond)0
HT_format
BitEnumField
(Cond)0
guard_interval
BitEnumField
(Cond)0
MCS_bandwidth
BitEnumField
(Cond)0
MCS_index
ByteField
(Cond)0
A_MPDU_ref
ReversePadField
(Cond)0
A_MPDU_flags
FlagsField
(Cond)None
KnownVHT
ReversePadField
(Cond)None
PresentVHT
FlagsField
(Cond)None
VHT_bandwidth
ByteEnumField
(Cond)0
mcs_nss
StrFixedLenField
(Cond)0
GroupID
ByteField
(Cond)0
PartialAID
ShortField
(Cond)0
timestamp
ReversePadField
(Cond)0
ts_accuracy
LEShortField
(Cond)0
ts_unit
BitEnumField
(Cond)0
ts_position
BitField
(Cond) (4 bits)0
ts_flags
FlagsField
(Cond)None
he_data1
ReversePadField
(Cond)0
he_data2
LEShortField
(Cond)0
he_data3
LEShortField
(Cond)0
he_data4
LEShortField
(Cond)0
he_data5
LEShortField
(Cond)0
he_data6
LEShortField
(Cond)0
hemu_flags1
ReversePadField
(Cond)0
hemu_flags2
LEShortField
(Cond)0
RU_channel1
FieldListField
(Cond)[]
RU_channel2
FieldListField
(Cond)[]
hemuou_per_user_1
ReversePadField
(Cond)32767
hemuou_per_user_2
LEShortField
(Cond)63
hemuou_per_user_position
ByteField
(Cond)0
hemuou_per_user_known
FlagsField
(Cond)<Flag 0 ()>
lsig_data1
ReversePadField
(Cond)<Flag 0 ()>
lsig_length
BitField
(Cond) (12 bits)0
lsig_rate
BitField
(Cond) (4 bits)0
tlvs
ReversePadField
(Cond)[]
notdecoded
b''
- class scapy.layers.dot11.RadioTapExtendedPresenceMask(_pkt, /, *, present=None)[源代码]
基类:
Packet
RadioTapExtendedPresenceMask should be instantiated by passing an index= kwarg, stating which place the item has in the list.
- Passing index will update the b[x] fields accordingly to the index.
- e.g.
>>> a = RadioTapExtendedPresenceMask(present="b0+b12+b29+Ext") >>> b = RadioTapExtendedPresenceMask(index=1, present="b33+b45+b59+b62") >>> pkt = RadioTap(present="Ext", Ext=[a, b])
- 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PRESENT | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. RadioTapExtendedPresenceMask
RadioTapExtendedPresenceMask fields present
None
- class scapy.layers.dot11.RadioTapTLV(_pkt, /, *, type=0, length=None, oui=0, subtype=0, presence_type=0, reserved=0, data=b'', pad=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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LENGTH | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | SUBTYPE | PRESENCE TYPE | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | DATA | PAD | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. RadioTapTLV
RadioTapTLV fields type
0
length
None
oui
OUIField
(Cond)0
subtype
ByteField
(Cond)0
presence_type
LEShortField
(Cond)0
reserved
LEShortField
(Cond)0
data
b''
pad
None
- class scapy.layers.dot11.SubelemTLV(_pkt, /, *, type=0, len=None, value=[])[源代码]
基类:
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 | VALUE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. SubelemTLV
SubelemTLV fields type
0
len
None
value
[]
- class scapy.layers.dot11.WiFi_am(self, iffrom=<NetworkInterface eth0 [UP+BROADCAST+RUNNING+SLAVE]>, ifto=<NetworkInterface eth0 [UP+BROADCAST+RUNNING+SLAVE]>, replace='', pattern='', ignorepattern='')[源代码]
-
Before using this, initialize "iffrom" and "ifto" interfaces: iwconfig iffrom mode monitor iwpriv orig_ifto hostapd 1 ifconfig ifto up note: if ifto=wlan0ap then orig_ifto=wlan0 note: ifto and iffrom must be set on the same channel ex: ifconfig eth1 up iwconfig eth1 mode monitor iwconfig eth1 channel 11 iwpriv wlan0 hostapd 1 ifconfig wlan0ap up iwconfig wlan0 channel 11 iwconfig wlan0 essid dontexist iwconfig wlan0 mode managed
- filter: str | None = None
- function_name = 'airpwn'
- optam0: Dict[str, Any]
- optam1: Dict[str, Any]
- optam2: Dict[str, Any]
- optsend: Dict[str, Any]
- optsniff: Dict[str, Any]