wifiphisher / roguehostapd

Hostapd fork including Wi-Fi attacks and providing Python bindings with ctypes.
BSD 3-Clause "New" or "Revised" License
173 stars 67 forks source link

Error Running Wifiphisher #12

Closed decadenzio closed 6 years ago

decadenzio commented 6 years ago

After a clean install on Kali (4.17.0-kali3-amd64), installed roguehostapd, installed standard hostapd, it gives me this error:

root@kali:~# wifiphisher Traceback (most recent call last): File "/usr/local/bin/wifiphisher", line 11, in load_entry_point('wifiphisher==1.4', 'console_scripts', 'wifiphisher')() File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 479, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2703, in load_entry_point return ep.load() File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2321, in load return self.resolve() File "/usr/local/lib/python2.7/dist-packages/pkg_resources/init.py", line 2327, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python2.7/dist-packages/wifiphisher-1.4-py2.7.egg/wifiphisher/pywifiphisher.py", line 20, in import wifiphisher.common.extensions as extensions File "/usr/local/lib/python2.7/dist-packages/wifiphisher-1.4-py2.7.egg/wifiphisher/common/extensions.py", line 11, in import scapy.layers.dot11 as dot11 File "/usr/local/lib/python2.7/dist-packages/scapy/layers/dot11.py", line 12, in from scapy.packet import * File "/usr/local/lib/python2.7/dist-packages/scapy/packet.py", line 39 class Packet(BasePacket, metaclass = Packet_metaclass): ^ SyntaxError: invalid syntax

blackHatMonkey commented 6 years ago

@decadenzio This is problem regrading wifiphisher and not roguehostapd. There is a solution for this problem here.