Cross-Site Scripting (XSS) Explained And Demonstrated By A Pro Hacker!

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • // Membership //
    Want to learn all about cyber-security and become an ethical hacker? Join this channel now to gain access into exclusive ethical hacking videos by clicking this link: / @loiliangyang
    // Courses //
    Full Ethical Hacking Course: www.udemy.com/...
    Full Web Ethical Hacking Course: www.udemy.com/...
    Full Mobile Hacking Course: www.udemy.com/...
    // Books //
    Kali Linux Hacking: amzn.to/3IUXaJv
    Linux Basics for Hackers: amzn.to/3EzRPV6
    The Ultimate Kali Linux Book: amzn.to/3m7cutD
    // Social Links //
    Website: www.loiliangya...
    Facebook: / loiliangyang
    Instagram: / loiliangyang
    LinkedIn: / loiliangyang
    // Disclaimer //
    Hacking without permission is illegal. This channel is strictly educational for learning about cyber-security in the areas of ethical hacking and penetration testing so that we can protect ourselves against the real hackers.

КОМЕНТАРІ • 597

  • @pulemyot1337
    @pulemyot1337 Місяць тому +9

    Loi you are a beast. This is straight to the point and no bullshit. The first time I saw you, I went straight to udemy and got 3 of your courses. Keep spreading the knowledge brother!

  • @bachtiarmuhammad8716
    @bachtiarmuhammad8716 3 роки тому +381

    "i hope you learn something valuable...". This is absolutely valuable,
    I have been trying to find how dangerous XSS is, but never get satisfied answer except this one. Thanks loi!

    • @JL-ud6xx
      @JL-ud6xx 3 роки тому +10

      practical example, instead of theoretical which we see many site...

    • @digges90
      @digges90 3 роки тому

      Damn, this is gold

    • @oluwaseunmicheal1571
      @oluwaseunmicheal1571 3 роки тому

      Please can I have your telegram username I need to speak to you please if I may

    • @bachtiarmuhammad8716
      @bachtiarmuhammad8716 3 роки тому

      ​@@oluwaseunmicheal1571 speaking about what bro ? :v

    • @Richard-ji4kc
      @Richard-ji4kc Рік тому

      WEll i see it now but i just got this computer and i hate that its been hacked i did not know cause all the redirects etc. and identity theft i keep seeing fimiliars names as well including goat

  • @clem4224
    @clem4224 3 роки тому +73

    Dude you deserve way more views. Straight to the essential, clear, understandable. You won a new follower !

  • @ajanitau3405
    @ajanitau3405 2 роки тому +24

    I'm brand new to IT and was reading about open web app projects and came across the word Cross Site Scripting. Your explanation and demonstration was so clear, concise and yeah, scary! Thank you. I'll be studying your content for sure!

  • @Wastelander1972
    @Wastelander1972 2 роки тому +28

    Dude, I’ve been studying cyber for over two years. This is amazing. The first time I can actually see this in action. Thank you!

  • @denisivanov4888
    @denisivanov4888 3 роки тому +159

    This channel is gold. All I can say.

  • @philk.2208
    @philk.2208 3 роки тому +31

    Best demonstration of XSS that I have ever seen - thank you

  • @SHAMulA147
    @SHAMulA147 2 роки тому +6

    I've tried many times to understand what is really happening with XSS and this was the best way it has ever been explained to me

  • @saikrishnavinjamuri4058
    @saikrishnavinjamuri4058 3 роки тому +2

    This is awesome... If someone is in hurry of preparing for the interview.. get this..

  • @Gupatik
    @Gupatik 3 роки тому +6

    thank you man, now I can start my career with you here in UA-cam even before I go to university

  • @davidrocky
    @davidrocky Рік тому +1

    Wow, I knew a little about XSS but I didn't had the creativity to think that this kind could be made with this technique! Thank you so much for the presentation!

  • @ManishKumar-rz9ub
    @ManishKumar-rz9ub 2 роки тому +1

    I found great tutorial on XSS after several year, :) Thanks for sharing it so intuitively.

  • @RidwanOseni
    @RidwanOseni 4 місяці тому +2

    I have never been more confident about my cyber security career after watching this channel. You’re a gem. Thank you.

  • @41_a_nihalpathan78
    @41_a_nihalpathan78 Рік тому +2

    Man this was awesome 🤩 being a CEH guy I was still not able to understand how to perform XSS in proper way but this one video cleared my all concept ❤ u deserve millions of likes and views

  • @ritikrampaul7172
    @ritikrampaul7172 2 місяці тому +1

    Really liked ur video sir, where most of the videos creators focus on the theory and unnecessary content, Ur content is very very good it actually gives practical knowledge and that too with very good explanation. Really appreciate ur work 🙇🙇

  • @kevinportillo1971
    @kevinportillo1971 3 роки тому +2

    Now I know how those infected sites have been hijacked before to host a phishing site, great demo!

  • @tomislavkukic1395
    @tomislavkukic1395 3 роки тому +10

    Thank you so much. I'm a web developer and this info is a gold. You explained this in such way that anybody can understand the great risk. This is scary how easy it is to hack the site if it is not protected against these attacks.

    • @oldnews4160
      @oldnews4160 2 роки тому

      How difficult is it to disable/prevent xss?

    • @WebieTM
      @WebieTM Рік тому

      @@oldnews4160 I think quite easy for developers. Just don't use innerHTML for user content, just innerText.
      As soon as you as a user realise a website has this vulnerability, you can either check by inspecting or contact the website owners.

    • @tealic367
      @tealic367 5 місяців тому

      @@oldnews4160 im a bit late, but to prevent xss, a little security can go a long way. Obviously there are a lot of advanced security techniques, but simple things like input restriction (like preventing the input of '') or output encoding (where things like '

  • @physics3641
    @physics3641 3 роки тому +10

    All of us know we don't learn hack to hack our own system😂😂😂

  • @shireliyahu6801
    @shireliyahu6801 Рік тому +2

    Loi you are the best! I love that you acutally shows us how XSS works rather than just explain it in pretty words :) Thank you so much!

  • @judahjosjacinth
    @judahjosjacinth Місяць тому

    This is incredible and has so much value, Loi! Never in my life have I been exposed to hacking this way, thank you so much! Learned a lot!

  • @swipe87
    @swipe87 3 роки тому +8

    You're a legend. Straight to the point and you spoke quickly with no filler.

  • @yfz9684
    @yfz9684 3 роки тому +2

    just been assigned to a security project dealing with XSS, and your video is really helpful and valuablr . a big thumb up bro

  • @andrewfarinola358
    @andrewfarinola358 Рік тому +1

    Extremely well done, found your video looking up what XXS was because i wanted to see how dangerous the CS2 exploit is. Thanks for the great info.

  • @rushabhshah9164
    @rushabhshah9164 2 роки тому +2

    Amazing video.
    Went through various articles and demos explaining XSS but this one is by far the best one

  • @icaruz9094
    @icaruz9094 2 роки тому

    FIRST TIME I WATCHED THIS I WAS NO IDEA WHAT I'M WATCHING I DON'T UNDERSTAND ANYTHING BUT NOW FOR MONTHS STUDYING JAVASCRIPT AND DOM MANIPULATION I CAN NOW EASILY UNDERSTAND EVERYTHING, THE MORE I DIVE INTO TECH THE MORE MY PERSPECTIVE CHANGES ABOUT INTERNET

  • @hairychewy28
    @hairychewy28 Рік тому +1

    This has been the best explanation of what a XSS is. Thank you!

  • @purrkachuu
    @purrkachuu 2 роки тому +2

    instant subscribe worthy. clear explanation, clear voice, valuable content

  • @jaegar1nine266
    @jaegar1nine266 Рік тому +2

    You got another subscriber. You explain and show the process so much better than Hack the Box. I’m currently slogging thru the Linux Fundamentals course and it is hard.

  • @chrisissun
    @chrisissun Рік тому

    thank you just ran into a NoScript detected a potential Cross-Site Scripting attack wow this is helpful

  • @grimorisX
    @grimorisX 3 роки тому +11

    Wow, this is insane. Ngl I'm a little freaked out by this. Great information as always. Thanks 🤟👍

  • @TWFSHOW
    @TWFSHOW 3 роки тому +1

    Game over..... Great info . Most useful channel 4 ethical hacking learning 👍👍👍👍👍

  • @damilolaoluwole5640
    @damilolaoluwole5640 2 роки тому

    Thanks for the explanation. Now I can easily differentiate XSS attack from a Cors attack.

  • @ryanleong6266
    @ryanleong6266 2 роки тому +5

    Clear and concise explanation and demonstration. Couldn't ask for better.

  • @emdadulhossainakand48
    @emdadulhossainakand48 3 роки тому

    The best Chanel for learning ethical hacking

  • @ramseykarr6870
    @ramseykarr6870 5 місяців тому

    clear, concise and to the point explanation. Just amazing!

  • @abdulrahmanmsusa9225
    @abdulrahmanmsusa9225 3 роки тому +10

    Amazing content Mr.Yang. Highly resourceful 👍

  • @secinject814
    @secinject814 2 роки тому +2

    Wow you earned a sub and a ton of respect. You're fast, to the point, highly information-dense.. perfect level of difficulty for me. So happy the algorithm brought me here. Keep it up boss!

    • @c.w.bertrand4633
      @c.w.bertrand4633 2 роки тому

      The guy is incredible. I really enjoyed it. And it's really scary at the same time

  • @alejandroharo0217
    @alejandroharo0217 10 місяців тому

    on the process of getting my CompTIA. I was a little confused on this topic but wow. It really is scary. thank you for the video!

  • @pgperkos
    @pgperkos 3 роки тому +3

    Perfect timing! I was actually testing it a few days ago!
    PS: I didn't expect your password to be 12345678 :P

  • @kimdanielestoy3888
    @kimdanielestoy3888 Рік тому

    I am a career shifter and my current work is related to cybersecurity, and thank you for this

  • @aragorn2753
    @aragorn2753 2 роки тому

    " i hope you learnt something valuable "
    Is that a question sir ..
    Your channel is a diamond thank you so much

  • @mattv2497
    @mattv2497 3 роки тому +6

    Terrific content! Learning so many new techniques.

  • @mahmudabdi1363
    @mahmudabdi1363 3 роки тому +2

    Wow I love your episodes.......Guys let's get to 1million subscribers

  • @Gh0st_0723
    @Gh0st_0723 3 роки тому

    Ugh I hate all these spam hacker comments on every infosec video. Thank you for the content. Beautifully explained like always.

  • @jacklee1612
    @jacklee1612 3 роки тому +3

    Excellent introduction on this topic ! Audio quality is great as well, keep it up :)

  • @KeesFluitman
    @KeesFluitman Рік тому +1

    Nice job. Next question is, this seems like an easy task to fix. What else should one do to protect yourself and what is the current state of XSS protection and danger?

  • @DimitarKrumov
    @DimitarKrumov 3 роки тому +2

    This made my day! Thanks for the great explain the process and where to find them to test and prevent

  • @lurifos9576
    @lurifos9576 3 роки тому +8

    I know that XSS is dangerous, but I never realised it can be this dangerous. +1 sub.

  • @cybermatters
    @cybermatters Рік тому

    Thank you so much for letting me know how dangerous stored xss is .

  • @yudilai5640
    @yudilai5640 2 роки тому

    So I was thinking: if you are going to look side ways, maybe you don't need a head cam when we see the work on the screen. Thanks for the video, very informative

  • @worldtreeboy8712
    @worldtreeboy8712 2 роки тому

    Well explained. Just subscribed after watching your video for the first time.

  • @dhanrajp6818
    @dhanrajp6818 3 роки тому +2

    Ty for the demo. However have a doubt. How does tool plant malicious js to another users browser. The demo showed is the js and user login is done in the same local machine. Can u make the server render the webpage with malicious js??

  • @BiO-_-MeKaNiZeM
    @BiO-_-MeKaNiZeM 3 роки тому +1

    Instant sub after the 1st video, good job explaining and the demonstration helps so much 👍

  • @muriloramosoficial
    @muriloramosoficial Рік тому

    Wooow!! You gain one more subscriber 🙏🏼🚀

  • @veronicadiaz9454
    @veronicadiaz9454 Рік тому

    wow amazing video, Im studying cyber security and knowing this its very useful! I'm subscribing!

  • @nithin1979
    @nithin1979 Рік тому

    Good demonstration of XSS using a feedback form

  • @brokenwindowpanes8220
    @brokenwindowpanes8220 3 роки тому +2

    This guy doesn't spend 30 minutes speaking bullshit and only 2 minutes showing the real thing. I'm a fan

  • @emperorj4783
    @emperorj4783 3 роки тому

    The only channel I watch when learning hacking:)

  • @peytpeyt9113
    @peytpeyt9113 3 роки тому +3

    Thank you, you teach very well even if i already know most of things thats you show, you make them more understandable.

  • @clock-ai
    @clock-ai 2 роки тому

    Your explanation is very clear and easy to understand

  • @joshuam2341
    @joshuam2341 3 роки тому +4

    Hi Loi! Great video! Could you please make a video about your desktop setup or what you look for in laptops that are tailored for penetration testing?

  • @paulbaker8449
    @paulbaker8449 Рік тому +1

    What an awesome video! I’m glad I came across your videos, I have one real nooby question though…
    If this SQL stuff is so easy to put into websites, what do banks, shopping or government websites use to protect themselves from these attacks?

  • @nathantipton4294
    @nathantipton4294 9 місяців тому

    Thank you for the detailed explanation. Can someone answer the question; does this kind of ethical hacking of your own site or apps allow some better capabilities for development?
    I want to understand if this is helpful for developers to not get locked out or to better monitor traffic?

  • @shimtristan
    @shimtristan 3 роки тому +5

    Invaluable information. Many thanks Loi!

  • @GameReality
    @GameReality 3 роки тому

    This is total fun and amusement 🙂 Love your music Peace and Love from Sweden

  • @lindanib541
    @lindanib541 3 роки тому +4

    Awesome video, as always. One suggestion though, could you post the links in the description? Thanks :)

  • @rahulrajendrasaw
    @rahulrajendrasaw 3 роки тому

    i always watch full ads video in your channel sir
    so that you will bring more videos for free to us without any cost
    thanks

  • @synchronulleins
    @synchronulleins 3 роки тому

    I'm a very beginner, but I'm interested in cyber security.... And it's pretty scary to see how easy it is to get your informations...

  • @simonboeke2979
    @simonboeke2979 Рік тому

    Great Video, worth every second of watchtime.

  • @masterofnoob4621
    @masterofnoob4621 3 роки тому +2

    Please start ... complete hacking course 🙏❤

  • @orangefish0297
    @orangefish0297 Рік тому

    Learning about Cyber security after the CS2 XSS exploit that was reported yesterday
    I want to hear your opinion on that! It's actually making me really anxious

  • @rich182x
    @rich182x Рік тому

    Broooo, thank you for visualizing this concept!

  • @ericeman1093
    @ericeman1093 2 роки тому

    wow subscribed and i hit the bell to get notifications

  • @mawaddaturriza7158
    @mawaddaturriza7158 Рік тому

    im a frontend developer, looking for a video how dangerous xss is, because i know nothing at all about how it will impact our data. hope to see a video how to prevent it as a developer from you because i love to see how you explain informations

  • @raihanzaki5
    @raihanzaki5 3 місяці тому

    i suprised that subscribe button is highlighted when you mentioned it

  • @nine2mdnt
    @nine2mdnt 2 роки тому

    What a valuable resource, so clear and easy to understand, thanks

  • @prabhap5189
    @prabhap5189 5 місяців тому

    Very neat and clear . Thanks

  • @yuki_nakato
    @yuki_nakato 2 роки тому

    XSS = GAME OVER. Thank you for creating great content!

  • @edgargrajeda610
    @edgargrajeda610 Рік тому

    Thank you so much, you do a great job of explaining it this helps me with my college XSS lab.

  • @edwinnikoi3844
    @edwinnikoi3844 3 роки тому +1

    Just subbed, great content. Clear and concise

  • @thechaker886
    @thechaker886 3 роки тому

    in fact i've learned something valuable, Thank you from Algeria.

  • @pepperjackshack2439
    @pepperjackshack2439 3 роки тому +1

    So once the user loads the comment section with the script, the browser is now "Hooked". So my question, if the user leaves the webpage, is the browser still hooked or BeEF is not able to connect to the client anymore?

  • @CybSecBuddy
    @CybSecBuddy 3 роки тому +2

    Hello sir Loi Liang Yang, I learnt something new today 😀😀
    Thank you ❤️❤️

  • @shamelessone1987
    @shamelessone1987 9 місяців тому

    I needed an example outside of the classroom's Vector Image with some script inside of it. I could see how thats easy to fall for

  • @kevinc8955
    @kevinc8955 3 роки тому +1

    The problem is you can only realistically get better by practice and diverse practice against differing targets is likely against the law unless you have a job in pentesting.
    It’s all fun and games until the authorities knock on your door.

  • @parkergaming3123
    @parkergaming3123 2 роки тому

    Very Informative ! Thanks for such an amazing video ❤️

  • @deeepzzz
    @deeepzzz 3 роки тому

    Good video, with wonderful description.
    I have a doubt:
    If I am a hacker-programmer, why should I try to execute ... inside a text box? I can make use of the browser developer console, right?
    Another doubt:
    In the video, you are entering email and comment (as a user). The hacker is entering email & script-in-the-comment-box. How the hacker got the user's credentials (to enter script in the user's homepage)?
    OR you mean to say, the script provided through the comment box is set in the server code and will be available for all the users? (I am actually confused with XSS after user's login)

    • @rumfordc
      @rumfordc 3 роки тому

      you're not executing the script "inside a text box." rather, you are submitting a comment to the website servers. then, when anyone visits the website to view the comment, the HTML they receive contains your script which immediately executes it.

    • @tejaspachpile9269
      @tejaspachpile9269 2 роки тому

      Stored means basically going to the server directly and reflected is client side

  • @PerryCS2
    @PerryCS2 3 роки тому

    You remind me of the guy from (youtube) PBS Space Time (but a non English version of him). :) Great tutorial. Always nice to see how these attacks are done so I can make my website and APPS more bullet proof. :)

  • @aakashjana6225
    @aakashjana6225 3 роки тому +2

    Nowadays all web frameworks come with really innovative input sanitization techniques which make XSS attacks absolutely useless. Any tricks to bypass these would be cool

    • @MsSoldadoRaso
      @MsSoldadoRaso 3 роки тому

      Yes, I love angular ❤️

    • @harshthechampful
      @harshthechampful 3 роки тому +1

      Does it depend on the way the component is scripted at all? Like the framework handles all the sanitization and there is no chance of XSS?

    • @aakashjana6225
      @aakashjana6225 3 роки тому +1

      @@harshthechampful problem is you have to have a good idea of what kind of framework the code is coz reactJS when deployed is still the old vanilla JS which makes it difficult sometimes to know if its react, angular , vue or something else. And also there is quite a bit of abundance of 3rd party libraries to bump up the sanitisation game note that the browser you use also prevents some mailicious features making XSS difficult and added to that SQL has come a far way now to the point you cant trick it all that easy.

  • @tuhaniatech
    @tuhaniatech 5 місяців тому

    what a great way to teach, thank you sir

  • @vdyshlevyi
    @vdyshlevyi Рік тому

    Thanks for the clean explanation!

  • @Tyler-nj3wp
    @Tyler-nj3wp 3 роки тому

    Great video. I’m going to install beef asap!

  • @ThomasVFree
    @ThomasVFree 2 роки тому

    What is the best spot on your channel for a beginner earning his SEC+?? I want to start practicing on my home network..

  • @age7753
    @age7753 2 роки тому

    So I Have A Question
    You Type The Script to tht Web site does it affect other users or only you?
    And Thank You For The Video

  • @Jsploit
    @Jsploit 3 роки тому

    This channel is always on top

  • @gavincoulson3900
    @gavincoulson3900 2 роки тому

    Just subscribed, awesome stuff.

  • @yaxis7267
    @yaxis7267 3 роки тому

    this is cool and all but it bothers me how late the webcam is with the audio 😅

  • @PerryCS2
    @PerryCS2 3 роки тому

    I use your site to help make my website and APPS in development more secure. Thx :)

  • @arnelkiller
    @arnelkiller 2 роки тому

    Exceptionally explained. 🙏

  • @JamesBrown-rp5oq
    @JamesBrown-rp5oq 3 роки тому

    The video is very clear but my question is can you do this without beef? For example if you have access to a site can you write your own code to put in it, and also does it always change the url