Cross-Site Scripting (XSS) Explained

  Рет қаралды 463,191

PwnFunction

PwnFunction

Күн бұрын

Пікірлер
@darylann1375
@darylann1375 4 жыл бұрын
This has truly been a lifesaver. My college professor told us to research this for a paper and gave us no source material whatsoever. Everywhere I look, the explanations are so technically written that it goes right over my head with my limited knowledge. (Usually, if I have to look up 3 terms before I finish the first paragraph, I'm out) Thank you SOOOOOO much for describing this in detail without weighing it down with an excess of unnecessary jargon and high-level concepts.
@w9s992
@w9s992 4 жыл бұрын
DARYL YOU ARE WELCOME
@rogervanbommel1086
@rogervanbommel1086 3 жыл бұрын
Liveoverflow is also a good channel
@inspectorlunge3887
@inspectorlunge3887 3 жыл бұрын
@Daryl Ann It's funny how university and college just ends up being a scam where you pay $100k for a piece of paper. It is literally just a legalized scam if you think about it.
@Monawwar
@Monawwar 3 жыл бұрын
@@inspectorlunge3887 😂👍
@FirstLast-ff1ud
@FirstLast-ff1ud 3 жыл бұрын
You are lucky your professor told you about this, my professor did not even bother to mentioned these kind of attacks
@domaincontroller
@domaincontroller 4 жыл бұрын
00:50 SOP, the browser checks, blocks read and write 02:10 JS, access, DOM API, javascript injection technique, 03:21 basic classic example 05:35 reflected 05:54 stored 07:31 DOM XSS
@LikeThizzz
@LikeThizzz 4 жыл бұрын
I read so many explanations about XSS recently and yours is by far the best. Keep up the great work !
@dwangoAC
@dwangoAC 4 жыл бұрын
dwangoAC of the custom Twitch chat XSS segment - thanks for including it! We had difficulty classifying it as well, and the realtime nature made it hard to say if it was truly stored XSS or not. The volunteer who wrote it learned valuable lessons that day.
@tapank415
@tapank415 4 жыл бұрын
Upload more frequently! :)
@drwombat
@drwombat 2 жыл бұрын
Wish I could double like this comment... I absolutely LOVE and RELY ON your content
@notlookme
@notlookme 2 жыл бұрын
No :)
@CunningAndGuile
@CunningAndGuile 3 жыл бұрын
This lesson was sooooo well done my dude! It was great, lots of specifics but not so complicated that everything flew right over my head. Thank you!
@art_of_bayar
@art_of_bayar 4 жыл бұрын
Absolutely loved this video! The intro video, your style of talking, those amazing blue and pink (I guess they are called pastel colors?) colors. It was really fun to watch this video and get a general knowledge about XSS. Keep this us, buddy! Definitely sub from me!
@hahahabit3242
@hahahabit3242 2 ай бұрын
I gotta say bro, your content is helping me out a fugh-ton. I've been brushing up on my security since ive been interviewing for a few months and realized my understanding of some sec principles werent complete or in some cases simpler than i had originally thought. thanks!
@jhnsb
@jhnsb 2 жыл бұрын
i do not leave comments often but.. my dude holy crap this was great. thank you. much more in depth and easy to understand compared to professor messer. loves the visuals. keep it up
@ignitor9941
@ignitor9941 4 жыл бұрын
hey man , good to see you after a long time.. plan some frequent uploads ..
@eduardoantunes2958
@eduardoantunes2958 3 жыл бұрын
The day has come I finally got an xkcd reference :)
@kevin_brown_dc3423
@kevin_brown_dc3423 3 жыл бұрын
Dude! You vids are amazing. Very technical which is great and your graphical explanations leave no room for guessing! Love it! Keep these going!
@PwnFunction
@PwnFunction 3 жыл бұрын
Glad you like them
@Dupstal
@Dupstal 4 жыл бұрын
This was the first video I saw from you but I have to say, I am really glad I’ve found this channel. Big subscribe and I hope that you will have a successful KZbin carrier
@brinklebros7136
@brinklebros7136 3 жыл бұрын
this is the first video ive watched of yours and I already love how you approach the over acrhing concept!
@Wolfennar
@Wolfennar 4 жыл бұрын
Been struggling to wrap my head around what xss was exactly for a while, and this cleared up a lot of things. Thank you. :)
@MechanicalMooCow
@MechanicalMooCow 3 жыл бұрын
Because you're a furry. Ropes are cheap
@Volian0
@Volian0 3 жыл бұрын
@@MechanicalMooCow bruh xd
@ricardoprieto1849
@ricardoprieto1849 4 жыл бұрын
You're the best online teacher that I ever had! Keep uploading more vulnerabilities pls, tomorrow I will try some xss challenge of your website, thank you for all your hard work
@yoramswiers
@yoramswiers 3 жыл бұрын
The fact that you didn't edit out the differentiation thingy just earned you a subscribe
@dondoukhan4942
@dondoukhan4942 4 жыл бұрын
What you do for the community is awesome man. Thanks for the game and the great videos
@coreyriviello3873
@coreyriviello3873 3 жыл бұрын
You are super funny man love how you have a good time while making the explanations. Underated and I wish you well in your future I will be subscribing and supporting!
@md.fazlulkarim
@md.fazlulkarim 4 жыл бұрын
Bruh! I don't know who you are, but I will find you and hug you! (maybe after covid) Your explanations has been spot on with the perfect amount of words and video. You should teach class at university that way students will actually get what they are supposed to be studying! Hats off to you good sir.
@andrei-anghelstoica4647
@andrei-anghelstoica4647 4 жыл бұрын
Hello ! I finally understood XSS ! Thank you man ! You're the best! Keep those videos coming. #subscribed
@nenecarboo6819
@nenecarboo6819 4 жыл бұрын
This has got to be the best KZbin tutorial, HANDS DOWN. Lmao! Subscribed.
@zyk_mt
@zyk_mt 4 жыл бұрын
Your videos are so awesome. You explain stuff in such an easily-digestable manner. Please make more :)
@robertschlittler6846
@robertschlittler6846 3 жыл бұрын
Dude your video editing skills are next level. Keep up the good work!
@shanesmith1975
@shanesmith1975 2 жыл бұрын
Came here from the deserialization vid. Awesome content, well done. +1 Sub.
@goooooo9197
@goooooo9197 4 жыл бұрын
Happy to see u back I missed u
@sumedhvangara7368
@sumedhvangara7368 4 жыл бұрын
yo pwn function, i love your vids, please try to post more. i have watched all ur vids and learned a ton from each which I thought i wouldn't have so ur channel has been an all around big help. I love ur content so maybe just trying to post when u can will be great...
@HappyG1lm0re
@HappyG1lm0re 3 ай бұрын
Random tidbit: I had a phone interview with the guy who coined the term "XSS" (allegedly), he was absolutely obnoxious and made sure to let me know he came up with that term every 5 minutes.
@antonhen23
@antonhen23 4 жыл бұрын
Waiting for next video! You're making top content!
@johncress1859
@johncress1859 5 ай бұрын
Incredible video, I have been drinking allot of concepts from a water hose for my CySA+ and XSS for whatever reason was one I really struggled to conceptualize.
@frederickmwangi5833
@frederickmwangi5833 2 жыл бұрын
Very helpful I keep learning, understanding, and then forgetting XSS. This time it stuck with me 👍
@Lanigros
@Lanigros 4 жыл бұрын
Liked and subscribed! Thank you so much! This was really really well done and explained! Edit: Was I subscriber nr 14.000?!
@Hope-kf1nl
@Hope-kf1nl 4 жыл бұрын
Corrections on the same origin policy. You can "write" or "send" regardless of origin but the browser will hold onto any response that is coming from an untrusted origin. This is the reason CSRF is not prevented by SOP. This isn't hate mail btw, I love your videos and you helped me a ton in the past. P.S. glad to see you're back!
@PwnFunction
@PwnFunction 4 жыл бұрын
Yes, the browser makes the call on whether to let a site read/write to other @ 1:20 Haha no worries, I take them any day! Cheers!
@Hope-kf1nl
@Hope-kf1nl 4 жыл бұрын
*Edit:* I had some second thoughts. You are actually correct in that you can't edit or overwrite the DOM of other pages using JavaScript from your page. If that's what you meant by saying "write" I don't know if SOP is the technology that is preventing that though. Because I don't see how you'd target DOM elements for editing using XHR. Is it just a JavaScript limitation or is SOP stepping in? Hmm...
@PwnFunction
@PwnFunction 4 жыл бұрын
@@Hope-kf1nl As far as I'm aware, SOP checks are performed before performing any kinda cross origin actions which include making network requests or accessing document of a different origin.
@Hope-kf1nl
@Hope-kf1nl 4 жыл бұрын
@@PwnFunction Yes, it is a browser-based protection. I know that it will prevent requests that must be preflighted, limiting all requests to a GET/POST. SOP is a firewall and will check any requests that are not "simple" For example, JSON with Padding was a hack developers used to get around SOP before CORS was adopted. We used to send over JSON containing JS functions within a callback. Then developers would insert that callback into a set of tags. SOP wasn't preventing that type of write / send because the requests were still considered simple because the JavaScript was inside the GET parameters and not part of the HTTP Body. So the MIME wasn't getting preflighted.
@PwnFunction
@PwnFunction 4 жыл бұрын
@@Hope-kf1nl Sure thing, not all kinds of "reads" violates the policy - web.dev/same-origin-policy/#what-is-permitted-and-what-is-blocked . But I guess it just boils down to a policy, affecting cross origin actions.
@ilhamferry3382
@ilhamferry3382 3 жыл бұрын
Realy a great content that you made~ I really like it & thank you for creating this. I hope you'll make another content more frequent~
@yZempX
@yZempX 3 жыл бұрын
Samy worm reference caught! Great video btw, very clear and useful
@hesh1700
@hesh1700 3 жыл бұрын
I wish I've found this channel way before, great content!❤️
@peschebichsu
@peschebichsu 3 жыл бұрын
Great explanation. And that video of the streamer 100% go watch it everyone!! I am so thankful you put that link there for us, haven seen such an amazing video for a while xD
@ksato3991
@ksato3991 2 жыл бұрын
First time watching ur vid. Love the icon!
@ammaransari2073
@ammaransari2073 4 жыл бұрын
Huge respects bro! You have a great and unique way of teaching
@oldacomputer7813
@oldacomputer7813 Ай бұрын
Concept
@johnwayne1287
@johnwayne1287 3 жыл бұрын
FINALLY! a great video on XSS! Thank you!
@win32prog
@win32prog 4 жыл бұрын
I love your video making style, it makes it fun to look at
@jack23907
@jack23907 3 жыл бұрын
One of the best explanation for XSS. Thank you very much for this video and also for learning resource.
@h0ra88
@h0ra88 2 жыл бұрын
"Lets talk about SOP, so that were all on the same page" nailed it
@anndronova521
@anndronova521 3 жыл бұрын
It's a perfect video! I finally understand everything. Thank you so much!!!! By the way, the video fragment was so funny))
@CoolITTrends
@CoolITTrends 3 жыл бұрын
Top Notch explanation of a difficult topic. Loved the graphics and animation. Barvo!!
@siegeshkila1305
@siegeshkila1305 2 жыл бұрын
thank you so much, a lot of websites and forums just say like: blah blah if you write blah blah blah in blah you will get blah blah blah. but now i get how it works
@theawless
@theawless 3 жыл бұрын
This should be at the top of my youtube search! I keep seeing random half assed videos on XSS. But this kinda gold is down the list for some reason.
@jhde9067
@jhde9067 2 жыл бұрын
You are good at explaining. If all your videos are going to be like this, consider you have a new subscriber .
@anshpathania1816
@anshpathania1816 4 жыл бұрын
Thank you very much sir! you cleared all my doubts :) . Your way of presentation of topics is really really good! :D
@diale13
@diale13 3 жыл бұрын
GREAT video man, keep the content!
@ekaterinazakharenkova5826
@ekaterinazakharenkova5826 Жыл бұрын
Thank you for your work! Amazing explanation!
@shivamprajapati7450
@shivamprajapati7450 Ай бұрын
Cleared my doubts Thanks bro ✌️
@SikoSoft
@SikoSoft 2 жыл бұрын
In my view, the biggest fundamental flaw of the same origin policy is the fact that it is purely a client side implementation. Case and point: fork Chrome, turn the flag off you have a CORS-less browser. Why you'd want that when it would be a detriment to your own good is another question. But you can do it. You don't even need to change the code. As far as I know, there still exists a flag you can pass when launching Chrome (and other browsers) to turn it off. And now we have "Local Overrides" in Chrome's dev tools. This is a wonderful tool that has helped me debug a number of issues in production, but it also is a wonderful asset to performing XSS attacks on sites you shouldn't have authority over. It's also possible to manipulate the perception of who you're communicating with by modifying your local hosts file. Add break points to another site's scripts, pause execution at important points, retarget your domain to a local server you're serving assets from, revert hosts file, resume execution as desired. I'm sure there's a number of brighter people than me here who have even better examples of how easy it is to circumvent the minimal protection that is there, so it leaves me wondering why we have an entire ecosystem of technology built around such shaky ground. It seems to me that we should have implemented better security mechanisms for these sort of things in the actual protocol level. In the same way in which we introduced websockets by "upgrading" connections, it feels like more should be done in this area to mitigate the weak protection client-side CORS policies provide.
@Miguel-ox8jb
@Miguel-ox8jb 3 жыл бұрын
Amazing explanation of XSS. Kudos mate
@0xbyt3z
@0xbyt3z 4 жыл бұрын
I actually subscribe after the first few animations. Clean tutorial.
@u0000-u2x
@u0000-u2x 4 жыл бұрын
Excellent videos, amazing production value
@MrHazzaman6
@MrHazzaman6 4 жыл бұрын
Can't believe more people haven't seen this, very well explained and at a very good pace.
@diganta7
@diganta7 Жыл бұрын
bro you just taught me what I wanted. big fan 😊❤
@ahmedmamdouh3964
@ahmedmamdouh3964 3 жыл бұрын
why this was not recommended to me
@qaiser-l6f
@qaiser-l6f Ай бұрын
Because it's Awesome 😊
@RayfuzuLearning
@RayfuzuLearning 2 жыл бұрын
This was so well done. By the way, what software do you use to do the drawing on your videos?
@rajeshranjan7034
@rajeshranjan7034 4 жыл бұрын
Hey man, great content as always. Please make more content like this :)
@GuitarreroDaniel
@GuitarreroDaniel 4 жыл бұрын
This was amazing! Thanks for the upload, currently exploring your channel :)
@Trickst3rZer0
@Trickst3rZer0 4 жыл бұрын
Simple, entertaining, and engaging. Subbed. Teach me more. -Cyber Security student
@ca7986
@ca7986 4 жыл бұрын
Awesome explanation man! Hats off! 👌
@shealdme
@shealdme 3 жыл бұрын
that 'same page' joke is what got you a thumbs up.
@evanszikun5307
@evanszikun5307 2 жыл бұрын
Yo, I can confirm this vidoe is better than a QS top 100 uni lecture video, sorry professor :)
@cyanmagar4986
@cyanmagar4986 4 ай бұрын
Thanks brooo. A little late onto security. But it was a great learning experience 🥳💐
@rmdhananjay2561
@rmdhananjay2561 2 жыл бұрын
You have made my life easier. Thanks
@alexceban1998
@alexceban1998 3 жыл бұрын
keep up the good work, very nice animation and super clear explanation thank you
@bessemea2677
@bessemea2677 3 жыл бұрын
Love the graphics and explanation 👌
@brandhark7935
@brandhark7935 2 жыл бұрын
Good quality content and thanks for explaining XSS
@Anu-vp9um
@Anu-vp9um 4 жыл бұрын
Please make more videos on different Web Vulnerability types , And maybe some more demos on them . Love your channel ❤️
@karanb2067
@karanb2067 4 жыл бұрын
Samy is my hero....the classic myspace prank... loved the reference
@laureanocavallo2476
@laureanocavallo2476 3 жыл бұрын
a webpage to practice xss with examples? i think i love you
@chandraleelasunnapu5834
@chandraleelasunnapu5834 4 жыл бұрын
Lil Bobby tabels you forged his name to Bobby script!! Xoxo love from India... keep up the good work cheers
@wireghost897
@wireghost897 4 жыл бұрын
Great video man. Btw, how do you do these animations? IPad recodings?
@guptaanmol184
@guptaanmol184 4 жыл бұрын
Thank you for getting us all on the same page ;)
@frankordonez2784
@frankordonez2784 2 жыл бұрын
Thank you for building that website! And for this video
@saminchowdhury7995
@saminchowdhury7995 4 жыл бұрын
Here before this channel blows up
@gmelodie
@gmelodie 4 жыл бұрын
Dude your content is awesome omg! I guess what finally made me click was you saying that the name XSS is probably not the best one (stopped focusing on the name to realize it's just an injection technique :)
@uav2
@uav2 4 жыл бұрын
wow what a great video. I hope you will do a lot more videos like this!
@Arkata
@Arkata 3 жыл бұрын
Dude you're awesome 👌 Your explanation and example is exactly what I was looking to properly understand Thanks. Do you have a video on XSRF also???
@Arkata
@Arkata 3 жыл бұрын
NM, I just found it haha Thanks
@stephanstanisic2007
@stephanstanisic2007 4 жыл бұрын
Awesome video as always!
@chiefkeeflover4
@chiefkeeflover4 3 жыл бұрын
Love your vids!
@sagartiwari5470
@sagartiwari5470 3 жыл бұрын
1:51 I don't know much about hacking,, i recently read about open redirect vulnerability,, Is it possible that SOP gives access to that if Open redirect vulnerability is there?
@riomoxmouad859
@riomoxmouad859 4 жыл бұрын
u are great dude, happy i found u out
@surya-ur5vv
@surya-ur5vv 4 жыл бұрын
What happen to you man! Many of them are waiting for your video You are such a awesome youtuber i saw earlier im still waiting for the next video When i saw your video at first time i didnt understand that much .then i watch many times and understand the concept of the vulnerability i hope you upload your next video on november You are literaly awesome regards,surya
@Zack_MD
@Zack_MD 4 жыл бұрын
Amazing video. Keep them coming
@MrYellow94
@MrYellow94 Жыл бұрын
I'll learn how to do security. Thanks for showing it to me!
@seewhatseeabc
@seewhatseeabc 3 жыл бұрын
SOP only prevents reading though right? The backend server will execute the request and send the response back to the browser, but the browser will not show the response.
@selimeneskaraduman6935
@selimeneskaraduman6935 4 жыл бұрын
Welcome mate , Please more videos
@myhackertech
@myhackertech 4 жыл бұрын
Pretty cool explainer video on XSS!
@adityyyaaa
@adityyyaaa 5 ай бұрын
Also, we should preferably use innerText attribute to put content inside a html element
@abhinovize
@abhinovize 4 жыл бұрын
hey man please make videos more frequenty and put here for us to learn. I love your work man!!
@philipmabula7050
@philipmabula7050 3 жыл бұрын
your amazing dude keep up the good work
@samsam-qi6qo
@samsam-qi6qo 3 жыл бұрын
Awesome presentation. May I ask which tool you use to create the animations?
@codyhayes5128
@codyhayes5128 Жыл бұрын
best explanation on the internet!!
@heikalikal3552
@heikalikal3552 4 жыл бұрын
Wow its been long time, nice video
@Jayshnay
@Jayshnay 2 жыл бұрын
Isn't 1:13 wrong? SOP only applies to reading data and not writing it. CSRF attacks are still possible against SOP.
Cross-Site Request Forgery (CSRF) Explained
14:11
PwnFunction
Рет қаралды 471 М.
Cross-Site Scripting: A 25-Year Threat That Is Still Going Strong
9:33
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Cheerleader Transformation That Left Everyone Speechless! #shorts
00:27
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Cross-Site Scripting (XSS) Explained! // How to Bug Bounty
14:43
Hacking Websites with SQL Injection - Computerphile
8:59
Computerphile
Рет қаралды 2,4 МЛН
GoogleCTF - Cross-Site Scripting "Pasteurize"
29:21
John Hammond
Рет қаралды 98 М.
Dangerous Code Hidden in Plain Sight for 12 years
18:00
PwnFunction
Рет қаралды 1,6 МЛН
How To Predict Random Numbers Generated By A Computer
13:54
PwnFunction
Рет қаралды 563 М.
DO NOT USE alert(1) for XSS
12:16
LiveOverflow
Рет қаралды 166 М.
Cracking Websites with Cross Site Scripting - Computerphile
8:34
Computerphile
Рет қаралды 1,5 МЛН
Access Location, Camera  & Mic of any Device 🌎🎤📍📷
15:48
zSecurity
Рет қаралды 2,7 МЛН
Incredible Dangers in Browsers (Affects all of them)
21:02
Rob Braxman Tech
Рет қаралды 336 М.
Don't make random HTTP requests.
14:02
PwnFunction
Рет қаралды 391 М.
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН