1 / 5

SQL Crash Course

SQL Crash Course. SQL stands for Structured Query Language Backend of all modern websites You can think about SQL like a large Excel table Only difference is Rows are called Records. SELECT username, FavoriteFood FROM users WHERE IsAdmin =0; .

bill
Download Presentation

SQL Crash Course

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SQL Crash Course • SQL stands for Structured Query Language • Backend of all modern websites • You can think about SQL like a large Excel table • Only difference is Rows are called Records

  2. SELECT username, FavoriteFoodFROM users WHERE IsAdmin=0;

  3. SELECT username, FavoriteFoodFROM users WHEREIsAdmin=0; ACTION ITEMS LOCATION FILTER SELECT * FROM users WHERE username=$var1 AND password=$var2 Select everything from the users table where username is equal to the inputted username and password is also equal to the inputted password.

  4. SQL Injections SELECT * FROM users WHERE username=$var1 AND password=$var2 $var1 = rburden $var2 = 123456 SELECT * FROM users WHERE username=“rburden” AND password=“123456”; $var1 = rburden $var2 = 123456” OR 1==1; SELECT * FROM users WHERE username=“rburden” AND password=“123456” OR 1 == 1;

  5. XSS (Cross Site Scripting) <iframesrc=“http://evilhackerwebsite.com”style="border: 0; width: 100%; height: 100%"> Your browser doesn't support iFrames. </iframe>

More Related