File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ ##############################
2
+ ## src: neek8044/TextSpammer
3
+ ####
4
+
5
+ import time
6
+ import pyautogui
7
+
8
+ gui = pyautogui
9
+ done = 0
10
+ errors = 0
11
+
12
+ while True :
13
+ print ("" )
14
+ text = input ("[?] What to spam: " )
15
+ cycles = input ("[?] How many times: " )
16
+ fcycles = int (cycles )
17
+ print ("[i] You are given 10 seconds to click on a text field." )
18
+ time .sleep (5 )
19
+ print ("[i] 5 seconds left..." )
20
+ time .sleep (5 )
21
+
22
+ while fcycles > done :
23
+ try :
24
+ gui .typewrite (text )
25
+ gui .press ("enter" )
26
+ print ("[*] Success!" )
27
+ done = done + 1
28
+ except :
29
+ print ("[!] Error occured. Trying again..." )
30
+ done = done - 1
31
+ errors = errors + 1
32
+
33
+ print (f"[i] Task completed successfully with { errors } errors" )
You can’t perform that action at this time.
0 commit comments