Closed loskiq closed 6 years ago
I think you should add -i in front of you wireless adapter name
@Endagegnehu Thank you. But now there is another mistake. Command ifconfig wlan0 down
does not help
root@pi3:~/krackattacks-test-ap-ft# ./krack-ft-test.py -i wlan0 loskiq --target 6C:3B:6B:14:57:61
[10:28:42] Note: disable Wi-Fi in your network manager so it doesn't interfere with this script
command failed: Operation not supported (-95)
Traceback (most recent call last):
File "./krack-ft-test.py", line 338, in <module>
attack.run()
File "./krack-ft-test.py", line 286, in run
self.configure_interfaces()
File "./krack-ft-test.py", line 277, in configure_interfaces
subprocess.check_output(["iw", self.nic_iface, "interface", "add", self.nic_mon, "type", "monitor"])
File "/usr/lib/python2.7/subprocess.py", line 219, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['iw', 'wlan0', 'interface', 'add', 'wlan0mon', 'type', 'monitor']' returned non-zero exit status 161
[10:28:42] Closing wpa_supplicant and cleaning up ...
root@pi3:~/krackattacks-test-ap-ft#
Did you disabled hardware encryption engine of the WiFi NICs if you did not try ./disable-hwcrypto.sh
On Nov 6, 2017 10:31 AM, "loskiq" notifications@github.com wrote:
@Endagegnehu https://github.com/endagegnehu Thank you. But now there is another mistake. Command ifconfig wlan0 down does not help
root@pi3:~/krackattacks-test-ap-ft# ./krack-ft-test.py -i wlan0 loskiq --target 6C:3B:6B:14:57:61 [10:28:42] Note: disable Wi-Fi in your network manager so it doesn't interfere with this script command failed: Operation not supported (-95) Traceback (most recent call last): File "./krack-ft-test.py", line 338, in
attack.run() File "./krack-ft-test.py", line 286, in run self.configure_interfaces() File "./krack-ft-test.py", line 277, in configure_interfaces subprocess.check_output(["iw", self.nic_iface, "interface", "add", self.nic_mon, "type", "monitor"]) File "/usr/lib/python2.7/subprocess.py", line 219, in check_output raise CalledProcessError(retcode, cmd, output=output) subprocess.CalledProcessError: Command '['iw', 'wlan0', 'interface', 'add', 'wlan0mon', 'type', 'monitor']' returned non-zero exit status 161 [10:28:42] Closing wpa_supplicant and cleaning up ... root@pi3:~/krackattacks-test-ap-ft# — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vanhoefm/krackattacks-test-ap-ft/issues/11#issuecomment-342067340, or mute the thread https://github.com/notifications/unsubscribe-auth/AV4EjYkwT9XNYNoRrQXuuTt9F4tMau1Dks5szrW0gaJpZM4QSzux .
Read the readme. First execute the script using ./krack-ft-test.py --help
and then follow the instructions.
What am I doing wrong?