Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

spotting RAR headers in files

Name: Anonymous 2006-08-10 7:16

>RAR files can be embedded in other file types, probably the most common being JPEG. Image handling programs, browsers, and other utilities usually ignore any additional data after the end of the image, while RAR ignores anything before the RAR header. The procedure to create such a file is to append a RAR file to a JPEG. (e.g.: in Windows: copy /b image1.jpg+something.rar image2.jpg, in UNIX: cat image1.jpg something.rar > image2.jpg).
from wikipedia.

so i'm asking how do i spot a RAR in a file? what should i search for?

Name: Anonymous 2006-08-10 8:28

File size.
Or if you're crazy, maybe looking through the hexdump if the rar header or whatever is in plain text.

Name: Anonymous 2006-08-10 8:34

kay just checked, a test rar starts with "Rar!", grepping that from the hexdump would work.

Not particularly practical, but I guess you could go through all jpgs in a directory using a wildcard like so to find any hidden files.

Name: Anonymous 2006-08-10 8:51

You can do this with gifs and zips too. Fun fun fun!

Name: Anonymous 2009-01-14 13:53

Discuss

Name: Anonymous 2009-03-06 8:44

Got me i stop   spaming hax my   anusu got me   i stop spaming   hax my anusu   got me i   may not use   a mailing programme   because I am   OP You are   a big liar?

Name: Anonymous 2010-06-27 12:55

ur gay

Name: Anonymous 2010-06-28 10:56

beware the army of 12 year old autistics

Name: Sgt.Kabu捝ᴍkiman䑥照 2012-05-28 19:39

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

Don't change these.
Name: Email:
Entire Thread Thread List