browser - How to keep a log of all urls browsed by means of programming?
2014-07
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.
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.
A website URL has "hidden" some MP3 files by embedding them as Shockwave files, as follows.
<span class="caption"><!-- Odeo player --><embed src="http://odeo.com/flash/audio_player_tiny_gray.swf"quality="high" name="audio_player_tiny_gray" align="middle" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars="valid_sample_rate=true external_url=http://podcast.cbc.ca/mp3/sundayeditionstream_20081125_9524.mp3" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></span>
How can I download the files for off-line listening?
I've found two methods:
1. The Stack Overflow Method
Create a new local HTML file with just the links, for example:
<a href="http://podcast.cbc.ca/mp3/sundayeditionstream_20081125_9524.mp3" rel="nofollow">Sunday Edition 25Nov2008</a>
Open the file in the browser, right click the link and File > Save Link As.
2. The Super User Method
Install the Firefox addin Iget. (Be sure to use the right version for your Firefox version.)
Tools > Downloads > Enter URL in the field.
Are there any other ways?
On Linux, use 'wget' on the command line:
wget http://podcast.cbc.ca/mp3/sundayeditionstream_20081125_9524.mp3
If you want a similar tool on Windows, you could install wget via Cygwin or use one of the GNU Win32 ports.
On Mac OS X, there's cURL, which appears to have a Windows build.