Created
December 2, 2015 00:40
-
-
Save jybaek/9512ef8b7f8c35350dbd to your computer and use it in GitHub Desktop.
PHP의 오래된 해시 비교 버그
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// 출처 : https://blog.whitehatsec.com/magic-hashes/ | |
if (hash('md5','240610708',false) == '0') { | |
print "Matched.\n"; | |
} | |
if ('0e462097431906509019562988736854' == '0') { | |
print "Matched.\n"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment