ivanlei / airodump-iv

A python implementation of airodump-ng
81 stars 46 forks source link

Problems filtering once I import scapy_ex #5

Open Fare9 opened 7 years ago

Fare9 commented 7 years ago

Hi, I'm trying to use scapy_ex to proccess some packets in 802.11, but I don't know why I can't filter beacon frames (type 0 subtype 8).

When I import scapy_ex:

if pkt.haslayer(Dot11): if pkt.type == 0 and pkt.subtype == 8:

this filter does not work, but without scape_ex It works xD.

Do you know what's going on? or what it's the problem?

Thank you. Regards.

Fare9 commented 7 years ago

I'm doing some proofs with pkt.show(), and all I get if i import scapy_ex is [ RAW ],[ RAW ],[ RAW ]... instead of [ 802.11 ] or [ RadioTap dummy ]

hash3liZer commented 6 years ago

A year ago, i ended up here too. I talked to the author about this. But he said he don't have any clue on this because he wrote it a long time ago. Moreover, the RAW fields you are talking, you can make them readable by binascii.hexlify() function. It will make the RAW data readable by converting the corresponding characters to hex.