python - Craft raw wifi packet -


i'd craft single wifi packets, getting raw binary data before converted waveform , transmitted. understand it, should @ data link layer, , include headers (sync bits, crc, etc) , data itself. there way (preferably python)? i've looked scapy, wireshark, etc can't tell if or how can me need.

you can dump packet via monitor mode.
example, code sniffing data packets mon0 interface:

from scapy.all import *  def handler(pkt):     if pkt.haslayer(dot11):     if pkt.type == 2:             pkt.show()  sniff(iface="mon0", prn=handler) 

Comments

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

serialization - Convert Any type in scala to Array[Byte] and back -

SonarQube Plugin for Jenkins does not find SonarQube Scanner executable -