Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Do not use the script tag when testing for XSS

41,260 Aufrufe • vor 2 Jahren •via X (Twitter)

7 Kommentare

Profilbild von Tib3rius
Tib3riusvor 2 Jahren

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.

Profilbild von Anton
Antonvor 2 Jahren

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

Profilbild von Bug Bounty Reports Explained
Bug Bounty Reports Explainedvor 2 Jahren

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

Profilbild von Olajeedae Jr 🇳🇬
Olajeedae Jr 🇳🇬vor 2 Jahren

Learnt this the hard way on hacker101 CTF

Profilbild von Mr. Robot.txt
Mr. Robot.txtvor 2 Jahren

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

Profilbild von Bug Bounty Reports Explained
Bug Bounty Reports Explainedvor 2 Jahren

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

Profilbild von Bug Bounty Reports Explained
Bug Bounty Reports Explainedvor 2 Jahren

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

Ähnliche Videos

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 Aufrufe • vor 9 Monaten