http://snippets.bentasker.i2p/posts/bash/extract-ascii-from-a-packet-capture-hex-dump.html
Details Language: BASH Snippet cat f.txt | cut -d \ -f1-18 | grep -P '[0-9,a-f][0-9,a-f] ' | xxd -r -ps Usage Example cat f.txt | cut -d \ -f1-18 | grep -P '[0-9,a-f][0-9,a-f] ' | xxd -r -ps
HTTP/1.0 200 OK
Server: gunicorn/19.9.0
Date: Thu, 10 Oct 2019 09 :01:12 GMT
Connection: close
Content-Type: text/html ; charset = utf-8
X-Frame-Options: DENY
Content-Length: 2 X-Content-Type-Options: nosniff
X-XSS-Protection: 1 ; mode = block
ok ascii bash capture convert hex pcap translate Previous...