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:00:54
The Charlie Kirk Show
3 hours agoGlenn Beck Commemorates Charlie Kirk | 9.17.2025
254K151 -
29:55
Neil McCoy-Ward
2 hours agoMASSIVE Military Movement (Things Are Heating Up FAST...)
6.75K6 -
40:00
The Kevin Trudeau Show Limitless
5 hours agoYour Wish Is Your Command: The Missing Secrets of Manifesting
8.48K1 -
37:18
The White House
3 hours agoVice President JD Vance Delivers Remarks on President Trump’s Tax Cuts
25.7K18 -
1:13:10
Sean Unpaved
3 hours agoKawhi's Payday Peril, MLB's October Odyssey, & Raleigh's Switch-Hit Throne
31.5K -
1:39:16
Steven Crowder
6 hours agoJimmy Kimmel & The Left Desperately Want to Gaslight America - Don't Let Them
517K452 -
2:33:06
The Shannon Joy Show
5 hours agoFinal Betrayal: Trump’s FBI Director Kash Patel Declares Jeffrey Epstein WASN’T A Sex Trafficker.
47.4K61 -
1:35:00
The Mel K Show
4 hours agoMORNINGS WITH MEL K - Who Benefits? Order Out of Chaos & the Hegelian Dialectic 9-17-25
48.1K13 -
24:23
Standpoint with Gabe Groisman
3 hours agoUS DOJ's Leo Terrell Says “No University Is Prepared For The Crackdown That’s Coming…”
26.7K1 -
59:28
Grant Stinchfield
4 hours ago $3.30 earnedBombshell Audio Proves FBI Targeted Navarro for One Reason—Politics
41.9K10