Official Top 10 selection
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.
Preserved copies · RSnake · Original publication ↗
Record
- Researcher
- RSnake
- Published by
- ha.ckers.org
- Date
- Topic
- Other
In the archive
- Ranked #5 in the 2007 Top 10 Web Hacking Techniques · Open this archive record
2007Results (unverified) ↗Nominations (unverified) ↗
Announcement provenance and preserved copies
Jeremiah Grossman · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Earlier publication URL ↗ · Preserved results (PDF)
Official nomination material · Earlier publication URL ↗
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.