vanhoefm / krackattacks-scripts

Other
3.3k stars 770 forks source link

Hi: #70

Closed Aiswarya-kk closed 3 years ago

Aiswarya-kk commented 4 years ago

Hi:

This is a small guide to test your client wifi. I bought TL-WN722N v1 device but I will test it with anothers... I used Kali 2017.1.

1.- Install kali.

2.- Execute:

$ apt-get update $ apt-get install libnl-3-dev libnl-genl-3-dev pkg-config libssl-dev net-tools git sysfsutils python-scapy python-pycryptodome

3.- Clone krack-attack scripts

$ git clone https://github.com/vanhoefm/krackattacks-scripts.git

4.- Compile hostapd:

$ cd krackattacks-scripts/krackattack --> We are in "krackattacks-scripts/krackattack" directory $ pwd /root/krackattacks-scripts/krackattack $ cd ../hostapd $ cp defconfig .config $ make -j 2

5.- Disable hardware network

$ cd ../krackattack/ $ chmod 777 disable-hwcrypto.sh $ ./disable-hwcrypto.sh $ rfkill unblock wifi $ ifconfig wlan0mon down $ ifconfig wlan0 down $ nmcli networking off $ reboot

6.- Test client:

$ python2 krack-test-client.py

--> It will be waiting for connections to his own ESSID. It is "testnetwork" and psk is "abcdefgh". When you connect (with other device, not with this machine Kali 2017.1) the client you will see if your client has or hasnt the vulnerability in both, normal or group.

Best regards Perico

Originally posted by @PericoMele in https://github.com/vanhoefm/krackattacks-scripts/issues/32#issuecomment-351696993

Aiswarya-kk commented 4 years ago

IMG_20190730_131449

I tried all the commands given by @PericoMele. But still it shows the same error "Disable Wi-Fi in network manager" (Attached the screenshot of error).Please help me to resolve this issue.

kimocoder commented 4 years ago

"service network-manager stop" ?

vanhoefm commented 3 years ago

Hopefully these extra instructions were useful to some! If there are suggestions to improve the README feel free to post them (or send a pull request).