Code Monkey home page Code Monkey logo

Comments (8)

hash3liZer avatar hash3liZer commented on July 18, 2024

I've checked and this seems to be a bug within WiFiBroot when layers are dissected. Will fix it up and update

from wifibroot.

hash3liZer avatar hash3liZer commented on July 18, 2024

@wszacowny Can you make a pull request or show me the code you modified?

from wifibroot.

wszacowny avatar wszacowny commented on July 18, 2024

I assumed that ESSID lenght cannot exceed 32 characters, so I just added one line here :

for ap in self.__WiFiAP:
	ap['essid'] = ' ' if len(ap['essid']) > 32 else ap['essid']
	if self.verbose:
		tabulator__.append([ap['count'], ap['essid'], ap['pwr'], ap['auth'], ap['cipher'], \
				ap['psk'], ap['channel'], ap['bssid'].upper(), ap['vendor'], ap['clients']])
	else:
		tabulator__.append([ap['count'], ap['essid'], ap['pwr'], ap['auth'], ap['cipher'], \
				ap['psk'], ap['channel'], ap['bssid'].upper()])

Probably not perfect but it fixed my case.

from wifibroot.

mirfansulaiman avatar mirfansulaiman commented on July 18, 2024

I assumed that ESSID lenght cannot exceed 32 characters, so I just added one line here :

for ap in self.__WiFiAP:
	ap['essid'] = ' ' if len(ap['essid']) > 32 else ap['essid']
	if self.verbose:
		tabulator__.append([ap['count'], ap['essid'], ap['pwr'], ap['auth'], ap['cipher'], \
				ap['psk'], ap['channel'], ap['bssid'].upper(), ap['vendor'], ap['clients']])
	else:
		tabulator__.append([ap['count'], ap['essid'], ap['pwr'], ap['auth'], ap['cipher'], \
				ap['psk'], ap['channel'], ap['bssid'].upper()])

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

ap['essid'] = ap['essid'].rstrip('\x00')

And it's work for me as well. Tested on Backbox Linux (Ubuntu 18)

for ap in self.__WiFiAP:
				ap['essid'] = ap['essid'].rstrip('\x00')
				if self.verbose:
			 		tabulator__.append([ap['count'], ap['essid'], ap['pwr'], ap['auth'], ap['cipher'], \
			 				ap['psk'], ap['channel'], ap['bssid'].upper(), ap['vendor'], ap['clients']])
			 	else:
			 		tabulator__.append([ap['count'], ap['essid'], ap['pwr'], ap['auth'], ap['cipher'], \
			 				ap['psk'], ap['channel'], ap['bssid'].upper()])

That ESSID has indicated as Hidden ESSID.

from wifibroot.

hash3liZer avatar hash3liZer commented on July 18, 2024

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.

from wifibroot.

hash3liZer avatar hash3liZer commented on July 18, 2024

@mirfansulaiman

from wifibroot.

mirfansulaiman avatar mirfansulaiman commented on July 18, 2024

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

from wifibroot.

hash3liZer avatar hash3liZer commented on July 18, 2024

@mirfansulaiman Thanks. Closing it now and putting it in solved.

from wifibroot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.