正在加载视频...

视频加载失败

SQL INJECTION (Login page bypass)

402,705 次观看 • 10 个月前 •via X (Twitter)

45 条评论

Dipak Ranjan Dutta 🇮🇳 的头像
Dipak Ranjan Dutta 🇮🇳10 个月前

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

Abdulkadir | Cybersecurity 的头像
Abdulkadir | Cybersecurity10 个月前

It’ll surprise you

Vernam🌍 的头像
Vernam🌍10 个月前

@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 🇮🇳 的头像
Dipak Ranjan Dutta 🇮🇳10 个月前

@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 🦝 🦝 的头像
AnEmortalKid 🦝 🦝10 个月前

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

Dipak Ranjan Dutta 🇮🇳 的头像
Dipak Ranjan Dutta 🇮🇳10 个月前

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

AnEmortalKid 🦝 🦝 的头像
AnEmortalKid 🦝 🦝10 个月前

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

Dipak Ranjan Dutta 🇮🇳 的头像
Dipak Ranjan Dutta 🇮🇳10 个月前

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

redowl 的头像
redowl10 个月前

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

Abdulkadir | Cybersecurity 的头像
Abdulkadir | Cybersecurity10 个月前

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 的头像
AMOR OF ARSENAL10 个月前

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

Ezgi👩🏻‍💻 的头像
Ezgi👩🏻‍💻10 个月前

If this works, the app was already broken.

Abdulkadir | Cybersecurity 的头像
Abdulkadir | Cybersecurity10 个月前

Heavily

Ezgi👩🏻‍💻 的头像
Ezgi👩🏻‍💻10 个月前

😁🤭

⌂: ~/ras 的头像
⌂: ~/ras10 个月前

NEVER name your admin user admin 🤦🏻‍♂️

Dero 的头像
Dero10 个月前

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

The Conqueror🦸 的头像
The Conqueror🦸10 个月前

In this 2025 ? 😂

Remi 的头像
Remi10 个月前

Still living in 2010?

Ⓗ.Chidi 🐦 的头像
Ⓗ.Chidi 🐦10 个月前

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

el_dorde 的头像
el_dorde10 个月前

Yes, but 25 years ago

Agghittari🪨🧱💸 的头像
Agghittari🪨🧱💸10 个月前

Welcome in 1998

pjs 的头像
pjs10 个月前

@thegreatone444

Abdulkadir | Cybersecurity 的头像
Abdulkadir | Cybersecurity10 个月前

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

Michaël Nass  的头像
Michaël Nass 10 个月前

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 的头像
Floris van den Berg10 个月前

That's why prepared statements were invented.

Deus 𝕏 Tenebris 的头像
Deus 𝕏 Tenebris10 个月前

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 🐧🇪🇺🚽 的头像
Ciccio Diddo 🐧🇪🇺🚽10 个月前

prepared statements ... and injection are impossibile

Radikirklized 的头像
Radikirklized10 个月前

Use Knex

EmmaShoemaker🇬🇭 的头像
EmmaShoemaker🇬🇭10 个月前

Baba

Danang Septiadi 的头像
Danang Septiadi10 个月前

this is why using ORM is recommended for web dev.

Kratos Gado 的头像
Kratos Gado10 个月前

who authenticates like this? 🤣

Andrei Kurilo 的头像
Andrei Kurilo10 个月前

WTH is the plain password even stored ?

discipulus09 的头像
discipulus0910 个月前

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

Piénsale tantito 的头像
Piénsale tantito10 个月前

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

dewops 的头像
dewops10 个月前

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

Diemaa 的头像
Diemaa10 个月前

Just do a YouTube channel at this point

Abdulkadir | Cybersecurity 的头像
Abdulkadir | Cybersecurity10 个月前

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 的头像
Diemaa10 个月前

I like your consistency though

Venus Nine 的头像
Venus Nine10 个月前

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

Nwa Abakpa.x 的头像
Nwa Abakpa.x10 个月前

Lol😂😂😂

Yusuf Sanusi 的头像
Yusuf Sanusi10 个月前

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

Neke Chukwu 𝕩 🪽 的头像
Neke Chukwu 𝕩 🪽10 个月前

😂😂

Eric Companie 的头像
Eric Companie10 个月前

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

APC_MOD (Ø,G) 的头像
APC_MOD (Ø,G)10 个月前

Nicely explained especially with the code reference.

Trevillion(🦀RUST)-🇬🇭 的头像
Trevillion(🦀RUST)-🇬🇭10 个月前

SQL injection in 2025 ? Eiii a well

相关视频