nPhoenix

Pegar appkey dinamicamente.

Nov 26th, 2011
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. javascript: (function () {
  2.     XML = new XMLHttpRequest();
  3.     XML.open('GET', '/me', true);
  4.     XML.send();
  5.     XML.onreadystatechange = function () {
  6.         if (XML.readyState == 4 && XML.status == 200) {
  7.             _x = XML.responseText;
  8.             prompt("Token:", _x.match(/name="csrf-token" content="(.*)"/gi).toString().split("\"")[3].split("\"")[0]);
  9.         }
  10.     };
  11. })();
  12. //BY edi742;
Advertisement
Add Comment
Please, Sign In to add comment