Heya,
So I did something stupid earlier ("find . -delete -name '*.bak'" if you must know), and lost a bunch of work. Good news : it was a web app that my iPhone has cached for offline access. Bad news : it appears to be stored in a totally opaque database field.
In my iPhone backup files, I figured out which db file corresponds to the web caches. The CacheResources mentions the url of my app, and I'm reasonably sure I know which row of CacheResourceData it corresponds to. But the data column that stores the actual cache seems to be some compressed binary:
That (I think) is my manifest file, which means it probably starts with the text 'CACHE MANIFEST', if that helps at all. Anyone got any bright ideas on extracting it and the rest of my data?
A long shot, I know...
So I did something stupid earlier ("find . -delete -name '*.bak'" if you must know), and lost a bunch of work. Good news : it was a web app that my iPhone has cached for offline access. Bad news : it appears to be stored in a totally opaque database field.
In my iPhone backup files, I figured out which db file corresponds to the web caches. The CacheResources mentions the url of my app, and I'm reasonably sure I know which row of CacheResourceData it corresponds to. But the data column that stores the actual cache seems to be some compressed binary:
Code:
$ more manifest
??????ß½?“†²J?Éü²Jžƒ–{?
$ hexdump -C manifest
00000000 e4 85 83 e4 a1 83 e2 81 85 e4 85 8d e4 a5 8e e4 |................|
00000010 95 86 e5 91 93 e0 a8 8a e6 90 af e7 9d af e4 85 |................|
00000020 ae e7 89 b2 e7 9d af e7 80 ae e6 9d ae e0 a8 8a |................|
00000030
That (I think) is my manifest file, which means it probably starts with the text 'CACHE MANIFEST', if that helps at all. Anyone got any bright ideas on extracting it and the rest of my data?
A long shot, I know...