Skip to content

Instantly share code, notes, and snippets.

@nickjevershed
Last active November 3, 2016 05:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickjevershed/e1cc11d1c9ab8e0a47d06c206bab5a8a to your computer and use it in GitHub Desktop.
Save nickjevershed/e1cc11d1c9ab8e0a47d06c206bab5a8a to your computer and use it in GitHub Desktop.
Command line method to convert Chrome cache hex files back into html, images, etc
# got to chrome://cache/ and find the file you want
# check the headers for the file format, then copy the fourth block of text, and copy into a file blah.txt
# for gzipped html
xxd -r < blah.txt | gunzip > cached.html
# for a jpg
xxd -r < blah.txt > cached.jpg
# for text
xxd -r < blah.txt > cached.txt
# via http://www.insentricity.com/a.cl/241/how-to-recover-data-from-chromes-cache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment