weo92

bkmrk

Feb 7th, 2022 (edited)
915
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. var on = 0;
  2.  
  3. // var token = "6ehrXyNMy9wIDljj1uyPJhrfaYfrJQWXO5ENhz5x";
  4. //var sender = "profile"
  5.  
  6. var type = "send"
  7. var max = 2121892;
  8. function bot(){
  9. if (on+1<=max){
  10. on++;
  11. $.post("https://www.example.com/forum/"+on+"/bookmark",{
  12. "userId": on,
  13.  
  14. "csrf-token":$("*[name='_token']").val(),
  15.  
  16. "_token":$("*[name='_token']").val(),
  17.  
  18. //"sender": sender,
  19.  
  20. "type": type,}, function(Data){
  21. if (!Data.success){
  22. if (Data.message=="You are performing this action too often. Please wait a minute and try again."){
  23. on--;
  24. }
  25. }
  26. })
  27. console.log("Attempted to send friend request to "+on)
  28. }
  29. else
  30. {
  31. clearInterval(loops);
  32. console.log("Sent a friend request to every 2006er!")
  33. }
  34. }
  35. var loops = setInterval(bot,1000)
Add Comment
Please, Sign In to add comment