Skip to content
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

PMKID attack with essid option - invalid literal for int() with base 10 #211

Open
rouxn-bsi opened this issue Mar 1, 2024 · 1 comment

Comments

@rouxn-bsi
Copy link

Description

eaphammer is crashing using the --pmkid and --essid parameters.
I understand the tool is searching the channel but it seem to expect an get an "int" when a string is returned (or the string is incorrectly parsed).

Steps to reproduce the behavior:

  1. Latest Kali
  2. Alfa AC1900
  3. sudo eaphammer --pmkid --interface wlan0 --essid "FIXME"

Expected behavior

Not crashing ;-)

Screenshots

image

Command string(s) used

sudo eaphammer --pmkid --interface wlan0 --essid "FIXME"

Traceback (most recent call last):
File "/usr/share/eaphammer/./eaphammer", line 1209, in
pmkid_attack()
File "/usr/share/eaphammer/./eaphammer", line 922, in pmkid_attack
channel = iw_parse.helper_functions.find_channel_from_bssid(bssid, networks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/eaphammer/core/iw_parse/helper_functions.py", line 4, in find_channel_from_bssid
return int(n['Channel'])
^^^^^^^^^^^^^^^^^
ValueError: invalid literal for int() with base 10: '5.66 GHz (Channel 132)'

OS (the OS from which you are running EAPHammer)

Kali OS

Configuration of Target Client Device (if known / applicable)

Alfa AC1900

@rouxn-bsi
Copy link
Author

I tried to set the channel but it crashed the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant