{"id":289,"date":"2010-03-25T23:54:20","date_gmt":"2010-03-26T04:54:20","guid":{"rendered":"http:\/\/zitstif.no-ip.org\/?p=289"},"modified":"2010-03-26T00:15:27","modified_gmt":"2010-03-26T05:15:27","slug":"extremely-simple-steganography","status":"publish","type":"post","link":"http:\/\/zitstif.no-ip.org\/?p=289","title":{"rendered":"Extremely Simple Steganography"},"content":{"rendered":"<p>Dabbling about with the command line one day, I thought to myself, &#8220;Can&#8217;t I append text to a picture and be able, at a later time, read the text from the image?&#8221;.<\/p>\n<p>By simply just using &#8216;<strong>>><\/strong>&#8216;, under Windows and Linux, you can append text to a picture file (like a jpeg for example). Bear in mind that this does change the hash sum of the file. Lastly, I&#8217;ve only tested this with jpeg images.<\/p>\n<p>Here&#8217;s an example:<\/p>\n<p>We have a file called &#8216;linux.jpg&#8217; from, <a title=\"http:\/\/www.bose.res.in\/~kapil\/linux.jpg\" href=\"http:\/\/www.bose.res.in\/~kapil\/linux.jpg\" target=\"_blank\">http:\/\/www.bose.res.in\/~kapil\/linux.jpg<\/a><\/p>\n<p>By simply invoking:<\/p>\n<pre lang=\"bash\">echo \"Secret Message:  toor\" >> linux.jpg\r\n<\/pre>\n<p>To find our &#8220;Secret Message&#8221;, simply invoke the follow:<\/p>\n<pre lang=\"bash\">egrep -a 'Secret' linux.jpg\r\n<\/pre>\n<p>If you&#8217;re using &#8216;xterm&#8217;, your output may look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" title=\"http:\/\/zitstif.no-ip.org\/steg\/steg.jpg\" src=\"http:\/\/zitstif.no-ip.org\/steg\/steg.jpg\" alt=\"http:\/\/zitstif.no-ip.org\/steg\/steg.jpg\" width=\"480\" height=\"300\" \/><\/p>\n<p>However, if you&#8217;re using something else and your output &#8216;borks&#8217; your terminal and the output looks completely alien, use the <strong>reset<\/strong> command.<\/p>\n<p>You can also do this in Windows as well, but the command would look like this:<\/p>\n<pre lang=\"dos\">type linux.jpg | findstr \"Secret\"<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Dabbling about with the command line one day, I thought to myself, &#8220;Can&#8217;t I append text to a picture and be able, at a later time, read the text from the image?&#8221;. By simply just using &#8216;>>&#8216;, under Windows and Linux, you can append text to a picture file (like a jpeg for example). Bear &hellip; <a href=\"http:\/\/zitstif.no-ip.org\/?p=289\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Extremely Simple Steganography<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[114,115,116,113],"class_list":["post-289","post","type-post","status-publish","format-standard","hentry","category-posts","tag-hide-text","tag-secret-message","tag-simple-steganography","tag-steganography"],"_links":{"self":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=289"}],"version-history":[{"count":7,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/289\/revisions"}],"predecessor-version":[{"id":294,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=\/wp\/v2\/posts\/289\/revisions\/294"}],"wp:attachment":[{"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=289"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=289"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/zitstif.no-ip.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}