1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hide a RAR file in a JPG file

Discussion in 'Black Hat SEO' started by quick-ad, Feb 6, 2010.

  1. quick-ad

    quick-ad Junior Member

    Joined:
    May 1, 2009
    Messages:
    151
    Likes Received:
    38
    Occupation:
    ecommerce owner
    Location:
    Usa
    First you need to have a rar file and a jpg image to hide the rar
    Say the jpg is ?image.jpg? and the rar is ?file.rar?

    Go to Windows command prompt (Start>Run>type cmd and press enter)

    Now type this command:

    copy /b image.jpg + file.rar newfile.jpg

    switch ?/b? indicates the copy function is binary
    ?newfile.jpg? is the resulting image with the rar file embedded (you can use a name of your choice)

    That?s all

    When you click on newfile.jpg the image will be displayed. Now it you change the jpg extension to rar (ie: newfile.rar) and open it with WinRAR the contents of the embedded rar file will be displayed.

    The jpg can be replaced with a bmp,png,gif or swf file. The rar archive can be replaced with zip,tar.gz/bz2 or 7z archive. Actually in theory you can use any image format and any archive.

    Here are some sample commands:

    copy /b image.bmp + file.zip newfile.jpg
    copy /b image.gif + file.7z newfile.jpg
    copy /b image.png + file.tar.gz newfile.jpg
    copy /b image.swf + file.rar newfile.jpg
    __________________
    I know you like to say "Thanks" for me by clicking on Thanks button.
    +rep, positive replies are welcome!:cow_yello
     
    • Thanks Thanks x 1
  2. Gradimir Stankovic

    Gradimir Stankovic Power Member

    Joined:
    Jan 10, 2010
    Messages:
    737
    Likes Received:
    845
    Location:
    404 not found
    Old trick, but thanks...
     
  3. Abstroose

    Abstroose Elite Member

    Joined:
    Nov 20, 2008
    Messages:
    2,097
    Likes Received:
    3,475
    Occupation:
    Thai Boxer
    Location:
    UK
    Home Page:
    What's this got to do with Black Hat SEO?