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
-
1:04:01
Timcast
3 hours agoTrump Just NUKED Global Economy, Tariffs Ignite Trade War, Markets COLLAPSING
182K152 -
1:54:08
Steven Crowder
6 hours agoLiberation Day: How Trump's Tariff Strategy will Reset the Global Order
394K249 -
1:58:23
The Charlie Kirk Show
3 hours ago“Liberation Day” Reaction + Military Standards + Tariff History | Thibeau, Hanson | 4.3.25
96.3K16 -
LIVE
SternAmerican
1 day agoIntegrity in Action call With Steve Stern and Raj Doraisamy Thursday, April 3rd at 2:00PM EST
543 watching -
1:39:41
Rebel News
3 hours ago $3.08 earnedTrumps new global tariffs, Poilievre and Carney respond, Tamara Lich verdict | Rebel Roundup
49.8K9 -
1:06:19
TheAlecLaceShow
3 hours agoTrump Tariffs Take Effect | Alec Lace in the Rose Garden | Guest: Jim Pfaff | The Alec Lace Show
30.8K2 -
LIVE
Major League Fishing
2 days agoLIVE! - MLF Bass Pro Tour: REDCREST - Day 1
4,116 watching -
3:07:31
Viss
3 hours ago🔴LIVE - How to Continuously Stack Win in Solo PUBG!
47.2K2 -
59:50
The Rubin Report
5 hours agoEconomist Destroys Jon Stewart’s Narrative w/ Facts in Only 3 Minutes
72.8K30 -
1:40:46
Flyover Conservatives
14 hours agoThe Tariffs Are HERE — How Will This Affect You?!; 44,000 COVID Tests, 19,000 Patients - Dr. Michael Schwartz | FOC Show
35.7K5