Guest User

Untitled

a guest
Dec 23rd, 2018
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. user="user"
  2. pass="pass"
  3.  
  4. if "'" in user+pass:
  5. print "error"
  6.  
  7. else
  8. db.execute("select * from users where username = '%s' and password = '%s'" % (username,password))
Add Comment
Please, Sign In to add comment