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
StoneMountain64
2 hours agoBattlefield 6 Unlocks and Challenges
49 watching -
LIVE
Total Horse Channel
10 hours agoLow Roller Reining Classic | Main Arena | October 11th, 2025
198 watching -
LIVE
GamerGril
3 hours agoZombie Fight Club 💞Dying Light The Beast💞
78 watching -
56:25
MentourPilot
1 year agoTITANIC of the Skies! - The Untold Story of Air France 447
35.8K6 -
LIVE
Lofi Girl
2 years agoSynthwave Radio 🌌 - beats to chill/game to
261 watching -
2:07:47
LFA TV
17 hours agoTHE RUMBLE RUNDOWN LIVE @9AM EST
81.9K12 -
2:20:46
I_Came_With_Fire_Podcast
12 hours agoThe Pattern Beneath the World: Nature, The Mark of the Beast, & the Sacred Order
28.2K24 -
49:56
X22 Report
7 hours agoMr & Mrs X - [DS] Antifa Are Planning An Insurrection,Trump Has Prepared The Counterinsurgency-EP 11
75.2K66 -
1:08:57
Wendy Bell Radio
11 hours agoPet Talk With The Pet Doc
62.5K27 -
8:47
Demons Row
2 days ago $2.07 earnedI Spent $50,000 Building My Dream Harley-Davidson 😳💀 (Learn From My Mistakes)
50.8K10