Web Hack List

Top 10 winner

Hiding JS in Valid Images

Matteo Carli's GIF that is also valid JavaScript: an =1 after the GIF header stops the magic bytes parsing as an undefined variable, and a long comment swallows the binary. The file passes as an image on hosts like ImageShack yet runs when loaded as a script source, and the same trick embeds PHP for RFI.

Record

Researcher
RSnake
Date

In the archive

Tags

This page is the archive's own catalogue record. The research is the work of RSnake, first published at the original source. Preserved copies are kept so the citation survives its host.