Skip to content

Instantly share code, notes, and snippets.

@Tony3-sec
Last active October 14, 2016 15:47
Show Gist options
  • Select an option

  • Save Tony3-sec/3a4d569d5515faea90843986d23bf228 to your computer and use it in GitHub Desktop.

Select an option

Save Tony3-sec/3a4d569d5515faea90843986d23bf228 to your computer and use it in GitHub Desktop.
$ xxd a.js.gz | head -1
0000000: 1f8b 0808 58e3 0058 0003 612e 6a73 002d ....X..X..a.js.-
0x1f, 0x8b : magic number (2byte)
0x08 : Compression Method, 0x08 is flag for deflate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment