You are viewing a single comment's thread.

view the rest of the comments →

0
20

[–] NassTee 0 points 20 points (+20|-0) ago  (edited ago)

A smartass walks into the bar and orders a '); drop table users; --.

0
7

[–] TwistedSista 0 points 7 points (+7|-0) ago 

Poor little Bobby Tables :'(

0
1

[–] Naked_Dave 0 points 1 point (+1|-0) ago  (edited ago)

Newb here, So I'm kind of getting this, you're closing the string with ";)", and then "drop table users" is something server related, maybe SQL? What's the "--"?

0
2

[–] NassTee 0 points 2 points (+2|-0) ago 

The -- makes anything after it into a comment which is ignored by the database. This prevents the remainder of the original command from making the whole thing invalid.

0
1

[–] fedevela [S] 0 points 1 point (+1|-0) ago 

Basic SQL injection