DO NOT USE alert(1) for XSS

  Рет қаралды 165,223

LiveOverflow

LiveOverflow

Күн бұрын

Пікірлер: 252
@mattp12
@mattp12 3 жыл бұрын
ok fine I’ll use alert(2)
@user-zu6ts5fb6g
@user-zu6ts5fb6g 3 жыл бұрын
based
@magicmulder
@magicmulder 3 жыл бұрын
alert(0.5+0.5);
@1Hippo
@1Hippo 3 жыл бұрын
alert(Math.PI)
@FUTUREPES
@FUTUREPES 3 жыл бұрын
😂
@goodrun88
@goodrun88 2 жыл бұрын
console.log(1-alert(1)) or eval(alert(1))
@nk2ishere
@nk2ishere 3 жыл бұрын
It would have been funny for google to really alert 1 when you input alert(1) into search box
@ThomasOrlita
@ThomasOrlita 3 жыл бұрын
I think they did something like that once on the Bughunter page.
@2das
@2das 3 жыл бұрын
Oh no, hell no, it would not. Imagine all the amateur bug hunters who then spam their reports to the google bug bounty XD
@castles990
@castles990 3 жыл бұрын
@FBI Federal Bureau of Investigation Then they would pretty much ignore every XSS reports, sorry FBI.
@2das
@2das 3 жыл бұрын
@LastName Almaember you better ignore my browsing history
@1e1001
@1e1001 3 жыл бұрын
@@castles990 well they can state that you have to use alert(document.domain) and just ignore all alert(1) ones or whatever
@whydoineedausername1386
@whydoineedausername1386 3 жыл бұрын
"Look into the chrome developer tools" *Opens firefox*
@dertythegrower
@dertythegrower 3 жыл бұрын
Yeah.. it calling home every time I open the browser.. yeah, no go for me. Also lack of script-viewing tools on chrome compared to firefox... mm, minimal.
@nicoper
@nicoper 3 жыл бұрын
Since this video is seemingly paid for by google, it's not strange that it contains some advertisement for Chrome.
@vaisakhkm783
@vaisakhkm783 3 жыл бұрын
"In a browser, the chrome is any visible aspect of a browser aside from the webpages themselves (e.g., toolbars, menu bar, tabs)." - so technically dev tools is a chrome (Not google chrome , it's just a name of a browser which they stollen)
@sebastianelytron8450
@sebastianelytron8450 3 жыл бұрын
@@vaisakhkm783 ^^ Can somebody verify that? I've literally never heard it before and information online on it is scarce. Is this really a technical term?
@vaisakhkm783
@vaisakhkm783 3 жыл бұрын
@@sebastianelytron8450 I also came to know about this from one of his own videos...."sandbox escape in Firefox" or something like that..... Checkout that video
@TheMAZZTer
@TheMAZZTer 3 жыл бұрын
Funny thing is you're using a browser that shows the origin in the alert box regardless of message, so alert(1) is fine in those browsers. Though you do show the edge case where there is no origin (eg it's blank) the alert box title is different, so it's worth keeping that edge case in mind.
@dasten123
@dasten123 3 жыл бұрын
I though so too, but look at this case 7:30 it just says "An embedded page on this page says"
@_DeProgrammer
@_DeProgrammer 3 жыл бұрын
The browser may show the origin in the alert but I think you're missing the point. It's not a bug. Using alert(1) would render a false positive and it would be better to use something other than alert(1) that shows an actual xss on the origin.
@thapr0digy
@thapr0digy 3 жыл бұрын
When you said Google at 6:37, you triggered my Google assistant. Too bad it interrupts the video otherwise you could open malicious web sites on the users behalf
@yashrathi6862
@yashrathi6862 3 жыл бұрын
Actually might, be a nice idea lol, but don't you have your voice recognition setup?
@mekb-the
@mekb-the 3 жыл бұрын
seems you accidentally left advertisements watermark in the top right corner for the video lol
@gurglemurgle5
@gurglemurgle5 3 жыл бұрын
The vid might be sponsored by Google
@Test123747
@Test123747 3 жыл бұрын
saw a few german youtuber doing this for legal reasons. Otherwise competitors will assume you are breaking a law if some products are highlighted in the videos, even if there is no sponsorship. They will ask for money and for you to stop doing this in the feature (with some legal document ). In return those youtuber then have to explain that there is no sponsorship and might even need the assistance of a lawyer. If it was sponsored he probably has to pay money to the competitor. So they just place a advertisement note on every single video to just not having to deal with that kind of bullshit.
@bernhardschmidt9844
@bernhardschmidt9844 3 жыл бұрын
I mean, he does link to Googles new bug hunter University thing in the description and he does talk about how to do stuff in regards to google products throughout the video, so it being sponsored in some way isn't too far fetched. That said, it's weird he doesn't explicitly mention it anywhere...
@lilyliao9521
@lilyliao9521 3 жыл бұрын
@@Test123747 interesting
@zaphooxx8779
@zaphooxx8779 3 жыл бұрын
Very good , valuable and helpful information you are providing here. Thanks !
@chiranjit9529
@chiranjit9529 3 жыл бұрын
Amazing explanation
@piyh3962
@piyh3962 3 жыл бұрын
This taught me more about XSS than any other video I've seen so far.
@michaeldouglas1052
@michaeldouglas1052 2 жыл бұрын
Very precious and important tips, thank you!
@seclilc
@seclilc 3 жыл бұрын
Great video as always
@drahoxx3076
@drahoxx3076 3 жыл бұрын
Why is there an "advertisement" message in the top right corner ? Is it just a mistake ? Anyway, very instructive video ! (Like the others!)
@tercmd
@tercmd Жыл бұрын
It's because Google paid him to produce this for Bug Hunter University and he thought it to be a good video, so he published here.
@soonpeace9938
@soonpeace9938 3 жыл бұрын
Very Informative.............Keep it up
@velho6298
@velho6298 3 жыл бұрын
Advertisement, nice touch.
@danhorus
@danhorus 3 жыл бұрын
I use console.log or console.trace :)
@b391i
@b391i 3 жыл бұрын
alert("You Are The Best")
@MrItrollaround
@MrItrollaround 3 жыл бұрын
Wait, so I'm not allowed to name my Skyrim player this anymore? Darn.
@muha0644
@muha0644 3 жыл бұрын
You make your videos really well. Amazing script, you speak clearly and enthusiastically, and you make cool graphics that are easy to understand and look nice in general, etc... The only thing I can complain about is that your IRL background looks kinda scary, like you are about to make an apology video or a documentary. It's not really a complaint but I though you could use the feedback. If you still have the breadboard pc you could make a counter and hang it in the background...or add some shelves or something. Unless you like the empty backdrop in which case ignore what I just said. Keep up the good work!
@DiThi
@DiThi 3 жыл бұрын
Are web workers another way of sandboxing potentially unsafe code?
@ceilidhDwy
@ceilidhDwy 3 жыл бұрын
Why is it marked as a sponsored video? Did google sponsor this one?
@tercmd
@tercmd Жыл бұрын
They paid for it to be created and he thought it to be a good video, so he published it on LiveOverflow
@IudiciumInfernalum
@IudiciumInfernalum 3 жыл бұрын
I generally just `alert(%27MyHandle%27)`
@shaswat2
@shaswat2 2 жыл бұрын
Is it self or reflected XSS if I modify the response in BURP and it shows alert, but doesnt show in URL?
@LiveOverflow
@LiveOverflow 2 жыл бұрын
Neither ;) it’s nothing ;)
@shaswat2
@shaswat2 2 жыл бұрын
@@LiveOverflow
@neilthomas5026
@neilthomas5026 3 жыл бұрын
Gold
@lmaoroflcopter
@lmaoroflcopter 3 жыл бұрын
Use prompt(2) ?? :D
@yuck871
@yuck871 3 жыл бұрын
nice
@iicloudbob8793
@iicloudbob8793 3 жыл бұрын
Please try reverse engineering Synapse X. It will be a challenge for you
@spongechair
@spongechair 3 жыл бұрын
1
@lior_haddad
@lior_haddad 3 жыл бұрын
oh
@bibelwalker
@bibelwalker 3 жыл бұрын
Michael Cera's cooler, more extraverted brother
@mwint1982
@mwint1982 3 жыл бұрын
Zeguridy izzu
@nameless_9504
@nameless_9504 3 жыл бұрын
And one more I have a came across a xss. But they aren't storing any information about user in cookies or localstorage. They are using completely stateless JSON web tokens and refresh token. When we are in certain endpoint then it will assign a in cookie using JWT. Best example using ( KEYCLOAK ). So I hosted a FORM to prove a attack possible in the domain.
@me-ashacker233
@me-ashacker233 3 жыл бұрын
Sir plese re upload how real hacking viedo sir you removed that viedo
@ripplerxeon
@ripplerxeon 3 жыл бұрын
I see Firefox ... Lol
@Andre-xz5ky
@Andre-xz5ky 3 жыл бұрын
Can you crash the whole shitty internet please? If someone read this who can, just do it. Like nike is using childs for Manufacturing. Only do it.
@hblaub
@hblaub 3 жыл бұрын
You are an ALERT()ist!
@theMoporter
@theMoporter 3 жыл бұрын
It's annoying as fuck as a user.
@UlfKlose
@UlfKlose 3 жыл бұрын
Is it just me or are you "unsharp" in almost every part of the video? Looks almost like you're out of focus most of the time.
@hikari_no_yume
@hikari_no_yume 3 жыл бұрын
Why is there an “advertisement” mark at the top-right, and a mention of sponsorship by Google in the subtitles, but not in the video itself?
@jaralara6429
@jaralara6429 3 жыл бұрын
Maybe this whole video is an ad from Google telling us to stop with the alert(1) reports 😂😂😂
@uttiya10
@uttiya10 3 жыл бұрын
I guess the “paid promotion” message at the beginning might be enough?
@violetwtf
@violetwtf 3 жыл бұрын
yeah this seems so sketchy
@luphoria
@luphoria 3 жыл бұрын
@@violetwtf not really.. the video is an ad
@unicodefox
@unicodefox 3 жыл бұрын
I think it was originally going to be that, then at the last moment he edited it out. The video is also low quality, almost as if he quickly downloaded it, edited and reuploaded
@charlesfries
@charlesfries 3 жыл бұрын
This channel has taught me so much
@DawnnDusk-k4n
@DawnnDusk-k4n 3 жыл бұрын
This guy precisely
@tytangameplay3118
@tytangameplay3118 3 жыл бұрын
This channel got me a detention ;-;
@DeadDad1
@DeadDad1 3 жыл бұрын
Same! I absolutely love way he explains things!
@cedricvillani8502
@cedricvillani8502 3 жыл бұрын
You want his bounty all over your chin
@tytangameplay3118
@tytangameplay3118 3 жыл бұрын
@@LethalSwizzle found xss and other vulnerabilities in school website, and apparently I violated some policy
@JPlexer
@JPlexer 3 жыл бұрын
How do some people say "Good Video" or "Amazing Explanation"? The Video literally just released
@reastle1307
@reastle1307 3 жыл бұрын
they fake it
@byekou
@byekou 3 жыл бұрын
gotta earn the likes
@LiveOverflow
@LiveOverflow 3 жыл бұрын
it's always true for my videos 🙃
@GamingBlake2002
@GamingBlake2002 3 жыл бұрын
*cough cough* cyberchiranjit *cough cough*
@JPlexer
@JPlexer 3 жыл бұрын
@@LiveOverflow well yes, but actually yes
@OdinRu1es
@OdinRu1es 3 жыл бұрын
Don’t use for security reasons. Uses for security reasons.
@jackharbor3347
@jackharbor3347 3 жыл бұрын
Why we shouldn't use for security reasons?
@JustPlayerDE
@JustPlayerDE 3 жыл бұрын
@@jackharbor3347 back in the past s where bad, now they are good i guess
@IsAMank
@IsAMank 3 жыл бұрын
Huh, never considered the bug bounty angle. From my experience with clients, issues in the components of a client's application were still very valid, and would often prompt further discussion and remediation across org boundaries, which I see as the ideal outcome. Good practice for XSS checks nonetheless, great video!
@menkiguo7805
@menkiguo7805 3 жыл бұрын
I was working for a website and their filter of XSS has alert(1) in it
@4.0.4
@4.0.4 3 жыл бұрын
The reason we use alert is because of old browsers that didn't have such nice consoles. It was the easiest way to see something on screen. In fact I remember an old Microsoft site where I got a debug alert when I pressed some combination of buttons (by chance).
@GiveAcademy
@GiveAcademy 3 жыл бұрын
in the past, my reason for using alert was because it took the least amount of characters, where many forms that were being tested had character limits. also most things would check for eval specifically, however alert was often forgotten... hehe
@1Hippo
@1Hippo 3 жыл бұрын
Chrome and Firefox both always display the origin domain in the alert, shown in the video for example at 3:41. I don't see the point of writing such a unnecessarily long payload, the video title seems a bit much clickbait, otherwise good explanation tho. alert(1) is still fine. btw: Opera and Vivaldi do it too, I guess all chromium based browsers.
@SolomonUcko
@SolomonUcko 3 жыл бұрын
It looks like inside s, at least browsers just say "an embedded page" rather than the actual domain or origin of the .
@dasten123
@dasten123 3 жыл бұрын
See 7:30
@1Hippo
@1Hippo 3 жыл бұрын
@@SolomonUcko They report the actual domain if it is set, blogger uses an too, see 4:26. In his selfmade example src is just not set, so it falls back to the generic message.
@1Hippo
@1Hippo 3 жыл бұрын
@@dasten123 See 7:45, in any case you get basically the same info.
@Jimmy1985
@Jimmy1985 3 жыл бұрын
But can i still deploy malware on the client machine via this xss? A bEEF hook could hook into the browser of the client. I would not call any xss a safe xss but i guess it is out of scope.
@realjameskii
@realjameskii 3 жыл бұрын
Ok thanks, ill use alert(2) instead
@thomascodes
@thomascodes 3 жыл бұрын
Different WAF'S Have diffrent responses to payloads some times destructuring the payload may work throw[onerror]=[alert],1
@soroushhd2408
@soroushhd2408 3 жыл бұрын
man I believe in it I got a xss from an imortant web site thats belong to a very important organization that was pentested for 3 times 🤣🤣🤣
@user-ko7oo2qg1g
@user-ko7oo2qg1g 3 жыл бұрын
One of those rare videos by you about which I can say that I knew most of the things you mentioned. But still, a great one as always! 👍
@gradientO
@gradientO 3 жыл бұрын
alert(1)
@marcoschincaglia
@marcoschincaglia 3 жыл бұрын
ok, I had to interrupt my lazy Saturday afternoon to actually learn something useful
@rafaeldacosta8581
@rafaeldacosta8581 Жыл бұрын
destroying kids dreams under 12 minutes huahuahuahuahuahua
@aldison5070
@aldison5070 3 жыл бұрын
We use eval()
@medpro5612
@medpro5612 3 жыл бұрын
Can I use alert(1337) ?
@rupesholee
@rupesholee 3 жыл бұрын
why not
@scou1yy
@scou1yy 3 жыл бұрын
Imagine getting a pop-up saying "2", that would be threatening
@Lantalia
@Lantalia 3 жыл бұрын
We use alert because it predates chrome, firebug, and most useful 'consoles'
@arivanhouten6343
@arivanhouten6343 3 жыл бұрын
Finally another masterpiece!
@pixelorange9651
@pixelorange9651 3 жыл бұрын
Thank you for your suggestions on XSS! Your video is very good, so I want to translate it and share it on the Chinese video website (bilibili) in my free time. I will keep the introduction and title of your video consistent and declare the author, and I will not get any profit from it. Do you agree with this matter?
@Hackerone1444
@Hackerone1444 11 ай бұрын
print(5)
@devprogramming
@devprogramming 2 жыл бұрын
Use print() instead of alert() because browsers are disabling the alert() for cross-domain s.
@TheJDebski
@TheJDebski 3 жыл бұрын
Thanks so much. You're doing great work. I would love more hunting videos. Very interesting
@arenaesports2580
@arenaesports2580 3 жыл бұрын
For Chrome we can use print now
@kissinger2867
@kissinger2867 3 жыл бұрын
The more I watch you the more I find something new, interesting and worth my time. Thank you very much.
@asdfghyter
@asdfghyter 3 жыл бұрын
Is there any practical difference between document.domain and window.origin for these purposes?
@w3w3w3
@w3w3w3 3 жыл бұрын
damm super interesting :)
@vinayjain322
@vinayjain322 Жыл бұрын
ok i will use alert('fucked')
@thejswaroop5230
@thejswaroop5230 3 жыл бұрын
Bro i have a suggestion.... can u please put a video on PEGASUS spyware...like I'm genuinely confused what is it and why news channels are milking it so much....is it a thing to be afraid of? I would love to see your perspective on this.... If not here maybe atleast in your other channel liveunderflow pls....?
@2das
@2das 3 жыл бұрын
gif mi bounti plis
@techdevils1597
@techdevils1597 2 жыл бұрын
alert("xss")
@156785543
@156785543 3 жыл бұрын
Excuse me my ignorance. What is the most dangerous thing you can do with that kind of attack? (xss) in Real life. I mean if I found a xss vuln the hacker just could catch my token/credentials by fishing? Or there is a other most power full attack. Excelente video and cheers from Argentina!
@anandakumar625xib8
@anandakumar625xib8 10 ай бұрын
He looks like Mr beast
@10oneluv10
@10oneluv10 2 жыл бұрын
GREAT VIDEO! I never knew any of this.
@ThatGuy-bx3pv
@ThatGuy-bx3pv 3 жыл бұрын
KZbin recommend me this and I don't understand a thing. Why youtube? Why?
@charlie5tanley
@charlie5tanley Жыл бұрын
thank you thank you....
@Epinardscaramel
@Epinardscaramel 3 жыл бұрын
5:02 Sorry Flash, f.
@ZelenoJabko
@ZelenoJabko 3 жыл бұрын
Not all browsers support sandboxed s. Those browsers are vulnerable.
@ThePizzabrothersGaming
@ThePizzabrothersGaming 3 жыл бұрын
which one doesn't, internet explorer? thats EoL
@ZelenoJabko
@ZelenoJabko 3 жыл бұрын
@@ThePizzabrothersGaming your mom doesn't
@4ag2
@4ag2 3 жыл бұрын
Very well explained! Thanks 👍
@dclxviclan
@dclxviclan 2 жыл бұрын
Cool, nice tut
@mualifulmizan9066
@mualifulmizan9066 3 жыл бұрын
Nice this video
@spv420
@spv420 3 жыл бұрын
I just realized I wasn’t subscribed. I fixed that.
@dasten123
@dasten123 3 жыл бұрын
This is interesting! Cool video man!
@pedrophillipe
@pedrophillipe 3 жыл бұрын
se eu quiser uso sim, oxi kk
@sourandbitter3062
@sourandbitter3062 3 жыл бұрын
That was interesting, but he repeated himself a lot, the video could have been half the lenght.
@omri9325
@omri9325 3 жыл бұрын
Is this a new video-file format? the quality looks too compressed :|
@Hackedpw
@Hackedpw 3 жыл бұрын
Kiii
@sharemarket1971
@sharemarket1971 3 жыл бұрын
I'm new in bug hunting... I understand nothing but I watched this video
@Quget
@Quget 3 жыл бұрын
4:22 But you are using the much better browser.... Firefox!
@anthonation
@anthonation 3 жыл бұрын
Thank you so much 🙌🏻
@sql7002
@sql7002 3 жыл бұрын
As usual 🔥🔥🔥🔥👌
@PotatoChips-jy9pk
@PotatoChips-jy9pk 3 жыл бұрын
69
@prawnstarrr
@prawnstarrr 3 жыл бұрын
alert("xss") -- a classic
@savithnishitha5562
@savithnishitha5562 2 жыл бұрын
.
@iooosef6006
@iooosef6006 3 жыл бұрын
Good thing I use alert(2)
@rupesholee
@rupesholee 3 жыл бұрын
1337
@KickoffCentral24
@KickoffCentral24 3 жыл бұрын
I need help in APDU setup
@TianyuQi
@TianyuQi 3 жыл бұрын
me, who uses alert(): intensive sweating
@mindreader3947
@mindreader3947 3 жыл бұрын
wonderful video Thanks @liveoverflow
@cocomelonboy1
@cocomelonboy1 2 жыл бұрын
@HackoMedia404
@HackoMedia404 2 жыл бұрын
Very informative video
Script Gadgets! Google Docs XSS Vulnerability Walkthrough
18:57
LiveOverflow
Рет қаралды 142 М.
My theory on how the webp 0day was discovered (BLASTPASS)
15:03
LiveOverflow
Рет қаралды 20 М.
The selfish The Joker was taught a lesson by Officer Rabbit. #funny #supersiblings
00:12
Funny superhero siblings
Рет қаралды 4,2 МЛН
From Small To Giant Pop Corn #katebrush #funny #shorts
00:17
Kate Brush
Рет қаралды 70 МЛН
can you hack this screenshot service?? - CSCG 2021
22:48
LiveOverflow
Рет қаралды 149 М.
The Origin of Cross-Site Scripting (XSS) - Hacker Etymology
14:21
LiveOverflow
Рет қаралды 49 М.
Hacker101 - JavaScript for Hackers (Created by @STOKfredrik)
24:17
What is a Browser Security Sandbox?! (Learn to Hack Firefox)
18:06
LiveOverflow
Рет қаралды 143 М.
Cracking Websites with Cross Site Scripting - Computerphile
8:34
Computerphile
Рет қаралды 1,5 МЛН
Cross-Site Scripting (XSS) Explained
11:27
PwnFunction
Рет қаралды 445 М.
XSS on Google Search - Sanitizing HTML in The Client?
12:58
LiveOverflow
Рет қаралды 692 М.
When you Accidentally Compromise every CPU on Earth
15:59
Daniel Boctor
Рет қаралды 828 М.
Missing HTTP Security Headers - Bug Bounty Tips
15:48
LiveOverflow
Рет қаралды 140 М.
iPhone Standby mode dock, designed with @overwerk
0:27
Scott Yu-Jan
Рет қаралды 6 МЛН
ВШИВЫЙ ИГРОВОЙ ПК с WB за 58000 тысяч рублей
22:48
Wi-fi с бесконечным паролем 😱
0:18
FilmBytes
Рет қаралды 101 М.
Is this Samsung's change over time #shorts
0:13
Si pamerR
Рет қаралды 814 М.
Выпрыгивает ли аккумулятор в iPhone 16?
0:43
ÉЖИ АКСЁНОВ
Рет қаралды 1,3 МЛН