Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Do not use the script tag when testing for XSS

41,260 görüntüleme • 2 yıl önce •via X (Twitter)

7 Yorum

Tib3rius profil fotoğrafı
Tib3rius2 yıl önce

Better advice would be to not use exploit payloads for XSS detection in the first place, IMO. I personally like @cinzinga_'s goto payload of <s>asdf since it's small, easily searchable, and the strike-through text is more noticeable.

Anton profil fotoğrafı
Anton2 yıl önce

In case your sink is innerHTML, but you still need to load <script> use this: <iframe srcdoc="<script src=''></script>"></iframe> Last time I saw this trick in @bbuerhaus article

Bug Bounty Reports Explained profil fotoğrafı
Bug Bounty Reports Explained2 yıl önce

@bbuerhaus Yes, I've used for actually exploiting the innerHTML XSS but not for detecting it.

Olajeedae Jr 🇳🇬 profil fotoğrafı
Olajeedae Jr 🇳🇬2 yıl önce

Learnt this the hard way on hacker101 CTF

Mr. Robot.txt profil fotoğrafı
Mr. Robot.txt2 yıl önce

That brings me to the question that has been bugging me for a while now (Noob here) When you payload is being encoded, is that the end of the road? Cause usually i get stuck at this point

Bug Bounty Reports Explained profil fotoğrafı
Bug Bounty Reports Explained2 yıl önce

yes, encoding is a proper defence against xss and there's nothing you can do

Bug Bounty Reports Explained profil fotoğrafı
Bug Bounty Reports Explained2 yıl önce

Event handlers use need the same ''unsafe-inline' directive as inline scripts so what you say doesn't make sense.

Benzer Videolar

do not turn up the volume do not use headphones 😭
0:48

Sensitive content

do not turn up the volume do not use headphones 😭

sim

163,942 görüntüleme • 9 ay önce