wifiphisher icon indicating copy to clipboard operation
wifiphisher copied to clipboard

Right after installation process completed, i got this issue. Please help

Open afiqnazir opened this issue 3 years ago • 9 comments

wifiphisher [*] Starting Wifiphisher 1.4GIT ( https://wifiphisher.org ) at 2021-05-15 09:42 [+] Timezone detected. Setting channel range to 1-13 ERROR:root:The following error has occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 456, in start mon_iface, ap_iface = self.network_manager.get_interface_automatically( File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 626, in get_interface_automatically monitor_interface = self.get_interface(has_monitor_mode=True) File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 615, in get_interface raise InterfaceCantBeFoundError((has_monitor_mode, has_ap_mode)) wifiphisher.common.interfaces.InterfaceCantBeFoundError: Failed to find an interface with monitor mode [!] Failed to find an interface with monitor mode [+] Show your support! [+] Follow us: https://twitter.com/wifiphisher [+] Like us: https://www.facebook.com/Wifiphisher [+] Captured credentials: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 456, in start mon_iface, ap_iface = self.network_manager.get_interface_automatically( File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 626, in get_interface_automatically monitor_interface = self.get_interface(has_monitor_mode=True) File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 615, in get_interface raise InterfaceCantBeFoundError((has_monitor_mode, has_ap_mode)) wifiphisher.common.interfaces.InterfaceCantBeFoundError: Failed to find an interface with monitor mode

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/usr/local/bin/wifiphisher", line 33, in sys.exit(load_entry_point('wifiphisher==1.4', 'console_scripts', 'wifiphisher')()) File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 729, in run engine.start() File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 514, in start self.stop() File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 355, in stop self.fw.on_exit() File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/firewall.py", line 57, in on_exit self.clear_rules() File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/firewall.py", line 28, in clear_rules execute_commands([ File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/utilities.py", line 23, in execute_commands _, error = Popen(command.split(), stderr=PIPE, stdout=DN).communicate() File "/usr/lib/python3.9/subprocess.py", line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.9/subprocess.py", line 1823, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'iptables'

afiqnazir avatar May 15 '21 04:05 afiqnazir

Looks like your wifi interface doesn't support monitor mode. You can try this command before launching wifiphisher. "sudo airmon-ng start (wifi interface)"

And it also seems like you don't have install iptables. Try "sudo apt install iptables" if you're using debain

Prisoner2-6-7 avatar May 20 '21 23:05 Prisoner2-6-7

في جمعة، 21 مايو، 2021 في 01:37، كتب mukto-cyber @.***>:

Looks like your wifi interface doesn't support monitor mode. You can try this command before launching wifiphisher. "sudo airmon-ng start (wifi interface)"

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wifiphisher/wifiphisher/issues/1440#issuecomment-845550846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGI5XADNZ7HDKYQ5V67DXITTOWMMNANCNFSM445PEMAQ .

مش فاهم حاجه

nadyahmed avatar May 20 '21 23:05 nadyahmed

same a problem. I installed iptables

ERROR:root:The following error has occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 456, in start mon_iface, ap_iface = self.network_manager.get_interface_automatically( File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 626, in get_interface_automatically monitor_interface = self.get_interface(has_monitor_mode=True) File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 615, in get_interface raise InterfaceCantBeFoundError((has_monitor_mode, has_ap_mode)) wifiphisher.common.interfaces.InterfaceCantBeFoundError: Failed to find an interface with monitor mode==

iw dev => wlan0 type managed

But I can use airodump-ng wlan0 to search for nearby ESSID, BSSID and STATION below can also be found .

What is the solution to this problem? Thanks

yanchingyu avatar May 21 '21 05:05 yanchingyu

same a problem. I installed iptables

ERROR:root:The following error has occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 456, in start mon_iface, ap_iface = self.network_manager.get_interface_automatically( File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 626, in get_interface_automatically monitor_interface = self.get_interface(has_monitor_mode=True) File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 615, in get_interface raise InterfaceCantBeFoundError((has_monitor_mode, has_ap_mode)) wifiphisher.common.interfaces.InterfaceCantBeFoundError: Failed to find an interface with monitor mode==

iw dev => wlan0 type managed

But I can use airodump-ng wlan0 to search for nearby ESSID, BSSID and STATION below can also be found .

What is the solution to this problem? Thanks

After you airmon-ng start wifi interface, Can you type "iwconfig" and share the results ?

Prisoner2-6-7 avatar May 21 '21 05:05 Prisoner2-6-7

same a problem. I installed iptables

ERROR:root:The following error has occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 456, in start mon_iface, ap_iface = self.network_manager.get_interface_automatically( File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 626, in get_interface_automatically monitor_interface = self.get_interface(has_monitor_mode=True) File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 615, in get_interface raise InterfaceCantBeFoundError((has_monitor_mode, has_ap_mode)) wifiphisher.common.interfaces.InterfaceCantBeFoundError: Failed to find an interface with monitor mode==

iw dev => wlan0 type managed

But I can use airodump-ng wlan0 to search for nearby ESSID, BSSID and STATION below can also be found .

What is the solution to this problem? Thanks

After you airmon-ng start wifi interface, Can you type "iwconfig" and share the results ?

Kali 2020.4

image

yanchingyu avatar May 21 '21 06:05 yanchingyu

same a problem. I installed iptables

ERROR:root:The following error has occurred: Traceback (most recent call last): File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/pywifiphisher.py", line 456, in start mon_iface, ap_iface = self.network_manager.get_interface_automatically( File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 626, in get_interface_automatically monitor_interface = self.get_interface(has_monitor_mode=True) File "/usr/local/lib/python3.9/dist-packages/wifiphisher-1.4-py3.9.egg/wifiphisher/common/interfaces.py", line 615, in get_interface raise InterfaceCantBeFoundError((has_monitor_mode, has_ap_mode)) wifiphisher.common.interfaces.InterfaceCantBeFoundError: Failed to find an interface with monitor mode==

iw dev => wlan0 type managed

But I can use airodump-ng wlan0 to search for nearby ESSID, BSSID and STATION below can also be found .

What is the solution to this problem? Thanks

After you airmon-ng start wifi interface, Can you type "iwconfig" and share the results ?

Kali 2020.4

image

does your network card support AP mode ?

Prisoner2-6-7 avatar Jun 11 '21 17:06 Prisoner2-6-7

problem solved. reinstall RTL88X2BU chipset, and I modified CONFIG_MODE_MONITOR=y in rtl88x2bu/MAKEFILE.

Driver for rtl88x2bu wifi adaptors : https://github.com/cilynx/rtl88x2bu

yanchingyu avatar Jun 11 '21 18:06 yanchingyu

problem solved. reinstall RTL88X2BU chipset, and I modified CONFIG_MODE_MONITOR=y in rtl88x2bu/MAKEFILE.

Driver for rtl88x2bu wifi adaptors : https://github.com/cilynx/rtl88x2bu

great job.. Btw how did you got this idea ?

Prisoner2-6-7 avatar Jun 11 '21 19:06 Prisoner2-6-7

I read in an article that the driver of RTL88X2BU does not enable monitoring mode by default, but I forgot where the article.

yanchingyu avatar Jun 12 '21 07:06 yanchingyu