ThisisLegal.com

ThisisLegal Forums

Welcome to the forums! A chance for site members to chat and get help.

You are not logged in.

#1 2012-12-16 04:45:08

roelof1967
Member
Registered: 2012-12-16
Posts: 1

problem retrieving data from a exercise from certi

Suppose I have a table named a. It has 5 columns.
The second column is vulnerable.
Now I found a table named users. it has 3 columns named id, user, pass.

How do I retrieve the password from the user admin ?

I tried this : i=1+union+select 1,group_concat(user,0x3a,pass),3,4,5 from users WHERE user="admin"

but I still get this error message : Error:The used SELECT statements have a different number of columns

Roelof

Offline

Board footer

Powered by FluxBB