Re:PNG Image Metadata Found Leveraging iFrame Injections
by rpsw on Thursday February 06, 2014 @05:34AM
(#7189660)
FWIW, The article seems to be mistaken. The code listed is retrieving the payload from the pixel data.
It uses getImageData, which returns the pixel data of the canvas in an array of RGBA values. It then loops through and retrieves a character from every red pixel.
It uses getImageData, which returns the pixel data of the canvas in an array of RGBA values. It then loops through and retrieves a character from every red pixel.