First, let’s look at the GIF operation: Case 1: Spaces are filtered Use brackets () instead of spaces. Any statement that can calculate a result can be surrounded by brackets. select * from(users)where id=1; Use comments /**/ to bypass spaces; select * from/**/users/**/where id=1; Case 2: Limit from and certain character combinations Add a dot after "from". That is, use "from." instead of "from". select * from.users where id=1; Then watch the GIF directly: To put it simply, it means replacing the ' field name ' with hex ; This reminds me of when I started learning SQL injection, I used The single/double quotes are indeed omitted here, which is foolproof (we won’t mention But at that time I was only concerned with the results. Today, when I was sorting out the previous data, I found this problem, but I was confused and didn't know why it was coded like this. Let's do it in practice: You can clearly see the error message. The first single quote after Then convert it to My machine doesn't give him permission here, so it will prompt that he can't write. It depends on the actual situation. Summarize The above is the full content of this article. I hope that the content of this article can be of some help to your study or work. If you have any questions, you can leave a message to communicate. You may also be interested in:
|
<<: Detailed examples of Docker-compose networks
>>: A brief discussion on docker-compose network settings
1. Document flow and floating 1. What is document...
Preface Query optimization is not something that ...
binlog is a binary log file that records all DML ...
Set a background image for the table. You can use...
Preface Before starting this article, let’s do a ...
The effect to be achieved is: fixed zoom in twice...
This article introduces the method of using CSS3 ...
Table of contents Preface Initialize the project ...
In Google Chrome, after successful login, Google ...
Margin of parallel boxes (overlap of double margi...
In MySQL 8.0.18, a new Hash Join function was add...
Table of contents Set a not null constraint when ...
Table of contents 1. Shared CommonModule 2. Share...
Table of contents 1. What is a closure? 2. The ro...
Table of contents 1. Installation of JDK1.8 under...