Premium Only Content

Web Security Academy ~ SQLi (Lab #2) ⚙️
If the query returns the details of a user, then the login is successful. Otherwise, it is rejected.
In this lab an attacker can log in as any user without a password simply by using the SQL comment sequence -- (double-dash) to remove the password check from the WHERE clause of the query.
By submitting the username administrator'-- the password results in the following query:
SELECT * FROM users WHERE username = 'administrator'--' AND password = ''
Ignoring the password field, because it comes after the comment sequence (double-dash)
This query returns the user whose username is administrator and successfully logs the attacker in as that user.
💙💙💙💙💙💙💙💙💙💙💙💙
FREE CYBER SECURITY LEARNING RESOURCES :
The Cyber Mentor --- https://academy.tcm-sec.com
Nathan House --- https://www.stationx.net
John Hammond --- https://johnhammond.org
Loi Liang --- https://loiliangyang.com
HackerSploit --- https://hackersploit.org
David Bombal --- https://davidbombal.com
Professor Messer --- https://www.professormesser.com
w3schools --- https://www.w3schools.com
#hacktolearn #websecurityacademy #sqli #commentsequence #doubledash
-
26:04
Artur Stone Garage
4 days ago $1.74 earned$500 Civic: Will It EVER Drive Without Breaking Down?
21.3K7 -
31:44
SouthernbelleReacts
2 days ago $2.49 earned“E.T. Phone Home! 🛸 Emotional Mom Style Reaction to E.T. the Extra-Terrestrial (1982)”
32.6K6 -
20:10
JohnXSantos
1 day ago $1.21 earnedI Built a FAKE Luxury Brand With $100 In 7 Days
27.2K2 -
25:24
marcushouse
5 hours ago $2.63 earnedStarship Test Trouble… and Block 3 Finally Unveiled! 🤯
31.8K7 -
33:10
Vedic compatability astrology
5 days ago"The mystery of Austin Muhs Explained"
12K1 -
1:13:26
Squaring The Circle, A Randall Carlson Podcast
12 hours agoSaving The Bees and Healing The Planet!
19K1 -
16:18
Chris Harden
2 days ago $3.61 earnedCharlie Kirk Utah Reaction | What Locals Are Saying
25.7K11 -
50:47
ChurchandState1776
21 hours agoFree speech is not negotiable with Sam Anthony
15.5K4 -
16:59
Chris From The 740
22 hours ago $2.86 earnedIs Bigger Better? - The Gideon Optics Mediator 2 Is Here!
23.6K2 -
7:58
Blackstone Griddles
19 hours agoTennessee Mountain Burgers on the Blackstone Griddle
24.1K5