Official Top 10 selection
Magic Hashes
PHP's == operator compares two hash strings numerically when both look like 0e followed only by digits, so both become the float zero and match. Submitting a precomputed magic value as a password, token or cookie therefore makes the comparison return true without knowing the secret, and the post tabulates such inputs for md5, sha1, ripemd, tiger, haval and others.
Preserved copies · WhiteHat Security · Original publication ↗
Record
- Published by
- WhiteHat Security
- Topic
- Crypto
In the archive
- Ranked #9 in the 2015 Top 10 Web Hacking Techniques · Open this archive record
2015Full list (Wayback) (unverified) ↗
Announcement provenance and preserved copies
WhiteHat Security · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official nominations and results · Historical original URL ↗ · Preserved nominations and results (PDF)
Tags
This page is the archive's own catalogue record. The research is the work of WhiteHat Security, first published at the original source. Preserved copies are kept so the citation survives its host.