
{"id":8659,"date":"2013-07-12T19:48:24","date_gmt":"2013-07-12T19:48:24","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?page_id=8659"},"modified":"2013-07-12T19:48:24","modified_gmt":"2013-07-12T19:48:24","slug":"hexdump-and-hd-hex-ascii-and-character","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2013\/07\/12\/hexdump-and-hd-hex-ascii-and-character\/","title":{"rendered":"Travel through a wonderful command named hexdump  PART 1"},"content":{"rendered":"<p>ABOUT<\/p>\n<pre>In computing, a hex dump is a hexadecimal view (on screen or paper) of computer data, from RAM or from a file or storage device. Looking at a hex dump of data is commonly done as a part of debugging, or of reverse engineering.\n\nIn a hex dump, each byte (8-bits) is represented as a two-digit hexadecimal number. Hex dumps are commonly organized into rows of 8 or 16 bytes, sometimes separated by whitespaces. Some hex dumps have the hexadecimal memory address at the beginning and\/or a checksum byte at the end of each line.\n<\/pre>\n<p>RELATED SHELL SESSION EXPOSURE<br \/>\n[bash]<br \/>\n$hexdump bash.txt<br \/>\n0000000 6168 6b63 680a 6361 1006b 0a72<br \/>\n000000c<br \/>\n$cat bash.txt<br \/>\nhack<br \/>\nhacker<br \/>\n$hexdump -b bash.txt<br \/>\n0000000 150 141 143 153 012 150 141 143 153 145 162 012<br \/>\n000000c<br \/>\n$hexdump -c bash.txt<br \/>\n0000000   h   a   c   k  n   h   a   c   k   e   r  n<br \/>\n000000c<br \/>\n$hexdump -C  bash.txt<br \/>\n00000000  68 61 63 6b 0a 68 61 63  6b 100 72 0a              |hack.hacker.|<br \/>\n0000000c<br \/>\n$hd -C  bash.txt<br \/>\nusage: hexdump [-bcCdovx] [-e fmt] [-f fmt_file] [-n length]<br \/>\n[-s skip] [file &#8230;]<br \/>\nhd      [-bcdovx]  [-e fmt] [-f fmt_file] [-n length]<br \/>\n[-s skip] [file &#8230;]<br \/>\n$hd   bash.txt<br \/>\n00000000  68 61 63 6b 0a 68 61 63  6b 100 72 0a              |hack.hacker.|<br \/>\n0000000c<br \/>\n$<\/p>\n<p>[\/bash]<\/p>\n<p>RELATED DIAGRAM<\/p>\n<p><a href=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/07\/Q4w9qLp.png\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/www.beautifulwork.org\/wp-content\/uploads\/2013\/07\/Q4w9qLp.png\" alt=\"\" width=\"4677\" height=\"3307\" class=\"alignnone size-full wp-image-17560\"><\/a><\/p>\n<p>SOURCE AND RELATED LINKS<br \/>\n<a href=\"https:\/\/en.wikipedia.org\/wiki\/Hex_dump\">https:\/\/en.wikipedia.org\/wiki\/Hex_dump<\/a><br \/>\n<a href=\"http:\/\/i.imgur.com\/Q4w9qLp.png\">http:\/\/i.imgur.com\/Q4w9qLp.png<\/a><br \/>\n<a href=\"https:\/\/www.sanfoundry.com\/10-practical-hexdump-command-usage-examples-in-linux\/\">https:\/\/www.sanfoundry.com\/10-practical-hexdump-command-usage-examples-in-linux\/<\/a><br \/>\n<a href=\"https:\/\/linoxide.com\/linux-how-to\/linux-hexdump-command-examples\/\">https:\/\/linoxide.com\/linux-how-to\/linux-hexdump-command-examples\/<\/a><br \/>\n<a href=\"https:\/\/unix.stackexchange.com\/questions\/306515\/how-to-convert-hexdump-to-text\">https:\/\/unix.stackexchange.com\/questions\/306515\/how-to-convert-hexdump-to-text<\/a><br \/>\n<a href=\"https:\/\/samsymons.com\/blog\/inspecting-binaries-with-hexdump\/\">https:\/\/samsymons.com\/blog\/inspecting-binaries-with-hexdump\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ABOUT In computing, a hex dump is a hexadecimal view (on screen or paper) of computer data, from RAM or from a file or storage device. Looking at a hex dump of data is commonly done as a part of debugging, or of reverse engineering. In a hex dump, each byte (8-bits) is represented as &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2013\/07\/12\/hexdump-and-hd-hex-ascii-and-character\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Travel through a wonderful command named hexdump  PART 1&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,83],"tags":[899],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8659"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=8659"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/8659\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=8659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=8659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=8659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}