Skip to content

Fixed scapy imports, added scapy oui lookup and replaced depricated iwconfig with iw#1

Open
GnussonNet wants to merge 1 commit into
Ymsniper:mainfrom
GnussonNet:fixed_oui_iw_scapy
Open

Fixed scapy imports, added scapy oui lookup and replaced depricated iwconfig with iw#1
GnussonNet wants to merge 1 commit into
Ymsniper:mainfrom
GnussonNet:fixed_oui_iw_scapy

Conversation

@GnussonNet

Copy link
Copy Markdown

Hey, nice project, I made a few small improvements like fixing the scapy imports, switching to MANUFDB for OUI lookup, and replacing iwconfig with iw. Was there a reason you used a hardcoded vendor lookup or is it ok to rely on Scapy’s database?

Changes

  • Scapy imports
    • Import RadioTap, Dot11, and Dot11Deauth from scapy.layers.dot11.
    • Import MANUFDB from scapy.all.
  • OUI vendor lookup
    • Removed hardcoded _OUI dictionary.
    • Implemented vendor lookup using MANUFDB.lookup(mac) for dynamic and up-to-date OUI.
  • Channel setting
    • Replaced deprecated iwconfig with iw for setting interface channel (the new standard).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant