#----------------------------------------------------------------------------\ safari_cache v1.0 http://jafat.sourceforge.net Copyright 2007 - Jake Cunningham #----------------------------------------------------------------------------\ Background: =========== The Safari web browser on OSX stores a cache of data and associated metadata from websites visited in: ~/Library/Caches/Safari/XX/XX/xxxxxxxxxx-xxxxxxxx.cache (x is a random numeric value) Installing: ============ This program has been tested (and works) on OSX 10.4. It will compile on Linux with GNUStep, HOWEVER, it is unable to parse the .cache files under Linux because OSX has a proprientary Archive format that is incompatable with GNUStep. Usage: ====== This program parses the an individual .cache file and displays the metadata stored with the cached data. It outputs the URL of the cached data, the HTTP Referrer, and the date the data/time was cached. This program also extracts the binary cached data to a file named cachedata.out in the current directory. The cachedate.out file may have to be renamed with the proper file extension for some applications to open it. (For example, if the cached data is a JPG, rename cachedata.out to cachedata.jpg, and view it in a JPG viewer.) To output the cache metadata (URL,Referrer,Date/Time cached) to STDOUT in TAB delimited format, and extract cached data to cachedata.out in the current directory: $ safari_cache 1234567890-1234567890.cache If you attempt to read an OSX archive file under Linux you will receive the following error: "Uncaught exception NSInternalInconsistencyException, reason: Archive has wrong prefix". This error is caused by the OSX proprietary Archive format discussed above. Changes: ======== v1.0 - Initial public release (included with SFT 1.1) LICENSE: ======== safari_cache (Copyright 2007 Jake Cunningham) is distributed under the GNU GPL v2. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. #----------------------------------------------------------------------------\