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
-
1:00:41
VINCE
3 hours agoHere's The Plan To END Trafficking In The US (w/ Tom Homan) | Episode 54 - 05/30/25
166K74 -
DVR
Benny Johnson
2 hours agoSHOCK: Hidden Camera REVEALS Who REALLY Ran Biden White House | Bongino, Kash EXPOSE Dark FBI Truth
39.6K34 -
LIVE
LFA TV
13 hours agoLFA TV LIVE STREAM - FRIDAY 5/30/25
7,791 watching -
LIVE
Caleb Hammer
1 hour agoDave Ramsey Was Wrong, Now She's F*cked | Financial Audit
176 watching -
The Big Mig™
4 hours agoThe Democrats New Secret Weapon, G65 Classified
7.02K7 -
1:18:11
The Kyle Seraphin Show
3 hours agoFBI Nabs INSIDER THREAT: Guy Gives Classified Stuff to FBI | Ep 576
16.9K10 -
1:47:16
Badlands Media
13 hours agoBadlands Daily: May 30, 2025
38.7K4 -
17:50
Kitco NEWS
13 hours agoThis Gold Price Level Could Trigger the Next Major Market Shock
26.9K2 -
1:24:39
Chicks On The Right
6 hours agoElon's departure, Bongino speaks out, judges continue fights with Trump, and Mace's purse contents
54.8K9 -
13:14
IsaacButterfield
7 hours ago $2.18 earnedTrans Student Wins EVERY Race – The Woke Takeover in Schools!
25.7K11