Skip to content

Instantly share code, notes, and snippets.

@yukidarake
Created October 29, 2014 09:59
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 yukidarake/b29fe1ff9664ff684ed5 to your computer and use it in GitHub Desktop.
Save yukidarake/b29fe1ff9664ff684ed5 to your computer and use it in GitHub Desktop.
00:01:00:15・・・みたいなパケットキャプチャで取得した16進数を文字列に変換するワンライナー
tshark -r o.pcap -Y 'websocket' -T fields -e websocket.payload.binary_unmask | perl -nlE 'say map{pack('H2',$_)} split /:/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment