Cookie Snarfing

December 14, 2009

I wrote a simple cookie snarfing attack. The source is available here: It utilized scapy, PyQt4, and multiprocessing. It enables me to hijack most popular websites over a WiFi hotspot. Right now the code only is there for gmail,,, and reddit; extending for other sites should be trivial. It works by looking for cookies, and hijacking them for my own session. A video demo is below: