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
You always need data for development. As a server...
1. How to represent the current time in MySQL? In...
Automated build means using Docker Hub to connect...
CocosCreator version: 2.3.4 Cocos does not have a...
Table of contents JSON appears Json structure Jso...
We hope to insert the weather forecast into the w...
This article example shares the specific code of ...
This article introduces how to monitor the ogg pr...
Use navicat to test and learn: First use set auto...
Table of contents 1 Introduction to the new opera...
This article shares the specific code of JS to im...
Table of contents 1. JS Object DOM –1, Function –...
I encountered a requirement to customize shortcut...
This article shares the specific code of jQuery t...
Preface: I have often heard about database paradi...