what is an SQL Injection?

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • 🔥🔥Join the NetworkChuck Academy!: ntck.co/NCAcademy
    ☕☕ COFFEE and MERCH: ntck.co/coffee
    #sqlserver #SQLinjection #database

Komentáře • 112

  • @gio3061
    @gio3061 Před rokem +532

    I work for altoro, I can't believe you did us dirty

  • @Ianjames1066
    @Ianjames1066 Před 8 měsíci +25

    Thanks!

  • @didakad4207
    @didakad4207 Před 7 měsíci +5

    I like how you took it literally.

  • @vexperian2224
    @vexperian2224 Před rokem +25

    Literally just did a module on this today, cool stuff!

  • @laughingvampire7555
    @laughingvampire7555 Před rokem +53

    every time I see the term SQL injection I think of PHP, because I'm a GenX dev and I was there when PHP became popular and dethroned PERL as the preferred web scripting language. The irony is that PHP became famous because it is extremely insecure as a programming language and almost everyday of the late 1990s and early 2000 security news were about some PHP site being hacked by SQL injections.
    PERL otoh came with a security feature that forced you to use any method to parse and check the data of anything that came outside of the computer, anything from sockets including a request had to be parsed in some way, usually a regex, and if the perl dev read the manual properly would avoid injections which it happen. PERL throws an error of "tainted variable" if you want to use it without parsing it. PERL5 at least I don't know if PERL6 does it.

    • @ibrahimasad8533
      @ibrahimasad8533 Před 9 měsíci

      I have 3 words: Bot or nerd

    • @AlbertJarodIbay
      @AlbertJarodIbay Před 9 měsíci

      ​@@ibrahimasad8533does it matter? Information is information.

    • @Kankipappa
      @Kankipappa Před 8 měsíci +2

      PHP itself isn't inherently more insecure meaning you can make it secure, but people were just incompetent devs on security related stuff at the time, since web was still a new thing.

    • @purplevanilla
      @purplevanilla Před 3 měsíci +1

      ​@@KankipappaSo it's all depend on the programmers?

    • @Kankipappa
      @Kankipappa Před 3 měsíci

      @@purplevanilla Yes, there are many ways to avoid those problems, by simply just not trusting the user to always do well behaved inputs, and SQL also has prepared statements.
      Just like C/C++ language has its own problems regarding memory allocation (since you have to do it yourself). Doesn't mean you can't do software well in those.

  • @Alec9821
    @Alec9821 Před rokem +11

    My preferred method of preventing injection when building a web app is parameterised statements.
    Send the query with placeholders, and send the strings to replace the placeholders.

    • @hankpeterson628
      @hankpeterson628 Před rokem +2

      Isnt that vulnerable for escapes?

    • @Alec9821
      @Alec9821 Před rokem

      @@hankpeterson628 no surprisingly, the strings to replace the placeholders are never combined with the query.
      It’s fool proof, I’m surprised people don’t talk about it more

    • @MoneyGrab
      @MoneyGrab Před 2 měsíci

      ​@@hankpeterson628He probably means this: (python example)
      db.execute('SELECT userid FROM users WHERE name = ?', ('chuck',))
      This protects your program against sql injections.

  • @theluckydragon2346
    @theluckydragon2346 Před rokem +148

    can you make a video about AI training on the cloud or fine tuning one ?

    • @SQLxGuy
      @SQLxGuy Před rokem +5

      I am SQL

    • @honker2
      @honker2 Před rokem +13

      @@SQLxGuy bro thinks hes the main character

    • @SQLxGuy
      @SQLxGuy Před rokem +2

      @@honker2 I am💀💀

    • @GroupFacade9264
      @GroupFacade9264 Před rokem +5

      ​@@honker2i think he's SQL

    • @honker2
      @honker2 Před rokem

      hes sql
      @@SQLxGuy

  • @hackdonalds
    @hackdonalds Před 10 měsíci +9

    this is soooo relevant! if you live in 2002

  • @kunle4sanya
    @kunle4sanya Před rokem +20

    Waiting😊

  • @HentA.I
    @HentA.I Před 11 měsíci +5

    and thats why you use prepared statements

  • @Wess2600
    @Wess2600 Před 10 měsíci +7

    Can you explain a DLL next?

  • @scriptles
    @scriptles Před rokem +10

    my favorite injection is "'or ''=' lol

    • @oh_finks
      @oh_finks Před 11 měsíci

      what does this do?

    • @scriptles
      @scriptles Před 11 měsíci +4

      @@oh_finksCompletes a SQL statement that says log me in if imy username is "" and password is "" or if "" is "". Obviously nothing is equal to nothing. And the intex it pulls is usually index 0 which is the very first account created and thus usually an admin account.

  • @catharsis222
    @catharsis222 Před rokem +9

    What if the child’s first name is really Drop and the last name is Table?

    • @glass6582
      @glass6582 Před 7 měsíci +1

      Little bobby tables we call him

  • @moamedkgjgyj276
    @moamedkgjgyj276 Před rokem

    My best CZcamsr ❤❤❤

  • @Qyfashae
    @Qyfashae Před rokem

    Cant wait to see the faces of the SoC Team that needs to work Saturday and Sunday for Altoro

  • @bestcommedy3184
    @bestcommedy3184 Před rokem +5

    Full video need about this please 🙏

  • @abdurrahimaykut6862
    @abdurrahimaykut6862 Před rokem +2

    This is good but old cuz so many website have protection to this so probably this works only for old websites or maybe some of the http websites. After all thank to chunk he teach us this attacks free

  • @phoenixmotorsport647
    @phoenixmotorsport647 Před 4 měsíci

    ANY website that still allows that to happen these, the company that owns it should never be allowed to hold data ever again - there really is no excuse

  • @user-ty8kb3yv5j
    @user-ty8kb3yv5j Před 9 měsíci +1

    My favorite injection is ' OR '5'='5' /* lol

  • @borregoayudando1481
    @borregoayudando1481 Před rokem +1

    where is the rest of the explaination?

  • @seasong7655
    @seasong7655 Před 10 měsíci

    Pretty wild, but pycharm used to actually warn you, if you wrote code, which would make sql injections possible

  • @theboy1645
    @theboy1645 Před 5 měsíci

    What kind of camera do you man?

  • @xX072Xx
    @xX072Xx Před 7 měsíci

    "AN SQL" AHSHSHFUS

  • @gavril3698
    @gavril3698 Před 11 měsíci +1

    Why do people still pronounce like that, it's S Q L not Sequel

  • @nowieszco868
    @nowieszco868 Před rokem +2

    It would be useful.. like 20 years ago 😅

  • @healingwithlove8614
    @healingwithlove8614 Před rokem +19

    exploiting old sites that uses php and MySQL is easy but finding them is hard

  • @stevenwilliamsknights
    @stevenwilliamsknights Před rokem +1

    Omg. I wish someone had moved it and progressed to check for this. Lol. If you know. You know.

  • @TheHacker404
    @TheHacker404 Před 11 měsíci

    HUHHUHHUHHH imma have soo much fun with that HEHHEHH >:)
    Not gonna youse it for i!!ige! Stuffs
    BUTT IMMA DO SOME PRANKS WITH IT >:)

  • @MadCabbit
    @MadCabbit Před 6 měsíci

    Robert'); DROP TABLE Students;-- ? Ah yes, little Bobby Tables we call him.

  • @super3d201
    @super3d201 Před rokem

    Input sanitization for the win

  • @TheBigOTech
    @TheBigOTech Před 6 měsíci

    lol looooong are the days of SQL injection my friend

  • @souravdey9278
    @souravdey9278 Před rokem +1

    Only works on php websites? I forgot.. I used it long ago. And it gave me admin access.💀

  • @_NotDB
    @_NotDB Před 11 měsíci

    I DID IT LETS GOO

  • @anantranjan682
    @anantranjan682 Před 6 měsíci

    What do you do for living?

  • @AdnanAli_916
    @AdnanAli_916 Před 7 měsíci

    What about DDOS Attack?

  • @winnieberto
    @winnieberto Před rokem +1

    Boby tables

  • @User55881
    @User55881 Před rokem +7

    Bro showing websites hacking tricks from the 90“s early 2000s

  • @ChidiebereIjeoma-fk7xh
    @ChidiebereIjeoma-fk7xh Před 4 měsíci

    Can u teach us how to recover our gmail account password from an hacker pls

  • @mstox8368
    @mstox8368 Před 10 měsíci

    My database is full encrypted with aes512 😎

  • @ragdajassim2549
    @ragdajassim2549 Před 6 měsíci

    Does this work on all websites

    • @imarealfishn1gga
      @imarealfishn1gga Před 24 dny

      most websites dont let this simple sql injection happen

  • @bigwilly43729
    @bigwilly43729 Před rokem +1

    Do you have a separate beard channel?

  • @phinmcdole9612
    @phinmcdole9612 Před rokem +1

    Hi

  • @A_Anti-Furry
    @A_Anti-Furry Před rokem +1

    daymmm

  • @nofood1
    @nofood1 Před 9 měsíci +1

    anyone else get injected and is here 🙋‍♂

  • @RTBOSS
    @RTBOSS Před 9 měsíci

    Prepared queries hah...

  • @user-fp5bq9xo5e
    @user-fp5bq9xo5e Před 6 měsíci

    Can i get free course website 😢please

  • @bugslayer-sama
    @bugslayer-sama Před rokem

    I love that you pronounce it “sequel”, I feel validated without a doubt 😅❤

  • @reddogreddog7275
    @reddogreddog7275 Před rokem

    Ok

  • @reddogreddog7275
    @reddogreddog7275 Před rokem

    Ty hack

  • @linhtetnaingwiston38
    @linhtetnaingwiston38 Před rokem +4

    Does this work on Facebook

    • @mastahrage9931
      @mastahrage9931 Před rokem +4

      Most likely not, since most websites have programs to prevent SQL injections.

    • @chaitanyakulkarni6416
      @chaitanyakulkarni6416 Před rokem

      yes , but 15 yrs back it did

    • @notlogic.the.second
      @notlogic.the.second Před rokem

      whats that for a question. thats facebook. never. but if you are a very very good hacker you can probably find a vuln

    • @shockd6235
      @shockd6235 Před rokem +1

      No cuz now days sql injection is being less and less usable or you need to do a crazy good payload to work in websites

    • @notlogic.the.second
      @notlogic.the.second Před rokem

      @@shockd6235 true

  • @doggoreqiuem3111
    @doggoreqiuem3111 Před 10 měsíci

    It's called S.Q.L blud

  • @lineus88
    @lineus88 Před rokem

    ltt hq? linus screwdr1ver 😂

  • @levayv
    @levayv Před 10 měsíci

    This video is for people outise dev world so I can tolerate non hashed passwords and levels of abstractions and simplifications 😂

  • @justcrumble3498
    @justcrumble3498 Před rokem

    💀💀

  • @F_NT
    @F_NT Před rokem

    Can you make a kali linux video????

    • @ghosttheprogram6973
      @ghosttheprogram6973 Před rokem

      He's done multiple

    • @F_NT
      @F_NT Před rokem

      @@ghosttheprogram6973 I know but new updates has come and new tools

  • @amando250
    @amando250 Před 9 měsíci

    Tragic that programmers are just that curropt, buuuuut just look at this page it looks cheap in first place

  • @truehighs7845
    @truehighs7845 Před 4 měsíci

    It's call a sqeal injection of diesel.

  • @hindi_217
    @hindi_217 Před rokem +2

    First

  • @Machistmo
    @Machistmo Před 3 měsíci

    you never get to the point. Your GF probably feels the same way.

  • @salvadorno2708
    @salvadorno2708 Před 9 měsíci

    useless reel. zero information shown. thanks for wasting my time

  • @sargismartirosyan9946

    Man f. Chuck sucks 😢 the giid old days are gone do you guys remember hacking haydra,reverse shell,bash. 😢

  • @jacobmarquez9805
    @jacobmarquez9805 Před rokem

    Second

  • @aqibaamir9794
    @aqibaamir9794 Před rokem

    Third

  • @ttvalex2612
    @ttvalex2612 Před 7 měsíci

    little too cringe

  • @srpcdgaming
    @srpcdgaming Před rokem

    SQL Injection is like continuing the line like this:
    Password: ' OR '1'='1'
    This is because it continues a line of code

  • @victor46464646
    @victor46464646 Před rokem

    Lolz this video was so useless 😂

  • @Anshucodes
    @Anshucodes Před rokem

    No one use raw sql command other than beginner 😂 , developer use orm for db