I made an app in java to hide an zip/rar in a jpg/png image. Now I want to reverse it, but then I need to find out if there is an archive in the image the user inputs.
Any ideas on how I could check this?
Ohoh. Are you taking to planting trojans in people's PCs? :D
well there's some auto-extract archives...
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
Are you talking about steganography detection? Check out stegdetect or StegAlyzerSS.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.
█ Xavier L | Community Public Relations Manager (Free Hosting Support)
█ Yes, my position is too cool to even exist!
█ How am I helping? Rate this post by clicking theicon below! (this is even better than "liking" a post)
█ Terms of Service | Acceptable Use Policy | x10Hosting Wiki
I think it would be of a lot of use if you mentioned how you stored that archive in that image :p
If you want to reverse it you'll probably be basing yourself on the original encryption code too...
(I'll subscribe to this topic so it won't take over a week to get response this time (a))