-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathspambot.py
65 lines (52 loc) · 2.39 KB
/
spambot.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
############################################
#
# SpamBot
# By: Assassin umz (don't mind the creepy name)
#
# Support:
# Discord- https://discord.gg/3nfQadt
# GitHub- https://github.com/Assassinumz
#
############################################
from keyboard import press
from time import sleep
import pyautogui, os
def end(): #Exit function with a message
print('\nThanks for using this tool\nif you have any issues, contact me on discord or github')
exit(0)
def main(): #main function
os.system('cls')
print('''
_____ ____ _
/ ____| | _ \ | |
| (___ _ __ __ _ _ __ ___ | |_) | ___ | |_
\___ \| '_ \ / _` | '_ ` _ \| _ < / _ \| __|
____) | |_) | (_| | | | | | | |_) | (_) | |_
|_____/| .__/ \__,_|_| |_| |_|____/ \___/ \__|
| |
|_|
\nThis is a very simple spam bot.
Instructions: Just type your spam text and number of time to spam, hit enter and point your cursor to the input box, the spam will begin in 10 seconds.
NOTE: THIS TOOL CAN CAUSE A CHAOS IF NOT USED IN THE RIGHT WAY. IN SIMPLE WORDS IT WILL SPAM ANYWHERE YOUR CURSOR IS AT, SO MAKE SURE YOUR CURSOR IS IN THE RIGHT INPUT BOX
Support:
Discord- https://discord.gg/3nfQadt
GitHub- https://github.com/Assassinumz
''')#Tool banner with instructions and contact info
spam = input("Enter your spam text:\n-> ") #Gets the input from the user and stores it as the spam text
num = input("\nNumber of times to spam (Leave it for if you want it to spam forever):\n-> ") #sets number of time to spam
if num == "": #if num is blank sets num to 999999... you won't let this loop that many times would you ?
num = 999999
print('\nThe spam will begin in 10 seconds... BRACE YOURSELF !!!\n')#BRACE YOURSELF !!!!
print("Return to this window and press 'ctrl/cmd + c' to stop the spam anytime\n\n")#how to stop the chaos
sleep(10)#gives time for lazy users to point towards the input box
for _ in range(int(num)):
sleep(0.3)#stop the spam for 0.3 seconds every loop
pyautogui.typewrite(spam) #types the spam text in the input box
press('enter') # hits enter
end()#calls the end function
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
print('Stopping the script')
end()