[CTF.SG'22] Wildest Dreams Pt 2
Wildest Dreams Pt. 2 (CTF.SG 2022) 1989.php Once we open this file, a simple glance through the source code shows that the flag will be revealed once md5(i1) == md5(i2).
The only requirements for i1 and i2 is that they shouldn’t be the same, and they must have a length of more than 15 characters.
In php, two strings matching the regular expression 0+e[0-9]+ compared with == returns true. Thus, strings such as 0e69, 0e12 etc will return true when compared with each other.
2022/03/13 · Bowen