Zum Inhalt springen
L

Das Video kommt von YouTube: erst beim Abspielen verbindet sich die Seite mit YouTube (Google).

What Is SQL Injection?

Hacksplaining2:39 298.121 Aufrufe veröffentlicht Auf YouTube

Das Wichtigste aus dem Video

Tipp auf eine Zeit – das Video springt genau dorthin.

Transkriptautomatisch erstellt · 16 Zeilen
Herunterladen
  1. [Music] Welcome to the hack explaining video tutorial series. In this video, we will
  2. learn about SQL injection. One of the most common and dangerous methods hackers can use to attack your website. This is the vulnerable application we'll
  3. be trying to hack with a SQL injection attack. Here are the application logs. Watch what happens here when we interact with the vulnerable application.
  4. First, let's try guessing the password. Okay, so guessing the password didn't work. Let's try adding a quote character
  5. after the password. The application crashed with an unexpected error. What could that mean?
  6. The logs show a SQL syntax error. This indicates that the quote character messed something up in an unexpected way.
  7. This is what the application code looks like behind the scenes. Watch how the SQL code gets built as we enter the login details. Let's enter the password
  8. with a trailing quote character once more. The quote is inserted directly into the SQL string and terminates the query
  9. early. This is what caused the syntax error we saw in the logs. This behavior indicates that the application might be vulnerable to SQL
  10. injection. Now let's try a specifically crafted password.
  11. And we're in. We successfully gained access to the application without having to guess the password using SQL injection.
  12. The double dashes we entered caused the database to ignore the rest of the SQL statement, allowing us to be authenticated without having to supply
  13. the real password. SQL injection is one of the most prevalent vulnerabilities on the
  14. internet. If you only have time to protect yourself against one vulnerability, you should be checking for SQL injection in your codebase.
  15. Click on the link to learn how to protect yourself or move on to the next video.
  16. [Music]

Zum Nachlesen