[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Home]
Board
Settings Home
/diy/ - Do It Yourself



Thread archived.
You cannot reply anymore.




File: 01.jpg (25 KB, 475x220)
25 KB
25 KB JPG
How to hide a message in a picture file.
>>
>>1490240
>How to hide a message in a picture file.


why.
>>
Darkjpeg
>>
Steghide
>>
>>1490240
So it just writes your message to the first bytes of the image? Sounds like it will mess up the "magic number" that most programs use to determine file format, making your jpeg look corrupted and highly suspicious.
>>
>>1490240
not really /diy/
a little >>>/g/ but mostly >>>/wsr/
>>
>>1490240
post sinks
>>
File: Just.png (245 KB, 650x480)
245 KB
245 KB PNG
>>1490289
>the magic number that most programs use to determine the file format
>>
>>1490240
like this
https://www.youtube.com/watch?v=pJSyOq9xj3o
>>
>>1490289
It will append his bytes to the end of the file. Not sure if that will fuck it up.
>>
Simple way or hard way?

Simple way is make sure you start with jpeg/jiff file format.
Exif data has a comment section. Some photographers use this to add captions to their images. When you look at the photo you do not see the message or any of the other information contained in exif
If using a window box, right click on a jpg, go to properties/details

Bad news, anyone who knows how to right click or anyone who has a exif viewer can see your comment.
>>
>>1491404
Hard way?
Start with any image of your choice.
Use windows
Probably good to start with a file larger than 1024 bytes so the file is non resident.
Open the file with the hex editor of your choice.
Wright whatever you want in the file slack
Most people will conduct key word searches in ascii so consider writing your message in Unicode
Without doing the math, you could hide and 3000 bytes with this method
>>
why would you want to try and hide a message?
what you're trying to do is hide or find CP nigger
>>
>>1491412
Spy tier way?
Again, assuming window NTFS formatted drive.
Use a file that is 1024 or larger so the data is non resident in the master file table.
Use your hex editor and find the image file entry in the master file table
Change the run list to add previously unallocated clusters to your file, you can add as may clusters as you need,
To make it harder use a fragmented file instead of a contiguous file
Change the Last Virtual cluster numbers to match the new value depending on how many clusters you have added
Change the allocation status of the additional clusters you added from unallocated to allocated.
>>
>>1491414
Why would you hide a message in CP?
>>
>>1490323
literally how image editors work, moron
>>
>>1491421

/hr/ got purged last year when some fucks buried CP links in celeb photos.
>>
>>1490240
Starting from the image data offset, programmatically replace the LSB of each byte with a bit from your message, the image will look unaltered to the naked eye as long as its not a solid color or anything
>>
>>1491633
but their board still gets advertised
>>
Is there a hidden message in the original image?
>>
>>1491404
>>1491412
>>1491420
And the meme way?
>>
>>1491451
LITERALLY
Are you talking about extensions? Because he didn't change the extension
>>
>>1490303
No. Mods are awake
>>
>>1491404
>>1491412
>>1491420
Really cool anon, thanks
>>
File: pm522 washbear.png (3.89 MB, 2140x1739)
3.89 MB
3.89 MB PNG
Almost all these methods don't work on 4chan. Moot had to do away with them because >>1490303. There are only two ways that still work, and "work" is relative.
>Method one: Embed a file into a PNG.
PNG, being lossless, can store raw binary data in itself. I'm not sure how to do make these. The data's there, but it can't be hidden.
>>
File: spoopy.png (433 KB, 400x572)
433 KB
433 KB PNG
>Method two: Transparency
Real simple. Make your image, add an alpha channel, make all the pixels transparent but keep the color value for the transparent pixels. GIMP can do this, not sure about other software. It's good for "censored" images that any clever anon can uncensor at their leisure.
>>
>>1492428
Not the same guy.

You're retarded. Don't talk about shit you have no idea about. Protip: extension doesn't mean jack shit. It's only used to help your OS know which program to use for opening the file. The actual program determines how to decode the file using the first few bytes of the file (AKA the magic byte). You can have a jpg with an extension .faggot and if you open it with an image viewer, it will know its a jpg image by te magic byte
>>
>>1490274
This
>>
>>1490289
>>1490323
>>1491301
>>1492428
>>1494160
Oh God it's like I'm literally back on /g/

Make it stop 1.7%!
OH GOD IT'S TOO LATE
woodscrews! pork shoulder!
>>
>>1492397
No
>>
>>1492423
Type the message into mspaint and delete system32





Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.