Skip to content

Instantly share code, notes, and snippets.

@andychase
Last active May 20, 2019 00:34
Show Gist options
  • Save andychase/6513075 to your computer and use it in GitHub Desktop.
Save andychase/6513075 to your computer and use it in GitHub Desktop.
Google Chrome Cache Hex Dump To XXD
""" USEAGE: xclip -o | python chrome_xxd.py | xxd -r - [destination]
To access chrome's cache, go to about:cache in the address bar.
Make sure you copy the second section of the hex dump (the first section is the header).
"""
import sys
for line in sys.stdin.readlines():
sys.stdout.write(line[1:].replace(" ", " "))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment