News for hackers. Stuff that matters.
Re:An XSS on Facebook via PNGs and Wonky Content Types by deathanatos on Wednesday March 16, 2016 @09:55PM (#11302111)
The author seems aware that it is possible, however:

> Rather than trying to create this by hand, I used a brute-force solution (I’m sure there are much better ways, but I wanted to whip up a script and leave it running):

He just didn't want to learn DEFLATE right then, right there. He got the same result.

FWIW, I don't think this is actually hard. DEFLATE has a small header that tells you want type of compressed data follows; one of the types is "literally, this data" which is up to 64KiB long. (i.e., a plenty long enough string to get the job done.)

There are no comments on this comment yet.