How to keep a log of all urls browsed by means of programming?

2

I know a lot of keyloggers and kids monitoring agents out there. My question is how do I simply get to hold the list of urls the user browsed using that particular browser by means of programming? I am not interested in using any kind of keylogger or any other monitoring tools. Thanx a lot.

Florescent Ticker

Posted 2014-06-10T05:01:43.273

Reputation: 119

What have you tried already? what programming language are you looking to use? are you looking to write a browser extension or an auditing app? – Fazer87 – 2014-06-10T06:07:19.293

I think I will be using jms to produce and consume messages from the history location. – Florescent Ticker – 2014-06-10T06:08:59.050

Answers

2

Programmatic methods will vary between browsers and operating systems but browsing history is often stored in an SQLite database.

For example, Chrome on Windows 7 stores its history in:

C:\Users\[username]\AppData\Local\Google\Chrome\User Data\Default\History

You can programmatically access this History file using the SQLite API or interactively using an SQLite manager such as SQLite Expert.

It is wise to open it read-only or otherwise make sure Chrome is closed before accessing it.

The visits table is a good place to start.

Mike Fitzpatrick

Posted 2014-06-10T05:01:43.273

Reputation: 15 062

+1 for SQLite part. One more question sir, do you mean I have to timely monitor this location? – Florescent Ticker – 2014-06-10T05:40:26.807

1I've only used Chrome's History database to analyse aged data, not in real time. You haven't specified your exact needs but if you want real-time or close to real-time monitoring then you would need to access the database frequently. That is, if Chrome updates it immediately - I haven't checked. Other browsers may handle things differently. I'm not aware of a single cross-browser, cross-platform solution. – Mike Fitzpatrick – 2014-06-10T05:47:49.850