Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Conversation

@charliebabbitt1988
Copy link

This has been updated to python 3 and some functionality was added so that you can specify an interface as sys.argv[1]. There is no check with nmcli, however. If this code base can have the original bugs addressed, then a check for the wi-fi interface can be added by parsing the output of "nmcli dev status" or the contents of /etc/NetworkManager/NetworkManager.conf. If the former shows it as "unmanaged", then the check would pass. If the latter check has an exception for the interface under "[devices]", then that check would also pass.

That stated, the original bugs, as documented in the main README.md, still exist and should be addressed first by either handling the exceptions smartly or refactoring this code entirely.

I didn't like the random channel hopping so I made it sequential.  I also added the 5 Ghz (802.11 a band) channels for adapters like the AWUS051NH that support it.

Depending on the 5 Ghz channel selected, there may be errors from the iw command such as "command failed: Invalid argument (-22)", but most channels will work for capturing packets in the a band.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant