-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Fixing old code - replacement for 'import IW' - 'iw.scan' #816
Comments
Quick update - I've found Unfortunately the code still won't 'do' anything so I can't test if this was correct, but does it look right? |
In the same vein - another import appears to be missing now
Is there an equivalent? |
Hi @SecurityJon: Import the module, not the class or the variable. For example, in the last example:
Regards. |
The plan was that it should work without any code change, so I'm to fix this. Will be fixed asap. Still some import errors are possible (not all the modules are covered with CI), and thanks for reporting it. |
Fixed in the master branch. |
Hi there!
Hopefully a quick solution, I'm fixing up some legacy code from the https://github.com/SecurityJon/audit-radius project and this utilises pyroute2.
The code imports:
And this throws:
It's using this for wifi scanning.
I can't easily see in the docs (I'm not a python dev) the correct way of fixing this - was this functionality removed or accessed in a different way?
The text was updated successfully, but these errors were encountered: