vanhoefm / krackattacks-scripts

Other
3.3k stars 770 forks source link

problem with L2Socket no defined #88

Closed rtmn112211 closed 2 years ago

rtmn112211 commented 2 years ago

I have been trying to be able to execute this script, it gave me some errors when installing some things but I could solve them, but this last error that appears I have not been able to solve it, any advice or help .. Thank you very much in advance

python krack_all_zero_tk.py wlan0 wlan1 wlan2 "Monchy18" -t 3C:B7:4B:69:F9:3D

Traceback (most recent call last): File "krack_all_zero_tk.py", line 19, in from mitm_channel_based.all import * File "build/bdist.linux-x86_64/egg/mitm_channel_based/all.py", line 2, in File "build/bdist.linux-x86_64/egg/mitm_channel_based/mitm_code.py", line 6, in File "build/bdist.linux-x86_64/egg/mitm_channel_based/packet_processing.py", line 32, in NameError: name 'L2Socket' is not defined

vanhoefm commented 2 years ago

This script is not supported and is part of a different repository. You can look at https://github.com/lucascouto/krackattack-all-zero-tk-key for additional info where the attack was reproduced.

rtmn112211 commented 2 years ago

hello and thanks for your advice, in fact I'm new to this and I'm just beginning to understand, I've been reading and trying to recreate the attack but it still doesn't work, some help on where to find the correct repository or some way to correct it

vanhoefm commented 2 years ago

If you want to test whether a device is vulnerable to KRACK then use the following tool: https://github.com/vanhoefm/krackattacks-scripts It will also detect the installation of all all-zero key.

If you want to perform an actual attack against Android: see the previously mentioned repository and the explanation in my paper & talks. The PoC is available here but is not maintained and you will need to get it working in your own.