I have this SQL query from the logs select content = 5%id%201=1 from pages the thing is that it runs and returns some values. I tried to find what it does but i hit a dead end. Anyone has some explanation on this?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Looks meaningless to me. It will return
1for a row withid = 4andcontent = '1', or for rows withid != 4andcontent = '0'or a string that cannot be cast to integer;0for all other rows. Seems too contrived to do anything useful.