vanhoefm / krackattacks-scripts

Other
3.33k stars 768 forks source link

L2 socket is not defined #99

Closed KetCyber26 closed 1 year ago

KetCyber26 commented 1 year ago

root㉿kali)-[~/krackattacks-scripts/krackattack] └─# python krack-test-client.py Traceback (most recent call last): File "/root/krackattacks-scripts/krackattack/krack-test-client.py", line 12, in import libwifi File "/root/krackattacks-scripts/krackattack/libwifi/init.py", line 1, in from .wifi import * File "/root/krackattacks-scripts/krackattack/libwifi/wifi.py", line 204, in class MonitorSocket(L2Socket): ^^^^^^^^ NameError: name 'L2Socket' is not defined

vanhoefm commented 1 year ago

Execute the script in the python virtual environment. See the README.

KetCyber26 commented 1 year ago

even though I run source venv/bin/activate it shows no directory found.I followed each step.