๐ Bug HuntPH PHP Mediumโก+20 XP
Wrong String Comparison
This comparison gives unexpected results.
๐ Find the bug
1
if ($password == 0) {2
// grants access!3
}๐ The bug is on line 1
This comparison gives unexpected results.
if ($password == 0) { // grants access!}