SQL Injection Fundamentals - Union Injection section

Hi, I am struggling with this question: "get the result of ‘user()’ ". I tried different union sql injections, but no luck. I dont get the meaning of user in this case. All suggestions are welcome

Never mind. Found out the solution.

Hey, how did you find the answer?? I’m still stuck at this

1 Like

Go to the Port Swigger site, they have a free academy, One of the courses is SQL Injection. You can download Burp Suite Community for free. The SQL Injection course is the best I have seen. Once you finish you will have SQL Injection down.

type:
cn’ UNION select 1,user(),3,4 – ’