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:06:02
Ben Shapiro
3 hours agoEp. 2264 - Democratic Party BLEEDING Voters!
16.9K25 -
1:19:28
Sean Unpaved
2 hours agoRicky Cobb's Bucket List: Sports, Jokes, & Jabs
5.31K1 -
1:03:22
Timcast
2 hours agoTrump Civil Fraud Judgement OVERTURNED On Appeal, PROVING Corruption
109K72 -
LIVE
Viss
2 hours ago🔴LIVE - Learn PUBG Tactics Here and Dominate The Battleground!
136 watching -
LIVE
GritsGG
6 hours agoWin Streaking! Most Wins 3390+ 🧠
103 watching -
1:58:18
The Charlie Kirk Show
2 hours agoTrump the Unbreakable + The Anti-Abstraction Presidency | Marlow, Morris, Hanson, Nuclear | 8.21.25
24.9K6 -
2:02:51
Steven Crowder
5 hours agoWoke CNN Host's Meltdown Over Trump Slavery Truth Needs to Be Examined
300K222 -
19:42
Law&Crime
23 hours ago $0.48 earnedPraying Florida Teen Pleads Not Guilty After Parents’ Gruesome Murder
8.51K3 -
4:05:41
JuicyJohns
5 hours ago $1.72 earned🟢#1 REBIRTH PLAYER 10.2+ KD🟢
86.9K1 -
1:00:50
VINCE
5 hours agoThe Pro-Crime Left Is Officially Finding Out | Episode 108 - 08/21/25
183K235