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

undefined symbol: wpa_auth_write_assoc_resp_owe #93

Closed
notdodo opened this issue Jul 16, 2019 · 8 comments
Closed

undefined symbol: wpa_auth_write_assoc_resp_owe #93

notdodo opened this issue Jul 16, 2019 · 8 comments

Comments

@notdodo
Copy link

notdodo commented Jul 16, 2019

Hi!

I'm using Archlinux and I've followed and installed all the packages required by eaphammer but when I run the command

eaphammer -i wlan1 --auth wpa --wpa-version 2 --essid fakewifi --bssid xx:xx:xx:xx:xx:xx --creds

I get this output:

[?] Am I root?
[*] Checking for rootness...
[*] I AM ROOOOOOOOOOOOT
[*] Root privs confirmed! 8D
[*] Saving current iptables configuration...
[*] Reticulating radio frequency splines...

[*] Using nmcli to tell NetworkManager not to manage wlan1...

100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:01<00:00,  1.00s/it]

[*] Success: wlan1 no longer controlled by NetworkManager.
Traceback (most recent call last):
  File "./eaphammer", line 634, in <module>
    reap_creds()
  File "./eaphammer", line 294, in reap_creds
    hostapd.start()
  File "/root/eaphammer/core/hostapd.py", line 40, in start
    self.libhostapd = ctypes.cdll.LoadLibrary(self.lib_path)
  File "/usr/lib64/python3.7/ctypes/__init__.py", line 434, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib64/python3.7/ctypes/__init__.py", line 356, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: /root/eaphammer/local/hostapd-eaphammer/hostapd/libhostapd-eaphammer.so: undefined symbol: wpa_auth_write_assoc_resp_owe
@notdodo notdodo changed the title hostapd invalid option -- 'N' undefined symbol: wpa_auth_write_assoc_resp_owe Jul 16, 2019
@notdodo notdodo closed this as completed Jul 16, 2019
@s0lst1c3
Copy link
Owner

Did you figure it out?

@notdodo
Copy link
Author

notdodo commented Jul 16, 2019

Yeah! Sorry for the trouble....

I simply reinstalled all the deps using ./kali-setup ignoring Kali updates and pkgs installation.

@notdodo notdodo reopened this Aug 10, 2019
@notdodo
Copy link
Author

notdodo commented Aug 10, 2019

Sorry but I need to reopen this issue since another clean install on Archlinux produces the same error.
The installation/compilation phase of eaphammer works well only on kali.

@s0lst1c3
Copy link
Owner

Did you copy local/hostapd-eaphammer/hostapd/defconfig to local/hostapd-eaphammer/hostapd/.config before running make?

@okiwoki
Copy link

okiwoki commented Aug 17, 2019

I'm also getting a similar error on Kali for Raspberry Pi when just running ./eaphammer -i wlan0:

OSError: /opt/eaphammer/local/hostapd-eaphammer/hostapd/libhostapd-eaphammer.so: undefined symbol: wpa_ft_parse_ies

Tried copying defconfig as .config to local/hostapd-eaphammer/hostapd and still got the same error

EDIT: Looks like completely removing eaphammer and git cloning it again then running kali-setup fixed it.

@s0lst1c3
Copy link
Owner

@edoz90 Arch Linux isn't officially supported but it's on my todo list.

@okiwoki Did you run into this error when trying to upgrading your existing repository? Or on a completely fresh install? Do you mind posting the exact version of Kali you're using? There might be some nuances that apply specifically to running Kali on a Pi that I haven't taken into account.

@okiwoki
Copy link

okiwoki commented Aug 21, 2019

@okiwoki Did you run into this error when trying to upgrading your existing repository? Or on a completely fresh install? Do you mind posting the exact version of Kali you're using? There might be some nuances that apply specifically to running Kali on a Pi that I haven't taken into account.

@s0lst1c3 I was actually having the same issue on Linux Mint as well and did the same thing to fix it (completely removed eaphammer, git cloned, then ran kali-setup). What led to the error before was when I git pulled the updated files and tried to run kali-setup again. I never got a compilation error so I assumed all was fine. Complete removal and running kali-setup again fixed it for both Linux Mint and Kali on the Pi though.

@s0lst1c3
Copy link
Owner

@okiwoki
@edoz90

It sounds like the core issues are:

  • EAPHammer lacks a reliable update script
  • EAPHammer lacks setup scripts for distros aside from Kali

Given the widespread demand for these features, I've opened official feature requests to address this. For your issues in particular, see #114, #110, and #113. Closing this issue to avoid redundancy.

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

3 participants