如何在JPEG圖片掩藏文件

張貼在2008年4月16日在5:34上午

如果您看 皮文件在您的個人計算機硬盤您在文件也許聞悉方式加密文件夾或改變屬性,以便他們不可能由愛管閒事者訪問。 然而,掩藏文件或文件夾的很多時代在那個方式要求您在您的計算機安裝某一類軟件,可能由別人然後察覺。

我一些實際上寫了文章關於在怎樣之前您能在Windows XP和景色掩藏文件和文件夾,但我這裡顯示您是非常反直觀並且相當安全的一種新的方法掩藏文件! 使用一個簡單的把戲在窗口,您實際上能 掩藏一個文件在JPG畫面文件裡面!

您能實際上掩藏文件的任何類型在一個圖像文件裡面,包括txt、exe、mp3, avi或者任何其他。 不僅那,您能實際上存放許多文件在唯一JPG文件,不僅一裡面! 這可能進來非常得心應手,如果您需要掩藏文件,并且不想要打擾與其他技術材料的加密和所有。

在圖片的皮文件

為了完成這項任務,在您的計算機將需要有WinZip或WinRAR安裝的您。 您能下載之一這二互聯網和使用他們,无需必須支付任何東西。 這步為創造您暗藏的藏匿處:

  • 創造一個文件夾在您的硬盤,即。 C:\Test 并且投入在您想要掩藏入那個文件夾的所有文件。 並且,安置圖像您使用掩藏文件in。

在JPG的皮文件

  • 現在選擇您在他們要掩藏,用鼠標右鍵單擊和選擇選擇增加他們到a的所有文件 壓縮的郵編或RAR文件. 只選擇您想要掩藏的文件,不是圖片。 給出它什麼您想要, i, e。 「Hidden.rar」。

增加到檔案

  • 現在您應該有看如此物與文件、JPG圖像和一個壓縮的檔案的文件夾:

暗藏的rar

  • 現在這樂趣零件! 點擊 開始然後點擊 奔跑. 輸入「CMD」沒有行情和新聞 進入. 您應該現在看指令提示窗口開放。 輸入「CD \」 有根目錄。 然後類型 CD 并且您創造的目錄名稱,即。 “CD的測試“.

CD的測試

  • 現在輸入以下線: ?複製/b DSC06578.JPG + Hidden.rar DSC06578.jpg ? 并且新聞 進入. 不要使用行情。 您應該得到一個反應像如下:

在JPG的皮文件

Just make sure that you check the file extension on the compressed file, whether it is .ZIP or .RAR as you have to type out the entire file name with extension in the command. I have heard that some people say that they have had problems doing this with a .ZIP extension, so if that doesn’t work, make sure to compress to a .RAR file.

And that’s it! The picture file will have been updated with the compressed archive inside! You can actually check the file size of the picture and see that it has increased by the same amount as the size of the archive.

You can access your hidden file in two ways. Firstly, simply change the extension to .RAR and open the file using WinRAR. Secondly, you can just right-click on the JPG image and choose Open With and then scroll down to WinRAR. Either way, you’ll see your hidden files show up that you can then extract out.

winrar

That’s it! That is all it takes to hide files inside JPG picture files! It’s a great way simply because not many people know it’s possible and no one even thinks about a picture as having to the ability to “hide” files. Enjoy!

Enjoyed this post? Subscribe to Online Tech Tips via RSS Feed or via Email and receive free daily productivity tips.

» Filed Under Computer Tips

Add to Delicious Save this page Mixx it Stir it up on Mixx
Reddit Add to Reddit StumbleUpon Stumble this page

Related Posts

35 Responses to “How to hide files in JPEG pictures”

  1. Jimmy said on :

    There in fact is a problem with Winzip on reopening the jpeg file - so Winzip doesn’t work.

    I tried 7-zip and it works - both zip and unzip. Thanx for this simple DOS tip.


  2. akishore said on :

    Hi Jimmy, thanks for confirming. I tried and it had some issues, but I thought it could be a problem on my side. Guess not! Good to know that 7-zip works also..anyone else try a different zip program, then let us know if it works.


  3. po3tree said on :

    Neat trick. Worked just fine for me using using WinZip. I was able to open the jpg archive using the “Open With” function. Thanks.


  4. Jonoro said on :

    Hey, Jimmy, how exactly did you get this to work with 7-zip? I’ve tried and tried and haven’t been able to split the files. My process(es) have been 1) change extension to .7z or .zip (tried both ways) to which I got the “invalid archive” error prompt 2) open with gives the same.

    Any suggestions on that one?


  5. Puhazh said on :

    It will work fine with WinRAR


  6. xumxum said on :

    works great, love the idea. tried with winzip. Don’t forget the /b switch in the copy cmd, without it I got a can’t open zip file, with it works like charm.


  7. Me said on :

    If you are using a NTFS file system you should look at Alternate Data Streams also.. http://www.heysoft.de/nt/ntfs-ads.htm


  8. Juan said on :

    Something like this for Linux? thanks.


  9. Peter said on :

    @xumxum
    The reason it doesn’t work without the /b is because otherwise it is just the regular copy command. /b signifies creating a new file whose contents are those of the two (or more) combined.

    @Juan
    This is actually just a concatenation of two files.

    Linux has a command cat to do just that:

    $> cat f1 f2 > f3

    I assume the reason this works is because the JPEG ends before the RAR starts:

    The file contents are something along the lines of:

    JPEG header
    JPEG data
    JPEG end
    +
    RAR header
    RAR data
    RAR end

    The graphics program reads until the JPEG ends, and the RAR program searches for the RAR header and reads from there. Whether or not the de-compressor searches for the header (and doesn’t just start at the beginning) determines whether or not the file can be read.

    I may be wrong though.


  10. L7D said on :

    Always new that was possible… I never knew how, i just had to Un-encrpt (?) a file because there was a virus encrypted the same exact way to an installation file. devils.


  11. no_one said on :

    @Peter
    I think its
    JPEG header
    JPEG data
    JPEG end
    +
    RAR end
    RAR data
    RAR header

    Great tip BTW. Works great with 7-zip


  12. Adrian Leslie said on :

    If anyone makes changes to the .jpg file using MSPaint, anything you attach to the end of the .jpg gets wiped out.


  13. Adrian Leslie said on :

    However, I was wondering if .mpg, .wmv, and .avi files might show promise instead of .jpg files.


  14. DigitalMind said on :

    I used this trick for a mystery GEO-CACHE in my area. (I hid the coordinates as a text file inside a jpg picture filled with numbers, people are looking for patterns in the image even though it has nothing to do with it!)

    People are having a hard time decoding it. :)

    Thanks!


  15. astaswastika said on :

    yeah this works man..
    and this is very simple..

    thanks!


  16. Richard said on :

    Pretty nice trick! Works with WinRAR.


  17. Allan said on :

    This is brilliant! Alternate Data Streams being put to awesome use!


  18. kurt said on :

    I believe the /b is for binary, instead of text. That way it will use what is already there and not misinterpret unprintable chars or otherwise make changes.


  19. Johnny_Tsunami said on :

    I just had a sick idea. Would this work as a way to share files online? You could upload the image to imageshack or whatevs, and others could dl the file.


  20. Johnny_Tsunami said on :

    I can confirm that my technique does in fact work. Damn, I’m good.


  21. Abhishek Sagar said on :

    This even works with exe files. I tried

    C:\>copy /b bang.jpg + pu.exe some.jpg
    bang.jpg
    pu.exe
    1 file(s) copied.

    now the only thing i am trying to do is figure out how to get the exe to run in the background when the jpeg file is accessed.


  22. Mandeep` said on :

    it wrks….

    thnx a lot for sharing this…

    :)


  23. Husla3x said on :

    Really cool tip. I would never have thought of that one. I guess all these other guys can’t say thanks and would have thought of it. :)


  24. Angel said on :

    Nice trick… :-)


  25. hmm said on :

    there is a easier way to hide files if you dont want to put them inside a jpeg and only want to hide them.

    1. just put the files in a rar archive and enable password and encrypted file names in advanced tab. so nobody can see even the names of the files you want to hide.
    2. then you can change the extension (maybe to .dll and put it in windows/system32 folder nobody will find them)


  26. Cforce said on :

    Has anyone successfully executed a .exe or .bat in the background while opening the picture?

    This could be an awesome prank to hide a shutdown command inside the picture xD :D


  27. xenomorf said on :

    hello.. i can’t get it right. after i finished with the copy in cmd, i tried to open my picture but it won’t open. it ‘the is either an unknown format or damaged’.

    help me..


  28. xenomorf said on :

    oowhh…sorry guys. my fault. it seems like larger size pictures don’t work. the first one i used was a picture with size 1600×1200. then i used a picture with size 600×900. the result is that I successfully combined and opened it using WinRar.

    Thanks for the info.


  29. zerosteve said on :

    If you use this technique in combination with encrypting and password protecting your archive then you can REALLY keep the files from other people. In winrar, if you dont have the password you cant even see the files. I LOVE this trick. Thanks!


  30. Dacia said on :

    Excellent. Had to send my laptop for service last week and didn’t want sensitive files visible. Since I have tons of photos on the hard drive, it was very easy to hide all those files inside various JPGs. Brilliant!!!


  31. john said on :

    Dacia - It seems that Garry Glitter didn’t know about this trick.
    If I wanted to hide pictures or anything else I would simply create a partition and hide it using Partition Magic.
    As long as you don’t need to access it too often as it requires rebooting to view it.
    If just a few pictures then use the old addage “the best place to hide an elephant is in a herd of elephants”. Simply alter the file extension to .dll and save it in the system directory.


  32. kpl said on :

    Is there a way to divide those files back?


  33. Richard Fdisk said on :

    Don’t forget to delete the originals after, or they’ll all still be in the folder together with the new file


  34. DEADcamel said on :

    Hi there, I can see only one problem with this method and that is that people usually become very suspicious of a jpeg file that is over 10 MB or so.

    I think it would be better to edit the first few seconds out of an avi file which is, for example part of a tv series and make it look like it is just another episode.

    This way you can have the file just about any size that you want with out raising suspicion as video files can easily be just about any size.


  35. skillmachine said on :

    I made a zip file using TugZip and it worked perfectly fine. p.s. i recommend tugzip
    great program!


Please post your comments/suggestions!