-
Notifications
You must be signed in to change notification settings - Fork 19
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
CoreWLAN returning None for SSID/BSSID with PyObjC #19
Comments
Hi there, please can you confirm you receive the following messages when you run the script:
The first time you run the script, Python will request Location Services authorisation which you must accept for the script to function properly. You can see if the permission has been granted by going to |
I'm not the original poster, but I got the same issue. I can confirm, that python has the Location services enabled. +--------+------+-------+------+---------+---------------+ |
In the latest version of the script, I manually load the frameworks using This seems to have resolved the issue on the other MacBook I have used for testing. @donCappo and @angiangvnc please confirm this has resolved the issue for you too. |
Code run not BSSID, continues run code |
Please confirm that this is with the latest version of the script? You will need to re-clone the repository. As mentioned, this update fixes the issue on the MacBook I am using for testing. |
@phenotypic I have the same issue |
@basma-b please can you confirm this issue is with the latest version of the script (that was release a couple of hours ago)? If so, please list your macOS and Python versions. |
Yes, i run last version update today, but error BSSID none |
I encountered the same issue with not being able to access SSID/BSSID information. Then I found a discussion related to this on the Apple Developer Forums: CoreWLAN returning null SSID with PyObjC on MacOS 14.4 with Location Services enabled. Here is a quote from the original post:
So it appears to be an issue caused by the Python version in conjunction with Apple's complex and often frustrating permission management system. After some troubleshooting, I downloaded and switched to Python 3.9.13 (installed at Hope my reply helps! |
Hi @AsTonyshment, thank you for the message. You are right, the issue does not seem to occur when using the system-native version of Python. However, it's unclear whether the core problem stems from the Python version, PyObjC library, CoreWLAN framework, macOS version, or some combination of these factors. This is a difficult issue to solve as it seems to be inconsistent. For example, I am using Python 3.12.2 installed via Homebrew and I do not experience the bug, so I am unable to troubleshoot directly. Other people highlight this inconsistency in the issue you linked. This may have something to do with recent CoreWLAN privilege changes. As a note, a similar issue was opened in the PyObjC library in 2022, but was resolved by granting Python location services permissions. Of course, WiFiCrackPy requests these permissions so it is unclear why the problem persists. Ideally, the script should function seamlessly with any Python version, irrespective of whether it's system-native or installed via Homebrew. Ideally, we should try to identify the core problem so that we can flag it with the PyObjC library or the CoreWLAN framework. Any help would be greatly appreciated! |
Getting this issue on the latest script version. OS: Ventura 13.3
|
I managed to fix my issues based on this comment. There are multiple ways that Python can be installed.
Setups
this worked for me! hopefully it helps you too for now before we figure out a native solution for all brew/native/python.org versions. note from @phenotypic
gotchas -> sorry brewed up python :( |
Cumbersome, but I can confirm this works. Thank you @jeevanpillay |
I did fix the issue of |
I'm havin issues getting for way handshake with zizzania using Mac,anyone have any ideas on good tools that are compatible with Mac |
I've got the same problem, after updating to Somona 14.7 from Ventura (big mistake!). Do you test on it? |
When the script scans for networks, the BSSID results show as
None
.This means that when I select a network to crack,
zizzania
crashes with the errorTypeError: expected str, bytes or os.PathLike object, not NoneType
.I am using macOS 14.4.1, please help.
The text was updated successfully, but these errors were encountered: