No Place to Hide a Dark Heart

but you can hide your files (e.g. .rar files) in your .jpg files


How-to:


in cmd, type this: copy /b a.jpg+a.rar b.jpg




this pic contains an avoiding game (in ASCII mode) written by Ma Dongzhe (now at Tsinghua). Below is another picture contains Youtube.com server addresses, which can be added to the hosts file in both Windows and Fedora (Linux) for the purpose of unblocking the GFW.


Just download the full-sized pics (click on the pics first, then download it in the new tab/window) and change their extension names to .rar. Have fun.




it's our fortune that GFW uses a blacklist method, otherwise (whitelist? :-)) this host method to hurdle the wall would fail.


Explanation:


cmd command copy with a /b option indicates a binary file, that is to treat the .jpg file and the .rar file as binary files, and then combines them. Thus both headers are reserved. Using Hex view, we can see that b.jpg (then mixed pic file) begins with the 'JFIF' header exactly the same with the a.jpg file, which we can use to hide the file a.rar. After the whole a.jpg content, we can see the classical 7 bytes '52 61 72 21 1A 07 00', which is a header of a .rar file. Actually what the copy command does is to concatenate the .jpg file and the .rar file, and the mixed file can be interpreted in either way by using different extension names. I guess the unrar programs just ignore the bytes before this header when they open a mixed file with an extension name of .rar.


try to hide .exe files in pics!



related materials:

http://en.wikipedia.org/wiki/JPEG_File_Interchange_Format

http://www.win-rar.com/index.php?id=24&kb_article_id=162

http://kthoom.googlecode.com/hg/docs/unrar.html


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值