[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 414
  • Last Modified:

How to detect all visited websites?

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)
0
_bezy_
Asked:
_bezy_
1 Solution
 
migoEXCommented:
1) use a sniffer (like Wireshark) to record all traffic

2) you can make a use of following tool: http://www.codeplex.com/abpa
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: http://www.codeplex.com/abpa/Wiki/View.aspx?title=Configuration&referringTitle=Home.
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.
0
 
jkrCommented:
Take a look at http://www.codeproject.com/KB/IP/URLLogger.aspx ("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.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now