Example- When you visit Facebook, this gets noted in your browsing history. This will help you to know how Wireshark and Cain-Abel can be used to sniff packets and capture cookies. To make this simpler we can use the filter to only see the traffic we want, Type “http.cookie” in the filter. Hack Facebook And Gmail Using Cookie Stealing by Wireshark Tool. This will help you to know how Wireshark and Cain-Abel can be used to sniff packets and capture cookies. To make this simpler we can use the filter to only see the traffic we want, Type “http.cookie” in the filter.
In this tutorial I will explain you how an attacker can capture your authentication cookies on a local area network and use them to hack your facebook account, Facebook Authentication Cookies The cookie which facebook uses to authenticate it's users is called 'Datr', If an attacker can get hold of your authentication cookies, All he needs to do is to inject those cookies in his browser and he will gain access to your account. This is how a facebook authentication cookie looks like: Cookie: datr=-b7f59399293c5b0767618dc02111ede159a827030fc. In the Following steps I will be explaining how an attacker can capture your authentication cookies and hack your facebook account with wireshark.
Step 1 - First of all download wireshark from the official website and install it. Step 2 - Next open up wireshark click on analyze and then click on interfaces. Step 3 - Next choose the appropriate interface and click on start. Step 4 - Continue sniffing for around 10 minutes. Step 5 - After 10minutes stop the packet sniffing by going to the capture menu and clicking on Stop. Step 6 - Next set the filter to http.cookie contains “datr” at top left, This filter will search for all the http cookies with the name datr, And datr as we know is the name of the facebook authentication cookie.