How to detect all visited websites?

Posted on 2009-02-22
Last Modified: 2013-12-03
Hi, I am writing a program that needs to detect what websites user visits and at what time.
Is there a way to do this (I need it to work in general on any browser)?

I was thinking about windows hooks, in fact I have some experience with them, but in this case I have no idea which one to use

Im writing the program in Delphi, but the language doesnt really matter as I just need the "Know How" (or if you provide a code, I can translate)
Question by:_bezy_
    LVL 5

    Expert Comment

    1) use a sniffer (like Wireshark) to record all traffic

    2) you can make a use of following tool:
    It records different types of user's activities. You can configure it to monitor specific appications only (ie, firefix etc.), and also instruct it, for example, to only store network-related events.
    The configuration is explained here:
    It stores captured events in binary format, and comes with a tool to convert it to text file. You can later see all "gethostbyname" calls and opened connections.

    You can also use it as a reference for hooking WinSock functions.
    LVL 86

    Accepted Solution

    Take a look at ("URL/Web Addresses Logger"), this seems to be exactly what you're looking for. This article demonstrates how to do that WinPCAP and comes with full source code.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
    Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
    The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
    The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now