Advertisement
arxeiss

SQL Injection

May 9th, 2016
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Go 0.15 KB | None | 0 0
  1. login := "admin"
  2. password := "' OR login = 'admin"
  3.  
  4. db.Exec("SELECT * FROM users WHERE login = '" + login + "' AND password = '" + password + "'")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement