-
Notifications
You must be signed in to change notification settings - Fork 178
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
Hidden essid causes a crash in screen.py #31
Comments
I've checked and this seems to be a bug within WiFiBroot when layers are dissected. Will fix it up and update |
@wszacowny Can you make a pull request or show me the code you modified? |
I assumed that ESSID lenght cannot exceed 32 characters, so I just added one line here :
Probably not perfect but it fixed my case. |
I can't use that, still an error. But I have a workaround to fix that, we can strip value \x00 from ap['essid']
And it's work for me as well. Tested on Backbox Linux (Ubuntu 18)
That ESSID has indicated as Hidden ESSID. |
Hi, thanks for the workaround. Can you open pull request for this? I would not be able to look at this for atleast a month. |
Sure :) |
@mirfansulaiman Thanks. Closing it now and putting it in solved. |
Hello,
During network scanning, I had a systematic crash in screen.py:
Some of my AP do not boardcast their ESSID and I think it caused this issue.
I edited the code to add a basic print in screen.Shifter function:
Here the last 2 prints just before TypeError:
Noticed the apparition of this value in the last iteration:
u'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
I just added a condition to grep this string in ap['essid'] and set it to ' ', everything worked fine after that.
The text was updated successfully, but these errors were encountered: