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
-
8:59
China Uncensored
7 hours agoChina Just Declared Economic WAR On The US
9938 -
LIVE
LFA TV
22 hours agoLIVE & BREAKING NEWS! | FRIDAY 10/10/25
703 watching -
2:13:12
Barry Cunningham
5 hours agoBREAKING NEWS: PRESIDENT TRUMP MAKES AN ANNOUNCEMENT! (AND THE FIRINGS HAVE BEGUN!)
17K28 -
8:09:58
StoneMountain64
10 hours agoBattlefield 6 FULL RELEASE LAUNCH Gameplay - IT'S FINALLY TIME
5.05K -
Edge of Wonder
4 hours ago3I/ATLAS UFO Updates & Ancient Tech Found
12.3K7 -
10:33:08
GrimmHollywood
11 hours ago🔴LIVE • GRIMM HOLLYWOOD • BATTLEFIELD 6 LAUNCH • BRRRAP PACK •
1.19K4 -
LIVE
FusedAegisTV
15 hours agoEvo France 2025 Day 1 Re-Stream - Nice, France ∥ 3,500 ENTRANTS, R1 Pools
16 watching -
43:09
BonginoReport
10 hours agoJOHN ROCKER UNCAGED! - Nightly Scroll w/ Hayley Caronia (Ep.153)
78.6K20 -
1:29:04
Kim Iversen
4 hours agoHe Tried to Overthrow Maduro — He Says the U.S. Government Set Him Up
70.2K70 -
LIVE
Mally_Mouse
5 days agoFriend Friday!! 🎉 - Let's Play! - REPO
50 watching