Skip to content

Instantly share code, notes, and snippets.

View zxcmehran's full-sized avatar

Mehran Ahadi zxcmehran

View GitHub Profile
@zxcmehran
zxcmehran / cache-extractor.php
Created December 4, 2020 05:15
Chrome/Firefox cache file extractor
<?php
/*
* Chrome/Firefox cache file extractor
* Just open cache entry page and copy/paste file data hex section
* into "cachefile.txt" file in script working directory and run me.
* You can run me through CLI or Webserver.
*
* Change $is_gzip to false if data is not gzip encoded.
*
* Chrome: chrome://cache

Keybase proof

I hereby claim:

  • I am zxcmehran on github.
  • I am zxcmehran (https://keybase.io/zxcmehran) on keybase.
  • I have a public key whose fingerprint is 8E34 E723 9960 7CE1 455D B7A0 ECFA CF37 7E7D 92BD

To claim this, I am signing this object: