AleksaMCode / Preferred-Network-List-Sniffer

A reconnaissance tool for capturing and displaying SSIDs from device's Preferred Network List.
MIT License
139 stars 7 forks source link

[BUG] Sniffer performance issue due to limits of Scapy library #13

Open AleksaMCode opened 8 months ago

AleksaMCode commented 8 months ago

Is there an existing issue for this?

Description

When capturing Probe Requests with both, the PNLS and Airodump-ng, I've noticed that not all SSIDs are displayed on PNLS web UI.

System information

  1. Kali Linux
  2. 2023.3
  3. Raspberry Pi 4

Actual Behavior

Some of the packets are never captured in moments of heavy packet loads.

Expected Behavior

To capture all of the packets.

Steps To Reproduce

Run the PNLS normally.

Anything else?

Scapy doesn't handle heavy loads very well because it processes packets too slowly. The load could be decreased, if you make the OS filter the packets instead of Scapy, which can be done when using the filter= argument.

Here are some useful links:

AleksaMCode commented 8 months ago

Also, in addition to looking into Scapy, the parser function could be updated.