I am fairly new to sql injections and tried to solve a little hackit to understand everything better. I wasn’t able to solve one of the levels so I ran sqlmap to see what it would do. The payloads that I got looked a bit like this
I don’t really understand what
and+'1'+'1 is doing. As soon as I add this part to all of my other injections they suddenly work and I am able to solve the hackit. I tried to search for explanations online, but didn’t find anything. I would really appreciate it if someone on here could maybe explain it to me.