Loading video...

Video Failed to Load

Go Home

SQL INJECTION (Login page bypass)

402,705 views • 10 months ago •via X (Twitter)

45 Comments

Dipak Ranjan Dutta 🇮🇳's profile picture
Dipak Ranjan Dutta 🇮🇳10 months ago

Brother, no one saves database credentials in sql database nowadays.

Abdulkadir | Cybersecurity's profile picture
Abdulkadir | Cybersecurity10 months ago

It’ll surprise you

Vernam🌍's profile picture
Vernam🌍10 months ago

@Dipak_R_Dutta All of us do save db credentials in databases. Wtf are you talking about!? Have you seen corporate software in your life? 😁

Dipak Ranjan Dutta 🇮🇳's profile picture
Dipak Ranjan Dutta 🇮🇳10 months ago

@cyber_razz We use parameterized queries along with object relational mapping tools like hibernate to defend against this kind of sql injection. that kind of a context in this kind of scenario.

AnEmortalKid 🦝 🦝's profile picture
AnEmortalKid 🦝 🦝10 months ago

@Johnny7xp @cyber_razz Hibernate would go to a database no?

Dipak Ranjan Dutta 🇮🇳's profile picture
Dipak Ranjan Dutta 🇮🇳10 months ago

@Johnny7xp @cyber_razz Yes it will go to db but parameterized queries will be used so sql injection will not happen.

AnEmortalKid 🦝 🦝's profile picture
AnEmortalKid 🦝 🦝10 months ago

@Johnny7xp @cyber_razz So then creds are stored in the db?

Dipak Ranjan Dutta 🇮🇳's profile picture
Dipak Ranjan Dutta 🇮🇳10 months ago

@Johnny7xp @cyber_razz Yes in some cases but preferable way is to store one way hashed password along with salt.

redowl's profile picture
redowl10 months ago

if (sha256(rowusercode + POST password) === rowpassword) + (random code === post random) bypass this !!

Abdulkadir | Cybersecurity's profile picture
Abdulkadir | Cybersecurity10 months ago

Idk how this got to the wrong side of twitter The post is just an intro to sql injection in cases of injectable username input field

AMOR OF ARSENAL's profile picture
AMOR OF ARSENAL10 months ago

These things are blocked using most ORMs. And who builds a website without enforcing password as requirement.

Ezgi👩🏻‍💻's profile picture
Ezgi👩🏻‍💻10 months ago

If this works, the app was already broken.

Abdulkadir | Cybersecurity's profile picture
Abdulkadir | Cybersecurity10 months ago

Heavily

Ezgi👩🏻‍💻's profile picture
Ezgi👩🏻‍💻10 months ago

😁🤭

⌂: ~/ras's profile picture
⌂: ~/ras10 months ago

NEVER name your admin user admin 🤦🏻‍♂️

Dero's profile picture
Dero10 months ago

Literally no one implements auth this way anymore. I mean, direct user input to SQL query? Lol.

The Conqueror🦸's profile picture
The Conqueror🦸10 months ago

In this 2025 ? 😂

Remi's profile picture
Remi10 months ago

Still living in 2010?

Ⓗ.Chidi 🐦's profile picture
Ⓗ.Chidi 🐦10 months ago

The reason why you should validate and sanitize all inputs. Most Dev ignore doing that.

el_dorde's profile picture
el_dorde10 months ago

Yes, but 25 years ago

Agghittari🪨🧱💸's profile picture
Agghittari🪨🧱💸10 months ago

Welcome in 1998

pjs's profile picture
pjs10 months ago

@thegreatone444

Abdulkadir | Cybersecurity's profile picture
Abdulkadir | Cybersecurity10 months ago

This post seems like it’ll do wonders, as you drop ur take good or bad.. check me out on tiktok

Michaël Nass 's profile picture
Michaël Nass 10 months ago

The solution to this problem is to start your SQL query with the password instead of the username to authenticate the user. /s

Floris van den Berg's profile picture
Floris van den Berg10 months ago

That's why prepared statements were invented.

Deus 𝕏 Tenebris's profile picture
Deus 𝕏 Tenebris10 months ago

make one with that 1=1 on the user/password field thats one way to enter that could still get us to juicy pages!

Ciccio Diddo 🐧🇪🇺🚽's profile picture
Ciccio Diddo 🐧🇪🇺🚽10 months ago

prepared statements ... and injection are impossibile

Radikirklized's profile picture
Radikirklized10 months ago

Use Knex

EmmaShoemaker🇬🇭's profile picture
EmmaShoemaker🇬🇭10 months ago

Baba

Danang Septiadi's profile picture
Danang Septiadi10 months ago

this is why using ORM is recommended for web dev.

Kratos Gado's profile picture
Kratos Gado10 months ago

who authenticates like this? 🤣

Andrei Kurilo's profile picture
Andrei Kurilo10 months ago

WTH is the plain password even stored ?

discipulus09's profile picture
discipulus0910 months ago

This is no longer a thing as most website use strong sanitisation and input validation to prevent this.

Piénsale tantito's profile picture
Piénsale tantito10 months ago

Only newbies who create sql outside the database do those mistakes.

dewops's profile picture
dewops10 months ago

use prepared statements so data is sent separately from SQL logic, then escape only when rendering output, not earlier. SQLI impossible

Diemaa's profile picture
Diemaa10 months ago

Just do a YouTube channel at this point

Abdulkadir | Cybersecurity's profile picture
Abdulkadir | Cybersecurity10 months ago

I’m working on it (this particular video isn’t mine though ) But I have a lot of tutorials I’d love to make in the future

Diemaa's profile picture
Diemaa10 months ago

I like your consistency though

Venus Nine's profile picture
Venus Nine10 months ago

if this is the true the sql is a veeery stupid language

Nwa Abakpa.x's profile picture
Nwa Abakpa.x10 months ago

Lol😂😂😂

Yusuf Sanusi's profile picture
Yusuf Sanusi10 months ago

Please bye-pass this if you can built the BE + Infrastructure from A-Z.

Neke Chukwu 𝕩 🪽's profile picture
Neke Chukwu 𝕩 🪽10 months ago

😂😂

Eric Companie's profile picture
Eric Companie10 months ago

Learn to build in PHP a website from scratch...

APC_MOD (Ø,G)'s profile picture
APC_MOD (Ø,G)10 months ago

Nicely explained especially with the code reference.

Trevillion(🦀RUST)-🇬🇭's profile picture
Trevillion(🦀RUST)-🇬🇭10 months ago

SQL injection in 2025 ? Eiii a well

Related Videos