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
GritsGG
3 hours agoWin Streaking! Most Wins 3390+ 🧠
48 watching -
LIVE
LFA TV
4 hours agoLFA TV ALL DAY STREAM - THURSDAY 8/21/25
5,094 watching -
LIVE
bstrui
2 hours agoStar Wars Jedi: Fallen Order and maybe a switch up later
50 watching -
4:00:19
The Bubba Army
1 day agoAnother LopSided Jake Paul Fight? - Bubba the Love Sponge® Show | 8/21/25
107K5 -
1:02:42
Dialogue works
1 day ago $5.32 earnedJohn Helmer: Trump Ditches Ceasefire? Despite EU & Zelensky Pressure
81.6K24 -
10:48
Nikko Ortiz
22 hours agoDont Watch These TikToks
108K15 -
10:17
MattMorseTV
21 hours ago $18.30 earnedTrump's DOJ just DROPPED a NUKE.
111K111 -
2:09:32
Side Scrollers Podcast
1 day agoStreamer DIES Live On Air + Your Food is Poison + Xbox Announces $900 Handheld | Side Scrollers Live
60.5K22 -
15:32
GritsGG
20 hours agoFull Auto ABR Sniper Support! Most Winning Quad Win Streaking!
43K4 -
7:42
The Pascal Show
19 hours ago $2.79 earnedBREAKING! Police Provide UPDATE In Emmanuel Haro's Case! Is Jake's Lawyer Lying To Us?!
48.3K2