Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated to python 3 - but original bugs still exist #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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 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