正在加载视频...

视频加载失败

Do not use the script tag when testing for XSS

41,260 次观看 • 2 年前 •via X (Twitter)

7 条评论

Tib3rius 的头像
Tib3rius2 年前

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 的头像
Anton2 年前

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 的头像
Bug Bounty Reports Explained2 年前

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

Olajeedae Jr 🇳🇬 的头像
Olajeedae Jr 🇳🇬2 年前

Learnt this the hard way on hacker101 CTF

Mr. Robot.txt 的头像
Mr. Robot.txt2 年前

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 的头像
Bug Bounty Reports Explained2 年前

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

Bug Bounty Reports Explained 的头像
Bug Bounty Reports Explained2 年前

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

相关视频

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 次观看 • 9 个月前