[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Upload any file as a PNG
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 88
Thread images: 11
http://pastebin.com/My7p8240
Made a python script (just a prototype, might port it to a faster language) that converts any filetype to PNG.
Now you can share whole floppy disks worth of files through this image board.
This image is an exe that plays silent night

(also, has this been done before?)
>>
>17. Do not upload images containing additional data such as embedded sounds, documents, archives, etc.
>>
>>52039552
oh shit, should i delete this thread?
>>
>>52039560
It's more to prevent people uploading rar files with cp inside.
>>
>>52039530
Someone had made one called "snowcrash"
>>
>>52039578
So basically if I upload a randomly-generated image and it decodes to a .rar full of CP I'll be banned?
>>
cmd:
Ren executable.exe photograph.png
Yes, this has been made before :D
>>
>>52039592
Its right at the top below the title
>http://pastebin.com/My7p8240
>>
>>52039560
A few weeks ago we wanted to store files on youtube by creating videos with black and white pixels as bits.

We also uploaded webms here, but mods deleted them because >>52039552.
>>
>>52039599
Yes. Then again, how small are the chances of that actually happening?
>>
>>52039614
Cool, do you have the code anywhere?
>>
File: no-click.png (203 KB, 550x366) Image search: [Google]
no-click.png
203 KB, 550x366
>>52039530
>exe that plays silent night
>>
>>52039599
I wonder how that defense would hold up in a court.
>You mean I upload a randomly generated image which decodes to submarine plans to a Chinese social network and I get convicted for treason?
>>
>>52039599
>>52039623
You can decode anything to CP with the correct cipher
>>
>>52039592
>>
File: screenFetch-2015-12-25_05-12-12.png (210 KB, 1600x900) Image search: [Google]
screenFetch-2015-12-25_05-12-12.png
210 KB, 1600x900
POST
>>
>>52039592
>>52039669
JESUS FUCKING CHRIST GET THE MODS!!
Has /g/ really become this pathetic where thirteen year-old kids are here!?
>>
>>52039669
Fucking embarrassing lel.
>>
>>52039711
Yes, I remember there was a time when underage kiddos respected the minimum age requirement and were intimidated by the board.
>>
I did this a while back for no reason. It's the most pointless thing ever. I suppose in some cases it might be actually be useful to visualize how data is arranged throughout a file.
>>
>>52039669
>Hello my soon to be minions. Today I will be starting a blog on my plans to rule the world and talk about my life. Get your pants on, because everyday I will post a new entry.
>So, one of the main things I want to do when I grow up is rule the world, but peacefully, and better mankind threw means of expanding our space exploration and sciences. That and also going to space its self. How am I going to accomplish this you ask? Well, Lets get started.

dank, filling up my cringe folder rn
>>
>actually interesting thread
>derailed by a single post
>>
>>52039750
If you do this with an audio binary, then perform various image processing algorithms, then playback the transformed audio, you can get some pretty cool audio effects.
>>
>>52039770
This is painful to read.
>>
>>52039761
Kek
>>
>>52039614
>>52039634
Code?
>>
File: chi2-3final.png (1 MB, 720x960) Image search: [Google]
chi2-3final.png
1 MB, 720x960
>>52039785
You can also get some pretty cool effects by editing a picture file with a sound editor
>>
>>52039669

>http://www.yourworldoftext.com/Retr0Capez

w3w lad
>>
>>52039783
Thread will be gone soon enough anyways. You're not allowed to embed, it's fun tho
>>
>>52039592
https://www.reddit.com/user/Retr0Capez
>>
>>52039820
**VIRUS**

DO NOT CLICK
>>
File: screen.png (9 KB, 623x79) Image search: [Google]
screen.png
9 KB, 623x79
>>52039592
gudkek
>I have been wondering if there are even any arduino BRONYS. If so, please share your arduino pony related projects! Kudos!
>>
>>52039664
This should be banner
>>
>>52039669
So this is the average /g/ent
>>
>he actually thinks deleting it will make it go away
>>
good thread
>>
File: chi3-2final.png (651 KB, 540x720) Image search: [Google]
chi3-2final.png
651 KB, 540x720
>>52039827
>>
>>52039592
>deleted
Hahaha. What a faggot.
>>
>>52039711
>>52039738
I don't think that bring underage had ever stopped people from coming on 4chan. My friends and I started going on 4chan in 5th grade (2003 fall). I started going on /g/ like late middle school. By the time I was in high school, 4chan was well known by every group, from jocks to theater kids. Alot of my friends went on /r9k/ and /g/. 4chan was widespread
>>
>>52039862
>>52039893
I refuse to believe that post was really him
>>
Let this be a lesson to other millenials, always use a use a throwaway.

And remember to lurk more, you aren't fooling anybody
>>
>>52039921
>millennials
Go to bed gramps
>>
>>52039634
>>52039807
do a search for schillsaver, that's the name /g/ devised for the tool. one guy is still developing it.
>>
>>52039893
I'm pretty sure it was janny.
The kids 'doxxed' himself.
>>
>>52039919
Go away, retr0capez. And stay go.
>>
File: 1425234109263.jpg (115 KB, 604x417) Image search: [Google]
1425234109263.jpg
115 KB, 604x417
>underage gets doxxed literally 5 minutes after posting.
>[Embarrassing screenshots intensify]
I love you /g/.
>>
>>52039957
No, I'm serious, lel
And I don't care what happens to retarded 13 year olds
>>
>>52039921
>milleneals
We're in our mid 20s now senpai
>>
>>52039936
'1830sfag here, anyone else? back in my day we sent Kunta Kinte down to the local telecom transfer station to ping cp over the atlantic
>>
>>52039991
ah, the good ol days of waiting in the telegram office and having the operator read out the porn we had sent to us. What a time to be alive
>>
>>52039947
Very nice!
>>
>>52039530
someone gonna make a GUI for this or...?
>>
>>52040042
Yeah the original idea was to use YouTube as a cloud file storage service, interesting thread to read through if you can find an archive.
>>
>>52040063
>GUI

What are you, 13 or something?
>>
File: 1448823958131.jpg (16 KB, 378x292) Image search: [Google]
1448823958131.jpg
16 KB, 378x292
So after reading this thread....


I still have no idea what you guys are talking about.

>>52039834

Gives some helpful insight but nope not really.

So how do I go about sending a text file.

Im going to text a friend

Yo what up dog
In wordpad.

How do I convert that into an image?
>>
>>52039936
stfu and gtfo. you're not the majority here yet, this is not a democracy, therefore you don't get to make statements like this.
>>
I'm leaving this thread up because it's a really interesting concept but please refrain from posting images with embedded files
>>
>>52040090
I'm interested too, but getting the process down is difficult at best. I'm not even sure what to search for in Google. I've just been trying different ways to append a test binary to a png and seeing if I can get the original back using that method.

I'm thinking if I can't just cat the file to the png, I might be able to import the original as a 24 bit raw bitmap and append that to another png in GIMP.
>>
>>52040090
Well you could simply convert the plaintext ascii to hex and convert every 3 bytes to a color
>>
File: avatar.png (6 KB, 50x50) Image search: [Google]
avatar.png
6 KB, 50x50
>>52040105
sankyuu mod senpai
>>
>>52040090
put files in compressed archive(winrar, 7zip ect) rename to bmp, edit in paint save as png
>>
>>52039530
Can you explain your algorithm? I think your encode/decode functions are a little poorly documented.
>>
>>52040030
In the good ol' days you just married a 9yo.
>>
>>52040105
got it, retr0capez
>>
>>52040090
The basic concept is to take a file and convert it to an image.

Most common image formats support 8-bit RGB, so it's easy to convert a single byte into an RGB component.

So say if you had three bytes:
0x01, 0xB5, 0x46

This would produce the color #01B546, one pixel. Do that for every pixel and you end up with the groovy images as seen in the thread.
>>
File: but....png (48 KB, 694x389) Image search: [Google]
but....png
48 KB, 694x389
>>52040137
Makes sense, but what about the instructions at the top of the file like on >>52039834?
>>
>>52040090
>>52040136

How is this an issue, all you're doing is converting a file to bmp, you literally just take bytes and map them to colors, you can perform any encryption you want on it
>>
>>52040180
See
>>52040172
>>
>>52039530
Why was the image deleted? It's still in the archive so it's not like it matters.
>>
>>52040204
It's against the rules to post files as images.
>>
>>52040145
blankNum is number of empty pixels at the end, so that the converted file dosn't have lost of 0s appended to the back.
Red channel of first pixel is more significant byte of the number of blankNum.
Green channel of first pixel is less significant byte of the number of blankNum.
2nd pixel stores a 3 letter file extension, one char per each channel.
The rest is 3 bytes of data from the file per pixel
>>
>>52039552
>additional data
but that's not additional
>>
>>52040238
Pretty sure the site detects excess data in uploaded images now anyway.
>>
>>52040238
additional data is any data that is not primarily graphical in nature. I know you're going to debate semantics but that's just how it is.
>>
>>52040246
It does in JPGs, but not PNG. You can't necessarily "hide" information in a PNG like you can with JPG. It's still represented on screen somehow.
>>
>>52040294
Just tried it with a 1x1 png with "THIS IS A TEST" embedded at the end of the file.

Got a "Error: Your image contains an embedded file." message.
>>
Can't you just rename the files from .* to .png or .jpg or .gif or .webm?
>>
>>52040324
If the data is stored as graphical information in the file, it's fine. If it's embedded in a way that it's not represented on screen it won't work. That's why all the effort of converting to RGB and putting it on screen is undertaken.
>>
>>52040361
Oh right, that and >>52040294 makes sense.
>>
>>52040379
If it were any other way
cat yourfile >> yourpng

would do the trick.
>>
File: wat.png (497 KB, 740x240) Image search: [Google]
wat.png
497 KB, 740x240
>>52039827
>>
>>52040498
What does it sound like?
>>
Give me an example of how to run this command properly

$ python "IMAGE MAKER - My7p8240.py" "s/anime with long hair.jpg" 
(e)ncode/(d)code>encode
in png>anime.png
Traceback (most recent call last):
File "IMAGE MAKER - My7p8240.py", line 89, in <module>
inPath=input("in png>")
File "<string>", line 1, in <module>
NameError: name 'anime' is not defined
>>
>>52040550
no spaces or slashes in the file name!
also enter either e or d not the whole word
>>
OP here. Going to sleep
>>
>>52040673
oyasumi
>>
>>52039530
How does that work exactly?
If I download the png file and then double click on it, is it just a picture, or would i have to convert it back first? I have a vague idea on how to do that, but generally it's boring if you have to do that first.
If it "auto-executes", you could hide viruses and spyware and shit in there which is cool. could send a "picture" to some chick and suddenly have access to her webcam
>>
>>52040800
You run his script to encode binary into a PNG image.
You run the same script to decode one of the PNG images back into binary.

Seriously, just look at the script. It's all pretty straightforward if you know python.

So no, you can't embed an executable and just have it run. You'd have to decode the image into the executable and then run the executable separately.
Thread replies: 88
Thread images: 11

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.