Skip to content

Instantly share code, notes, and snippets.

@vlm
Created August 22, 2011 06:37
Show Gist options
  • Save vlm/1161800 to your computer and use it in GitHub Desktop.
Save vlm/1161800 to your computer and use it in GitHub Desktop.
> for accept in `strings dump.pcap | grep -i ^Accept- | cut -f 1 -d':' | sort | uniq`; do echo "==> $accept"; strings dump.pcap | grep -i $accept | sort | uniq -c | sort -n | tail -10; done
==> Accept-Charset
4 Accept-Charset: Shift_JIS,utf-8;q=0.7,*;q=0.7
6 Accept-Charset: Shift_JIS,utf-8;q=0.7,*;q=0.3
6 Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7
7 Accept-Charset: GBK,utf-8;q=0.7,*;q=0.3
8 Accept-Charset: GB2312,utf-8;q=0.7,*;q=0.7
8 Accept-Charset: UTF-8,*
11 Accept-Charset: iso-8859-1, utf-8, utf-16, *;q=0.1
69 Accept-Charset: utf-8, iso-8859-1, utf-16, *;q=0.7
1602 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
1991 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
==> Accept-Encoding
3 Accept-Encoding:gzip
4 Accept-Encoding: identity,gzip,deflate
6 Accept-Encoding: gzip, deflate, peerdist
11 Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0
17 Accept-Encoding: identity
33 Accept-Encoding: gzip, deflate, identity
80 Accept-Encoding: gzip
741 Accept-Encoding: gzip,deflate
1608 Accept-Encoding: gzip,deflate,sdch
3498 Accept-Encoding: gzip, deflate
==> Accept-Language
24 Accept-Language: zh-cn
27 Accept-Language: en-GB,en-US;q=0.8,en;q=0.6
28 Accept-Language: en-au
31 Accept-Language: en
35 Accept-Language: en-US,en;q=0.9
49 Accept-Language: en-gb,en;q=0.5
552 Accept-Language: en-US
1499 Accept-Language: en-US,en;q=0.8
1592 Accept-Language: en-us
1811 Accept-Language: en-us,en;q=0.5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment