Live data from Hacker News

Why does this png display differently in Chrome/Firefox than in Safari/IE?

stackoverflow.com

21–30 of 40 posts

Re: Why does this png display differently in Chrome/Firefox than in Safari/IE?

#21
I think this has some interesting applications in spearphishing etc:

You know the Bob Boss uses IE so you send a link to a "specially crafted" web page that uses an image like this to show the boss a completely smart solution (place high value object in this location inside vault) and ask him if it is OK. Now just get Bob to forward the link to the web page to Alise who uses some other, known web browser and she sees a map with a location outside the vault.

Just a thought: for now if you own the server anyway you can just do browser sniffing and send two completely different images..

Re: Why does this png display differently in Chrome/Firefox than in Safari/IE?

#22
post #21

I think this has some interesting applications in spearphishing etc: You know the Bob Boss uses IE so you send a link to a "specially crafted" web page that uses an image like this to show the boss a completely smart solution (place high value object in this location inside vault) and ask him if it is OK. Now just get Bob to forward the link to the web page to Alise who uses some other, known web browser and she sees…

It would be interesting to try the same attack via email attachments, i.e. get Bob to check an image with a contract, then forward it to Alice saying 'this is approved' but the wording of her contract is different to the one he read.

Re: Why does this png display differently in Chrome/Firefox than in Safari/IE?

#25
post #21

I think this has some interesting applications in spearphishing etc: You know the Bob Boss uses IE so you send a link to a "specially crafted" web page that uses an image like this to show the boss a completely smart solution (place high value object in this location inside vault) and ask him if it is OK. Now just get Bob to forward the link to the web page to Alise who uses some other, known web browser and she sees…

I don't understand the map part.

Re: Why does this png display differently in Chrome/Firefox than in Safari/IE?

#26
post #18

Using Photoshop I tried to make my own image like this. http://i.imgur.com/36EgeOF.png It's a mix of Tux and the GNU logo. The strange thing is that Firefox shows Tux, and Chrome shows the GNU logo. Very strange considering both Firefox and Chrome show the pear. My understanding is that the GNU logo (the 'lighter' image) should be shown if the gamma correction is applied. Does anyone know what's going on here? EDIT:…

Using Firefox, I see a very grainy Tux, and a faded GNU logo in the background. When I take a screenshot of it using Firefox, and view the screenshot in Chrome, I see the grainy Tux/faded GNU logo, identical to my viewing of it in Firefox. Is this how it's supposed to work?

http://i.imgur.com/hTauClg.jpg (screenshot of what I see in firefox)

I apologize if this is a dumb question.

Re: Why does this png display differently in Chrome/Firefox than in Safari/IE?

#29
post #26
post #18

Using Photoshop I tried to make my own image like this. http://i.imgur.com/36EgeOF.png It's a mix of Tux and the GNU logo. The strange thing is that Firefox shows Tux, and Chrome shows the GNU logo. Very strange considering both Firefox and Chrome show the pear. My understanding is that the GNU logo (the 'lighter' image) should be shown if the gamma correction is applied. Does anyone know what's going on here? EDIT:…

Using Firefox, I see a very grainy Tux, and a faded GNU logo in the background. When I take a screenshot of it using Firefox, and view the screenshot in Chrome, I see the grainy Tux/faded GNU logo, identical to my viewing of it in Firefox. Is this how it's supposed to work? http://i.imgur.com/hTauClg.jpg (screenshot of what I see in firefox) I apologize if this is a dumb question.

Firefox SHOULD be showing the GNU logo. For some reason, when a color profile is included in the image, Firefox ignores the gamma correction information. Or at least, that's what seems to be happening. Viewing the original image in Chrome should correctly show the GNU logo.

The reason the screenshot doesn't appear different in Chrome is because no gamma correction is attached to it.

Anyway, check this new link: http://i.imgur.com/vYBIZ0R.png

This is the same image with the color profile removed. It should show the GNU logo in both Firefox in Chrome, but show Tux in browsers which ignore the gamma correction.

I apologize if my explanations are confusing... I'm very new to this stuff.

Post reply on HN