{"id":17,"date":"2017-12-19T16:15:27","date_gmt":"2017-12-19T16:15:27","guid":{"rendered":"https:\/\/hegars83.wordpress.com\/?p=17"},"modified":"2018-06-14T16:58:04","modified_gmt":"2018-06-14T16:58:04","slug":"script-tcpdump","status":"publish","type":"post","link":"https:\/\/blog.hegars.com\/?p=17","title":{"rendered":"TCPDUMP websites"},"content":{"rendered":"<p>Get websites being access over the wire.<\/p>\n<p><code><br \/>\n#!\/bin\/bash<\/code><\/p>\n<p>tcpdump -A -s 10240 &#8216;tcp port 80 and (((ip[2:2] &#8211; ((ip[0]&amp;0xf)&lt;&gt;2)) != 0)&#8217; |<\/p>\n<p>egrep &#8211;line-buffered &#8220;^&#8230;&#8230;..(GET |HTTP\\\/|POST |HEAD )|^[A-Za-z0-9-]+: &#8221; |<\/p>\n<p>sed -r &#8216;s\/^&#8230;&#8230;..(GET)\/\\n\\1\/g&#8217; |<\/p>\n<p>grep GET<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Get websites being access over the wire. #!\/bin\/bash tcpdump -A -s 10240 &#8216;tcp port 80 and (((ip[2:2] &#8211; ((ip[0]&amp;0xf)&lt;&gt;2)) != 0)&#8217; | egrep &#8211;line-buffered &#8220;^&#8230;&#8230;..(GET |HTTP\\\/|POST |HEAD )|^[A-Za-z0-9-]+: &#8221; | sed -r &#8216;s\/^&#8230;&#8230;..(GET)\/\\n\\1\/g&#8217; | grep GET<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[3],"tags":[],"_links":{"self":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/17"}],"collection":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=17"}],"version-history":[{"count":2,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions"}],"predecessor-version":[{"id":193,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=\/wp\/v2\/posts\/17\/revisions\/193"}],"wp:attachment":[{"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hegars.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}