adamdoupe / WackoPicko

WackoPicko is a vulnerable web application used to test web application vulnerability scanners.
MIT License
328 stars 160 forks source link

Remove short tag #7

Closed 0xch closed 7 years ago

0xch commented 7 years ago

Using PHP 5.6.31 I have an error: PHP Parse error: syntax error, unexpected end of file..

This is a quick fix for it.

adamdoupe commented 7 years ago

Hi @christopherch , thanks for the commit!

One issue I see with your commit is that the h function (which is the HTML entities sanitization routine) isn't being called in the new version. Can you make that change then I'll merge the commit?

Thanks!

0xch commented 7 years ago

Hi @adamdoupe, Please take a look again. I found the source of the problem. It was just one short open php tag. After converting it to normal php open tag the application doesn't need settings from php.ini.

adamdoupe commented 7 years ago

Awesome, thanks!