calebmadrigal / trackerjacker

Like nmap for mapping wifi networks you're not connected to, plus device tracking
MIT License
2.63k stars 188 forks source link

rssi is incorrect #31

Open stryngs opened 3 years ago

stryngs commented 3 years ago

Hello,

I see you are using this methodology to determine your signal strength: https://github.com/calebmadrigal/trackerjacker/blob/master/trackerjacker/dot11_frame.py#L67

With newer versions of scapy you can automatically figure out the signal strength without having to resort to this kind of math.

The reason that I say you are incorrect is because your RSSI calculation will only work for certain NICs, not all NICs have the same offset. If you're curious, check out: https://github.com/stryngs/packetEssentials/blob/master/SRC/packetEssentials/lib/drivers.py

Cheers and keep scapy'ing!