Restrict session to IP 

Double query  Go to the Training: MySQL II challenge

Global Rank: 159
Totalscore: 107548
Posts: 1
Thanks: 1
UpVotes: 1
Registered: 8y 134d

Last Seen: 10s
The User is Online
Double query
Google/translate1Thank You!1Good Post!0Bad Post! link
I'm trying to inject a second command that will get executed after the select, but before the password check. Am I on the right track?
This works locally for me, but when I try it on wechall I get an "GDO 1064". Is there something "blocking" executing two queries with the command "queryFirst"?
Global Rank: 222
Totalscore: 84690
Posts: 1284
Thanks: 1129
UpVotes: 620
Registered: 10y 35d

Last Seen: 14h 57m
The User is Offline
RE: Double query
Google/translate0Thank You!0Good Post!0Bad Post! link
You cannot execute two queries in a single query.
This is a limitation, once introduced for security, in mysql/mysqli (if i recall correctly)

Most other languages and their mysql bindings should have the same limits.

I googled a bit and it seems that it would be possible.

Take a look at
The geeks shall inherit the properties and methods of object earth.
tunelko, Redknee, silenttrack, qdxy, TheHiveMind, Z, Ge0, samuraiblanco, arraez, jcquinterov, hophuocthinh, alfamen2, burhanudinn123 have subscribed to this thread and receive emails on new posts.
1 people are watching the thread at the moment.
This thread has been viewed 530 times.