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
-
LIVE
The Chris Salcedo Show
17 hours ago $2.77 earnedFALLOUT: Charlie Kirk's Assassination
613 watching -
LIVE
The Bubba Army
2 days agoCharlie Kirk's Shooter, Had a Trans BF? - Bubba the Love Sponge® Show | 9/15/25
1,561 watching -
30:31
DeVory Darkins
16 hours ago $8.12 earnedCNN forced to admit the shocking truth about shooter as Fetterman drops bomb on Democrats
27.2K84 -
20:54
Professor Nez
17 hours ago🚨BREAKING: Shooter’s Own Words in Charlie Kirk Case Revealed
13.5K14 -
16:48
itsSeanDaniel
17 hours agoGenius Republican Defends Charlie Kirk and CALLS OUT The Radical Left
12.2K3 -
9:09
Freedom Frontline
17 hours agoFox News Just Showed The Video Biden Never Wanted Seen
21K25 -
0:27
historyofboxing
19 hours ago $0.58 earnedThe Cuban Machine… and Deadliest KO Phenom Right Now – David Morrell Jr
10.6K1 -
38:07
Degenerate Plays
16 hours ago $1.09 earnedWorst Star Wars Character Pranks Us All - Call of Duty: Modern Warfare 3 (2011) : Part 3
17.3K -
2:01:02
BEK TV
3 days agoTrent Loos in the Morning - 9/15/2025
10.8K1 -
3:38:49
Badlands Media
1 day agoThe Narrative Ep. 38: The Sovereign World
128K67