|
Banned
(08-22-2012, 10:07 PM)
|
#7
|
|
(08-22-2012, 10:22 PM)
|
#29
|
|
Member
(08-22-2012, 10:31 PM)
|
#36
Unsurprisingly, people can use and abuse this to run custom code. (i.e. Wrecking your shit or installing viruses) |
|
(08-22-2012, 10:38 PM)
|
#42
|
|
listen to the madman
(08-22-2012, 10:46 PM)
|
#46
The bitmap format is very simple and doesn't have any compression. You have a few bytes for header data, then a list of colours used, and then the pixel data. Each pixel is represented by an index in the colour table; so the first pixel might be represented by "colour #1", and then in the colour table, colour #1 is red. Imagine that pixel #2 is colour #72.
When you open a bitmap in Notepad, it will assume that the data is ASCII. It reads through all of the binary data in the file trying to interpret it as letters. When it reads the portion of the file that would have been pixel #2, instead of mapping it to colour #72, it reads the colour index as ASCII character #72, which is "H". This is a simplification because I don't know enough about the Bitmap format to know exactly how each pixel data is stored, or if his spoofing method is using ASCII or Unicode, etc. but it's the gist of it. What's more, every single piece of code that can be written on a computer can be represented as an image like this, just as every piece of writing ever (Shakespeare, Dostoyevsky, the Bible, your term paper) can be represented as a piece of music or an image or another piece of writing, or your DNA could be a painting or code or music or a video game or... Everything can be represented as anything. All you need is a function that translates one representation to another. If you're interested in how information can be stored or converted or the essential connectness of all things, consider reading Godel, Escher, Bach; one of the most important Math/Computer Science/Art/Music/Information/Philosophy books written in the last 50 years. It really is illuminating. The climax of the book has Hofstadter applying the concepts he's introduced to cognition itself--comparing a colony of ants to the human brain by arguing that each ant represents one neuron firing, and the colony the broader synaptic passages. Heavy stuff. |
|
Member
(08-22-2012, 10:56 PM)
|
#48
|