FaceBook Cookie Stealing using ubuntu
FaceBook Cookie Stealing using ubuntu
HEy friends I installed Ubuntu in virtual box...so i found that facebook cookie can be steal....
so this help you to access someone's facebook on your network
Facebook send a cookie to the person login in order to keep him signed in
so our job is to get that cookie and use it to bypass login so we can use that facebook account without user/pass.
Since im doing it from ubuntu, i need to install all the tools needed
Facebook send a cookie to the person login in order to keep him signed in
so our job is to get that cookie and use it to bypass login so we can use that facebook account without user/pass.
Since im doing it from ubuntu, i need to install all the tools needed
2. Install the greasemonkey cookie injector script from here
3. Install ettercap
4. Install SSLstrip
5. Install dsniff
5.Install wireshark
To get the cookie , we need to see the traffic on our network, this is why we need wireshark
One problem oppose, we want to see data send to/from a certain ip address , this mean you need the local ip of your target ; in this case its 192.168.1.104
Now we capture the cookie, and use it to login to facebook, this is done with greasemonkey
The attack:
Enable ip forwarding to be able to resend data that we get
Code:
to enable ip forward:
sudo sysctl -w net.ipv4.ip_forward=1
to check if done corretly:
cat /proc/sys/net/ipv4/ip_forward
Enable ip tables to redirect the target from port 80 to 1000 for SSLstrip to work
Start SSLstrip
ARPspoofing to position ourselfs between the router and the client (target)
Start wireshark and select an interface to start seeing the traffic
Type this in the filter, and wait for the target to login on facebook
When he login, you will see this, just copy the printable text only, like i did
[*] Now inject the cookie in your webbrowser, go to facebook, and press ALT+C to see this input box, and past there
-grease monkey-
You can now refresh facebook, and there you go, you are logged in
Source Ubunto trutials
No comments:
Post a Comment