Hacker Tweets Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 ธ.ค. 2024

ความคิดเห็น • 258

  • @LoafyHarbinger
    @LoafyHarbinger ปีที่แล้ว +657

    This episode could have been 13m37s in length, surely...!

    • @LiveOverflow
      @LiveOverflow  ปีที่แล้ว +293

      oooof.... missed opportunity

    • @hyronharrison8127
      @hyronharrison8127 ปีที่แล้ว +59

      ​@@LiveOverfloweeh leet, leat, same thing

    • @nesieARK
      @nesieARK ปีที่แล้ว +35

      It must be an AI.
      There is no way the Real liveoverflow would have ever let this slip,
      He cut it, he render it, he watch it
      He uploads it.
      Multiple occasions where an Actual human would have seen the magical number but not an AI..
      For an AI it's just a number.
      Therefore Liveroverflow has replaced himself with an AI

    • @lukasjetu9776
      @lukasjetu9776 ปีที่แล้ว +1

      could, but wans't

    • @GeorgeValkov
      @GeorgeValkov ปีที่แล้ว

      @@lukasjetu9776 I think Leet + 9 seconds bonus is also cool. Nice video, now I'm hungry for more XSS.

  • @efrkool
    @efrkool ปีที่แล้ว +120

    Nice video explaining the issue. One thing that I think is good to mention is what is the underlying mistake. This makes it a better resource for devs and also for researchers. In my humble opinion this is due to the fact that the person implementing this tried to it's own filtering instead of using the native available functionality and/or standard package. The red flag beeing the specific list of characters used for filtering

  • @xorlop
    @xorlop ปีที่แล้ว +9

    PLEASE do more vids like these! I love the way you explained every bit.

  • @SoreBrain
    @SoreBrain ปีที่แล้ว +60

    I'm really into all kinds of quirks of js and I can't believe that knowledge finally paid off and I was able to fully follow a liveoverflow video 🎉

    • @ChillerDragon
      @ChillerDragon ปีที่แล้ว +1

      Yea its one of the more easy to follow videos for web soydevs like us :D

  • @fourtwizzy
    @fourtwizzy ปีที่แล้ว +14

    I like this as a reoccurring video. It is nice to be able to decipher what someone was referring to. Given everyone has different levels of knowledge, I would give it a 2 thumbs up. Keep ‘em coming!

  • @_hackwell
    @_hackwell ปีที่แล้ว +2

    neat! these tricks go straight into my notes ! Nice video format too. I'd like to watch more of this kind

  • @fededamian
    @fededamian ปีที่แล้ว +1

    Great video and explanation, professional, and gets to the point. I think one main takeaway one can get, that would especially help guys who may feel overwhelmed by these injections, is that the core problem here to be spotted while you are testing is the lack of the encoding / filtering of the double quotes, which allows you to escape the context of the string where the contents of the parameter is being injected. After that is just a matter of playing around to see what you are allowed to inject and find a way to run code, which is what these injections are all about.

  • @staCats
    @staCats ปีที่แล้ว +2

    Very insight and presented in a way you can understand. I had no idea about XSS or an and now I do.

  • @forestcat512
    @forestcat512 ปีที่แล้ว +3

    Cool format, please more of this :)

  • @xB-yg2iw
    @xB-yg2iw ปีที่แล้ว +1

    This format is fun and useful, please do it again!

  • @KyoSawada1
    @KyoSawada1 ปีที่แล้ว +18

    This was super interesting and fun to learn about. Great lesson! Hope to see more of your content, keep up the great work

  • @VxMxPx
    @VxMxPx ปีที่แล้ว +125

    This is not really JS problems as some people seems to think. Carelessly treating user's input would always lead to big problems. In general when developing FE applications we rarely set any user provided values in any context that could be evaluated like this.
    Concatenating user's input with code is just bad practice and big no-no.
    In general, interesting information, but highly theoretical: so many characters are disallowed while double quote still being allowed. I feel IRL, if such case would be allowed, would be either no input cleaning or stricter rules.

    • @shapelessed
      @shapelessed ปีที่แล้ว +8

      Sadly most websites stubbornly develop their own ways of providing rich text display methods instead of using standards, which generally just tends to expose users to exploits... I know that all too well. Been working on the frontend for a while (please kill me)

    • @aa-fi9ks
      @aa-fi9ks ปีที่แล้ว +9

      I have seen a lot of old codebase concatenating user's input with code, it really isn't that bad as long as you know what you are doing. Also in those applications you just can't rewrite the majority of the codebase just to fix a newly discovered XSS.
      Sorry I lied it was so damn bad that it has become a joke where the filter list just increases day by day. We slapped on a 5000$ IDS and IPS service and everyone pretends like everything is in control but deep inside we all know that the codebase is on fire. I know Robert had told me for a thousand time that concatenating user input with code is bad, but when deadline is chasing off my a** I just can't help but pray and do it anyway, I just want to go home.
      Sorry Robert, I swear it will be the last time I do it.
      Amen.

    • @BrotWurst
      @BrotWurst ปีที่แล้ว

      you are absolutely right. thats also almost always my first thought. but i have to throw that thought away for a moment because it gets more interessting if you think about all the existing websites who still could have flaws like this. and its also interesting just to see again how sh*tty and dirty compilcated and entangled javascript can be as a scripting language :D

    • @furiat5981
      @furiat5981 ปีที่แล้ว +1

      it kind of is. javascript is dogshit and was made to do simple things when it was created but some clowns said "hold my beer" and other clowns took it seriously, then nodejs happened and embedded webshit posing as fully functional desktop applications known as electron came to be and it's at its worse. Thank God I don't ever was forced to dabble in this cesspool profesionally

  • @a.k.b.a.l.
    @a.k.b.a.l. ปีที่แล้ว +1

    Not even a minute of reproduction and I can say "I love this series"

  • @exoZelia
    @exoZelia ปีที่แล้ว +1

    This is a really cool format. Had this recommended, never seen your channel. Ngl I thought it was gonna be clickbaity and surface level, but this was great! I subbed

  • @karlkastor
    @karlkastor ปีที่แล้ว +3

    Great video! Really well explained and easy to understand. Would like more in this series to just explain a short exploit in a way that anyone can understand.

  • @WistrelChianti
    @WistrelChianti ปีที่แล้ว +1

    Wow thanks! It's so important for people to have a handle on this sort of thing so we can be aware of what we need to look out for when writing code.

  • @yuhanaatmaja
    @yuhanaatmaja ปีที่แล้ว +11

    as always Xcelent Xplanation....

  • @HritikV
    @HritikV 10 หลายเดือนก่อน

    this was an open tab for so long. greatly explained !!

  • @hydejel3647
    @hydejel3647 ปีที่แล้ว +6

    great video. learned a lot. would love to see more like it 👍

  • @arkamel5987
    @arkamel5987 ปีที่แล้ว +1

    9:00 Concatenation is executed first and the result is a string, which cannot be assigned to. It's essentially equivalent to writing 1 = 2

    • @LiveOverflow
      @LiveOverflow  ปีที่แล้ว

      No, because you get a syntax error ;)

    • @Qbe_Root
      @Qbe_Root ปีที่แล้ว +1

      @@LiveOverflow I guess nothing gets "executed" because of the syntax error, but JavaScript does know in what order to execute this: first the concatenation, then the assignment. It just so happens that the expression makes no sense using that order

    • @arkamel5987
      @arkamel5987 ปีที่แล้ว +1

      @@LiveOverflow My bad, I meant parsed, not executed.
      What I was trying to say is that the reason the expression in the video results in a syntax error is that the addition is treated as the left side of the assignment and is not assignable, and that it is similar to the 1 = 2 case in that regard.
      I looked it up in the ECMAScript documentation to try to be more precise this time and it seems that the reason it results in a syntax error is that the left side of the assignment is not a valid LeftHandSideExpression (13.3) or because of the second bullet in (13.15.1).
      The fun thing is that I actually tested that with " true ? 0 : (1 = 2) " before writing the comment and it did fail with a syntax error instead of executing.

  • @gergelykalman9822
    @gergelykalman9822 ปีที่แล้ว

    Man, I almost never do websec, so this was fascinating. I learned a ton, your content is always top notch! Thanks for this ❤

  • @galopeian
    @galopeian ปีที่แล้ว +2

    Love this explanation. Would use this as a quick explanation for javascript injection methods in general

  • @typeof-undefined-null
    @typeof-undefined-null ปีที่แล้ว +1

    Super useful and interesting format. Thanks for sharing

  • @XPOnion
    @XPOnion ปีที่แล้ว +1

    Super interesting video, liked this very much!

  • @AntoshaPushkin
    @AntoshaPushkin ปีที่แล้ว +5

    It's such a weird filtering when you disallow ( ' and ` but allow " < and >

  • @Sp3cia1m4n
    @Sp3cia1m4n ปีที่แล้ว +1

    wow it's an awesome idea, I always took ton of researches to understand.

  • @0xteknogeek
    @0xteknogeek ปีที่แล้ว +2

    super cool bug, and great explanation!

  • @tweeko6903
    @tweeko6903 ปีที่แล้ว

    I would love to see more of this new format.

  • @FuzzyLitchi
    @FuzzyLitchi ปีที่แล้ว

    very fun format! :) learnt a few tricks

  • @Yadobler
    @Yadobler ปีที่แล้ว +2

    7:07 I think rust mitigates this by making sure (1) parameters must be expressions, and (2) assignment MUST be statements (that return nothing). That's why "x++" doesn't work in rust. It is just "x=x+1;" but doesn't return value, so it cannot be hacked into other expressions.

    • @malbacato91
      @malbacato91 ปีที่แล้ว +1

      finding an injection that compiles and executes dynamic rust code but filters characters would be quite impressive
      tho it's an interesting exercise how much you can do without (. I'm unable to come up with anything exciting

    • @electra_
      @electra_ ปีที่แล้ว

      i think x++ just isnt a thing in rust but you can do x+=1? and well, putting assignments as expressions can be a very common bug even outside of injection, my friend accidentally put an = instead of an == inside of a conditional the other day. it can be hard to catch.

    • @electra_
      @electra_ ปีที่แล้ว

      my first idea of what you can do without () is pointer shenanigins in order to buffer overflow and stuff
      so like, you can do basic logic without calling fns, just like ifs and loops and stuff
      so you can get a value on the stack, get its pointer, use unsafe to write a certain offset away, and thus replace the return address on the stack with whatever you want (probably the address of some other function you want to call)
      its a bit janky and im sure there is a better way to do this
      here's a bit of a proof of concept i made which prints out the stack and replaces the return address. weirdly enough, the print call in the flag fn causes a segmentation fault. watching in a debugger shows that it gets to the function successfully, though. this is super finnicky as changing how things are done will change the offset on the stack, ideally you'd want some sort of way to iterate over the diff parts of the stack and detect what looks like the return address. or even more ideally, perhaps if you could call a single closure/user defined fn you could have the return addr stuff set up in there, since a big issue with this is you can't really set up anything else (you wouldn't control the fn return) and then like kinda get screwed by not being able to return safely after the fn finishes.
      fn flag() {
      loop {
      println!("test");
      };
      }
      fn main() {
      let stackvalue: usize = 0x69;
      let stackaddr: usize = &stackvalue as *const usize as usize;
      let fnptr: usize = flag as *const usize as usize;
      let rowsize = 0x4;
      print!{" ADDRESS: "};
      for col in 0x0..rowsize {
      print!{"{:016X} ", col*0x8};
      }
      println!{};
      for row in 0x0..0x30 {
      let offset = row * rowsize * 0x8;
      let addr = { stackaddr + offset };
      print!{"{addr:012X}: "};
      for col in 0x0..rowsize {
      let addr = addr + col * 0x8;
      let ptr = addr as *mut usize;
      let val = unsafe { *ptr };
      if row == 0x2B && col == 0x1 {
      print!{"*"};
      unsafe {*ptr = fnptr};
      }
      let val = unsafe { *ptr };
      print!{"{val:016X} "};
      }
      println!{};
      }
      print!{"done"};
      let mut x = 3usize;
      while x < 1 {
      x += 1;
      }
      }

  • @the6278
    @the6278 ปีที่แล้ว

    awesome format! i learned so much

  • @ahmedMohamed-zu2qp
    @ahmedMohamed-zu2qp ปีที่แล้ว

    Good usage for the new Twitter logo 👏👏

  • @markusjohansson4949
    @markusjohansson4949 ปีที่แล้ว +3

    would also work in this example

  • @JohnnyNilsson83
    @JohnnyNilsson83 ปีที่แล้ว +1

    Super interesting. Thanks for the explanation.

  • @antenna8836
    @antenna8836 ปีที่แล้ว +2

    The longer I watched this the more upset I became at web development that 1. they're using direct string replace and 2. they didn't properly sanitize the input
    but then I became legitimately impressed with the use of the javascript uri the hex encoding, and the use of objects

  • @ya_Ra28
    @ya_Ra28 ปีที่แล้ว

    Nice, we want more :)
    Thanks mate, as always.

  • @12...
    @12... ปีที่แล้ว

    you don't need to write , those tags are all optional and are inserted automatically

  • @adrianoverona
    @adrianoverona ปีที่แล้ว

    Loved this one! Please, keep them coming :)

  • @space_0027
    @space_0027 ปีที่แล้ว

    Love this format!

  • @thetrends5670
    @thetrends5670 ปีที่แล้ว +1

    This mean TypeScript devs won't find this vuln, as they type the func to accept only N number of args, and TS will throw runtime error if they try to use N+K args, but in build time there code will create this vuln.

    • @KirkWaiblinger
      @KirkWaiblinger ปีที่แล้ว

      TS will not throw a runtime error if a function is called with extra arguments. At runtime it's just raw JS and anything goes.

    • @joechristo2
      @joechristo2 ปีที่แล้ว +1

      @@KirkWaiblingertypescript is meant to PREVENT runtime errors from even happening

    • @KirkWaiblinger
      @KirkWaiblinger ปีที่แล้ว

      @@joechristo2 yeah but it can only type check intentionally authored code. TS will be no help at runtime against injected code, since that's all long after the type-checking time

  • @notyou2235
    @notyou2235 ปีที่แล้ว

    The coolest part about this video was the intro.

  • @a.for.arun_
    @a.for.arun_ ปีที่แล้ว +2

    Loved it. Please continue.

  • @kalinunesferreira815
    @kalinunesferreira815 ปีที่แล้ว

    I really enjoyed this format

  • @rumplstiltztinkerstein
    @rumplstiltztinkerstein ปีที่แล้ว +1

    As a Rust programmer, it blows my mind how messy Javascript has become. When a programming language gets obsessed with "convenience", it becomes impossible to keep track of changes. I think browsers should switch to simply running a WebAssembly runtime directly instead of Javascript.

    • @joechristo2
      @joechristo2 ปีที่แล้ว +1

      people are gonna lose track of the difference between asmjs and wasm, thinking they are the same thing thus doing damage to the web as a whole

  • @TwoTeaTee
    @TwoTeaTee ปีที่แล้ว

    One of such video which I followed start to end!

  • @sebscripts
    @sebscripts 10 หลายเดือนก่อน

    This video started my web hacking journey, Thank you!

  • @heli_9
    @heli_9 ปีที่แล้ว

    Amazing, more of these type of videos!

  • @logicerror
    @logicerror ปีที่แล้ว

    yes, this was both fun and useful! thanks liveoverflow

  • @fmaximus
    @fmaximus ปีที่แล้ว +3

    About using the name variable, wouldn't that only work on your window? I can't see how the xss would do something nefarious on a targets browser.

    • @schwingedeshaehers
      @schwingedeshaehers ปีที่แล้ว +3

      You link them to your website, that redirects with the name "parameter"?

    • @brypleb5792
      @brypleb5792 ปีที่แล้ว +2

      @@schwingedeshaehers thanks i was confused

  • @SteveLEKORodrigue
    @SteveLEKORodrigue ปีที่แล้ว

    I love these videos. Insightful!

  • @Roll4Combat
    @Roll4Combat ปีที่แล้ว +2

    This was utterly amazing

  • @ganeshdatha8240
    @ganeshdatha8240 ปีที่แล้ว

    It feels like it's a special case of DOM Clobbering, right? We are overwriting the names/definitions of defined variables/functions with our payloads so that they get executed when the page's code calls the overwritten function without knowing it.

  • @supergamerfr
    @supergamerfr ปีที่แล้ว

    Most valuable piece of information I saw today

  • @carefulwithmoney4699
    @carefulwithmoney4699 ปีที่แล้ว

    Amazing, thank you for this!

  • @olaola-yh5ge
    @olaola-yh5ge ปีที่แล้ว +1

    This is great, Insiteful as always @LiveOverflow, can this type of xss vulnerabilities be found in react applications as well ?

  • @periclayton1282
    @periclayton1282 ปีที่แล้ว

    I really liked the video and I hope to see more videos like this, they are very helpful

  • @bioblade87
    @bioblade87 ปีที่แล้ว +1

    the hex encoding trick is impressive too.

  • @ThaLiquidEdit
    @ThaLiquidEdit ปีที่แล้ว

    Nice video series idea

  • @roymoshe7822
    @roymoshe7822 ปีที่แล้ว +1

    A couple of questions:
    When does the evaluation of the parameter takes place? Right after the function call and before any part of the function takes place?
    Are there any possible mitigations for this kind of exploit? I mean if this code runs before anything else I don’t see any possibility of mitigations which is wild, but I might be missing something

    • @joechristo2
      @joechristo2 ปีที่แล้ว +1

      i have no idea what i’m talking about (as in the context of the video cuz i haven’t watched it) but JS might use C calling conventions in some cases i think (?) and with those, usually the parameters are passed to the function BEFORE the function gets “called” (as in the CALL assembly instruction) but it really doesn’t matter what the function “is” because it can be overrided to not even use the parameters in the first place but get called by the same name, which might be a security risk if some people don’t know what they’re doing

    • @roymoshe7822
      @roymoshe7822 ปีที่แล้ว

      @@joechristo2 well in the video it’s shown that parameters are evaluated pre call to the function which causes a security risk at a fundamental level since the parameter inserted may contain js code that will run before the call of the function
      Maybe having input checks before each function calll can be a solution but still it seems clunky and weird

    • @xelspeth
      @xelspeth ปีที่แล้ว

      The assignment is evaluated before the function call. It has to because otherwise you couldn't use the return value of assignments in functions.
      The mitigation for this is to not have it in the first place e.g. sanitizing the userinput before placing it in the dom

  • @navibongo9354
    @navibongo9354 ปีที่แล้ว

    brilliant breakdown

  • @MrNevado
    @MrNevado ปีที่แล้ว

    Awesome content. Make more like this, please.

  • @abhaysingh2334
    @abhaysingh2334 ปีที่แล้ว +1

    What will be the use case and what it is use for.
    Sorry just want to know/learn more, for me it looks useless to set an alert for myself

    • @jaideepshekhar4621
      @jaideepshekhar4621 ปีที่แล้ว +1

      You can set any javascript instead of alert, so you can do anything at the server.

    • @abhaysingh2334
      @abhaysingh2334 ปีที่แล้ว

      @@jaideepshekhar4621 so If someone else accesses the same page he will get the same script which I injected

  • @nikensss
    @nikensss ปีที่แล้ว

    that was amazing, thanks for the video

  • @eckersplode
    @eckersplode ปีที่แล้ว

    this is great, thank you

  • @jacesec6484
    @jacesec6484 ปีที่แล้ว +1

    This video should have been "The Secret Step-by-step Guide to hacking: Deep Dive" 😂
    Great video tho.

  • @KaiaLoken
    @KaiaLoken ปีที่แล้ว +1

    Thank you

  • @aaravsinha6610
    @aaravsinha6610 ปีที่แล้ว

    This was awesome. Lots of love.

  • @r3d_r078
    @r3d_r078 ปีที่แล้ว

    This will be a great series

  • @chrysun9891
    @chrysun9891 ปีที่แล้ว

    Love this series👌

  • @Th3Mag1c1an
    @Th3Mag1c1an ปีที่แล้ว

    Thank you very much for this video

  • @shayarand
    @shayarand ปีที่แล้ว

    I absolutely love this!!!!!! You literally read my mind but I didnt have the guts to ask.

  • @shinkurt
    @shinkurt ปีที่แล้ว +1

    If this amuses you, you have a lot to learn! And that's exciting

  • @ИльяНовоселов-ь7у
    @ИльяНовоселов-ь7у ปีที่แล้ว

    Как же круто ты объясняешь. Плохо знаю английский, но при этом всё понял

  • @abdulx01
    @abdulx01 ปีที่แล้ว

    Amazing explanation ❤

  • @Haapavuo
    @Haapavuo ปีที่แล้ว

    Great video, thanks!!

  • @AssemblyWizard
    @AssemblyWizard ปีที่แล้ว +1

    For the first solution, what about using square brackets to define an array instead of an object?
    For the second solution, I believe the "new class b" part can be deleted if you replace the equals after toString with a colon.
    Great video!

    • @KirkWaiblinger
      @KirkWaiblinger ปีที่แล้ว

      Agreed that the toString in object literal should work too.... maybe they're trying to be general as far as including the case that different characters are prohibited (for example the colon). I think your suggestion with the array gives a nice way of solving it if curly braces are prohibited too.

    • @avlidienbrunn
      @avlidienbrunn ปีที่แล้ว

      @@KirkWaiblinger this! if colon is available, might as well use the first example. If it isnt, but one of many whitespace/line terminator/multiline comment characters are, we can use the second example. [location=name] is a good point!

    • @joechristo2
      @joechristo2 ปีที่แล้ว +1

      but in lua members of objects are referred to by square brackets as WELL as members of arrays because every variable is an object in lua and every variable is an object in JS

  • @berndeckenfels
    @berndeckenfels ปีที่แล้ว

    Hm does it make sense to cancel out name on top of each page (or can it CSPed?)

  • @lol-hz9mc
    @lol-hz9mc ปีที่แล้ว

    That's a clean explanation!!!

  • @sullivan3503
    @sullivan3503 ปีที่แล้ว

    Why would the input end up as ""..."" instead of "\"...\""? Why would the quotes not get automatically escaped by the input form?

    • @LiveOverflow
      @LiveOverflow  ปีที่แล้ว

      Why would it get automatically escaped by the input form. Or the correct question would be, why would it not get automatically escapes by PHP?
      Well. Because PHP doesn’t do that automatically. If you want that you need to program that

  • @catmage
    @catmage ปีที่แล้ว +1

    That's crazy creative. I'd be interested in learning how this could be mitigated. Better input sanitation?

  • @MrEpphrodont
    @MrEpphrodont ปีที่แล้ว

    Incredible vidéo, thanks !

  • @DirkFedermann
    @DirkFedermann ปีที่แล้ว +2

    I like these videos. It also supports my war against too much (unnecessary) JS on Websites and that user input is always bad 😁

    • @joechristo2
      @joechristo2 ปีที่แล้ว +3

      feedback is technically user input so your comments are always bad

    • @DirkFedermann
      @DirkFedermann ปีที่แล้ว

      @@joechristo2 so is yours 🤔😂

    • @ra2enjoyer708
      @ra2enjoyer708 ปีที่แล้ว

      Yeah let's just ignore the part where the entire setup hinges on a fact of having a badly written server template language (which is all of them that didn't start off a client-render library) coupled with badly written sanitizer interpolating the values directly into the html (that also means no http caching btw). Also it's a problem specific to backend development which uses a badly written server template language for frontend instead of splitting responsibilities. For some reason the brain of a typical developer in this stack completely turns off and they think interpolating values directly into html is completely okay because it's just a string, bro! Bonus points if it lives alongside the code which loads libs from other languages and follows all rituals of cross-language interop with all the boilerplate.

  • @wrathofainz
    @wrathofainz 11 หลายเดือนก่อน

    5:57 the screebshot at this timestamp may potentially help me with an eacape in a challenge I've left sitting. I can't seem to find any writeups past step 1 (clue 1) of the writeup.
    It's been a bitch.

  • @plippero7870
    @plippero7870 ปีที่แล้ว

    Does the name trick also work in stored xss when another user doesnt set his window name to the xss-payload?

  • @Crazymadlybuzza
    @Crazymadlybuzza ปีที่แล้ว

    What IDE were you using for the testbed?

    • @Crazymadlybuzza
      @Crazymadlybuzza ปีที่แล้ว

      Oh nvm, its VSCode!

    • @joechristo2
      @joechristo2 ปีที่แล้ว +1

      @@CrazymadlybuzzaVSCODE IS ELECTRON IT’S JS

  • @thatcreole9913
    @thatcreole9913 ปีที่แล้ว

    More of this please!

  • @yassine-sa
    @yassine-sa ปีที่แล้ว

    Please make more vids like this!

  •  ปีที่แล้ว

    In the 'name' case, is it really an XSS, when you need to open the window with the page in a special way?

  • @anion21
    @anion21 ปีที่แล้ว +1

    Yes, this video was funny, it was useful, and now I find javascript even much more strange than it already was.

  • @daem0n1ze
    @daem0n1ze ปีที่แล้ว

    Thank you for the information

  • @nincsx
    @nincsx ปีที่แล้ว

    could you upload a video about how to learn effektively?

  • @_chris_6786
    @_chris_6786 ปีที่แล้ว

    But, is this like, preventable with input validation?

  • @testautomatiesierung
    @testautomatiesierung ปีที่แล้ว

    awesome! Thank you!

  • @slickis
    @slickis ปีที่แล้ว

    great video, thank you

  • @whiskersblues
    @whiskersblues ปีที่แล้ว

    What are they really looking for in cyber security role? are the courses that we see online really enough? probably not even close, right?

  • @memejeff
    @memejeff ปีที่แล้ว

    Great stuff

  • @jasonv6303
    @jasonv6303 ปีที่แล้ว

    it is very fun and useful.

  • @AlissonNunes
    @AlissonNunes ปีที่แล้ว

    Would you be able to create an array, instead of an object?

  • @GlorytoTheMany
    @GlorytoTheMany ปีที่แล้ว +1

    Now if I make a website, how can I avoid exploits like this?

    • @Bunchachis
      @Bunchachis ปีที่แล้ว +1

      Just make sure you're using built-in functions to filter user's input. In case of passing data to JS, it would be even better if you use JSON. For PHP it should look like this:
      x("a", );
      Note the lack of double quotes in the second argument. That's because json_encode() wraps the value of $xss in quotes if it's a string.

  • @procrast
    @procrast ปีที่แล้ว

    awesome!