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
-
2:35:48
I_Came_With_Fire_Podcast
16 hours agoCarolina Bays: The Lost Cataclysm You've Never Heard Of
18.1K6 -
59:56
X22 Report
21 hours agoMr & Mrs X - [DS] Trafficking Empire – The Pedo Network Island, The Cover-Up: Part 2 - Ep 6
94.9K36 -
1:03:07
Candace Show Podcast
1 day agoI’M BACK! And STILL Asking Questions (Sorry Brigitte). | Candace Ep 233
127K225 -
13:13
Mrgunsngear
21 hours ago $7.41 earnedStreamlight TLR-1 HP Review: Can It Dethrone Surefire?
52.4K20 -
1:26:34
Man in America
23 hours agoExposing the Cover-Up That Could Collapse Big Medicine: Parasites
105K96 -
1:12:09
Wendy Bell Radio
10 hours agoPet Talk With The Pet Doc
35.1K52 -
27:15
Liberty Hangout
2 days agoThe Most DELUSIONAL Democrats on Earth!
57.1K173 -
38:41
JohnXSantos
1 day ago $1.30 earnedHow To Start A CLOTHING BRAND on a BUDGET! Step X Step (2025)
28.7K2 -
30:57
Her Patriot Voice
20 hours ago $17.52 earnedDemocrats More Unhinged Than EVER Before!
112K156 -
29:13
Clownfish TV
1 day agoGen Z are Becoming the Boomers?! | Clownfish TV
32.8K41