Advertisement
Guest User

Untitled

a guest
Sep 29th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.51 KB | None | 0 0
  1. \begin{itemize}
  2. \raggedright
  3. \onehalfspace
  4. \item A `username' and `password' are requested by an application.
  5. \item The username \linebreak
  6. \texttt{admin} \linebreak
  7. is supplied.
  8. \item The password \linebreak
  9. \texttt{wrongpw' OR 1=1; --} \linebreak
  10. is supplied.
  11. \item The application then generates the following valid SQL query: \linebreak
  12. \texttt{SELECT * FROM users} \linebreak
  13. \texttt{WHERE username = `admin'} \linebreak
  14. \texttt{AND password = `wrongpw'} \linebreak
  15. \texttt{OR 1=1; --'}
  16. \end{itemize}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement