Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from requests import get
- from scratchclient import ScratchSession
- from random import randint
- from time import sleep
- counter = 0
- while True:
- if counter == 0:
- spammeduser = input("What user's profile do you want to spam? ")
- else:
- if len(spammeduser) > 20:
- spammeduser = input("Invalid username. Please try again. ")
- else:
- break
- if len(spammeduser) > 20:
- spammeduser = input("Invalid username. Please try again. ")
- else:
- break
- counter += 1
- counter = 0
- while True:
- if counter == 0:
- spamtext = input("What text do you want to spam? (Max. length: 450) ")
- else:
- if len(spamtext) > 450:
- spamtext = input("Invalid length. Please try again. ")
- else:
- break
- if len(spamtext) > 450:
- spamtext = input("Invalid length. Please try again. ")
- else:
- break
- counter += 1
- username = input("Enter the username of the account that you want to use as a spambot. ")
- password = input("Enter the password of the account that you want to use as a spambot. ")
- def antiSpam(text):
- lim = 500
- bypass = ""
- for i in range(1, randint(1, lim-len(text))+1):
- bypass = bypass + "Β"
- return bypass
- session = ScratchSession(username, password)
- while True:
- session.get_user(spammeduser).post_comment(spamtext))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement