Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fangyi-zhou opened this issue Oct 28, 2018 · 2 comments
Open

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

fangyi-zhou opened this issue Oct 28, 2018 · 2 comments

Comments

@fangyi-zhou
Copy link

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

@hongriSec
Copy link
Owner

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.

@fangyi-zhou
Copy link
Author

I believe the fixed version is still not correct

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants