Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about Chrome Cache file format version 3 #10

Open
nickbail3y opened this issue Oct 23, 2019 · 4 comments
Open

Add information about Chrome Cache file format version 3 #10

nickbail3y opened this issue Oct 23, 2019 · 4 comments

Comments

@nickbail3y
Copy link

No description provided.

@joachimmetz
Copy link
Member

Thx for the heads up, feel free to provide information/changes to handle the new format(s)

@nickbail3y
Copy link
Author

Hi Joachim,

I took a quick look at the cache structure and here's what I found.

Overall directory structure appears to be something like this:
[directory] cache_folder
-- <16 char hexadecimal_string>_0 (binary data)
-- <16 char hexadecimal string>_0 (binary data)
...
-- index (binary file)
-- [directory] index-dir
---- the-real-index (binary data)

Each file in the overall directory, including both index files start with the following 64bit word:
305c 72a7 1b6d fbfc

I believe the file format is little-endian, but I could be mistaken.

A hex dump of some files indicates that the rest of the file contains pretty much the same information as specified in your documentation, namely: filename and contents, HTTP response headers, and some other miscellaneous data.

Hope this is helpful to you.

Nick

@joachimmetz joachimmetz changed the title Chrome Cache file format has changed as is no longer read. Add information about Chrome Cache file format version 3 Oct 4, 2020
@kynan
Copy link

kynan commented Dec 6, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants