GithubHelp home page GithubHelp logo

Value Error abend about wifite2 HOT 6 CLOSED

derv82 avatar derv82 commented on July 21, 2024
Value Error abend

from wifite2.

Comments (6)

derv82 avatar derv82 commented on July 21, 2024

I also had issues parsing the Clients from the airodump-ng output. Seems to have appeared since adding the --write-interval 1 option (to update every second instead of every 5 seconds).

I thought this was fixed in this commit

Can you confirm that you have the commit above (except IndexError, ValueError:) and are still seeing this issue?

from wifite2.

Thurso1761 avatar Thurso1761 commented on July 21, 2024

Derv -- I do have the Index, ValueError at Line 198.
Could the problem be -- In py/Client.py, line 26 "int(fields[4].strip())" change int to str???

from wifite2.

Thurso1761 avatar Thurso1761 commented on July 21, 2024

Opps..wrong button.

from wifite2.

dav1app avatar dav1app commented on July 21, 2024

I got the same error on running with Raspberry Pi 3 + wireless interface.

[!] Error: invalid literal for int() with base 10: 'D8'

[!] Full stack trace below

[!] Traceback (most recent call last):
[!] File "./Wifite.py", line 201, in
[!] w.main()
[!] File "./Wifite.py", line 39, in main
[!] self.run()
[!] File "./Wifite.py", line 83, in run
[!] s = Scanner()
[!] File "/root/wifite2/py/Scanner.py", line 40, in init
[!] self.targets = airodump.get_targets()
[!] File "/root/wifite2/py/Airodump.py", line 141, in get_targets
[!] targets = Airodump.get_targets_from_csv(csv_filename)
[!] File "/root/wifite2/py/Airodump.py", line 197, in get_targets_from_csv
[!] client = Client(row)
[!] File "/root/wifite2/py/Client.py", line 26, in init
[!] self.packets = int(fields[4].strip())
[!] ValueError: invalid literal for int() with base 10: 'D8'

from wifite2.

MisterBianco avatar MisterBianco commented on July 21, 2024

It appears to be treating the fields value as an int object.
A Mac address isn't an int.

May need a regex expression to check that a value is valid?

from wifite2.

derv82 avatar derv82 commented on July 21, 2024

Bug was my bad python. Fixed in af5e3aa

try:
    ...
except IndexError, ValueError:
    # Only catches IndexError.
    # ValueError is a *variable* holding the IndexError !

from wifite2.

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.