s4n7h0 / xvwa

XVWA is a badly coded web application written in PHP/MySQL that helps security enthusiasts to learn application security.
GNU General Public License v3.0
1.69k stars 339 forks source link

Update for Issue #32 - to work with PHP 7 #36

Closed LunaM00n closed 5 years ago

LunaM00n commented 5 years ago

It will show like following example Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''%' OR categ LIKE '%1'%'' at line 1 in C:\xampp\htdocs\xvwa\vulnerabilities\sqli\home.php:61 Stack trace: #0 C:\xampp\htdocs\xvwa\vulnerabilities\sqli\home.php(61):

LunaM00n commented 5 years ago

I fixed this issues to work with php 7. https://github.com/s4n7h0/xvwa/issues/32

s4n7h0 commented 5 years ago

Code merged. Thanks @LunaM00n for the updates.