hongriSec/PHP-Audit-Labs

PHP-Audit-Labs/Part1/Day4/files/9.png

fangyi-zhou opened this issue · 2 comments

Note the extra ; after the if condition, the echo statement will always execute.

Note the extra ; after the if condition, the echo statement will always execute.

Thank you for your correction, we have modified the mistake code on the PHP-Audit-Labs/Part1/Day4/files/9.png.

I believe the fixed version is still not correct

$ php -a
php > if ("1"=="0") echo "ok";
php >