Skip to content

Commit 22ac664

Browse files
authored
Upload source code file
1 parent 1cffa27 commit 22ac664

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

source/main.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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")

0 commit comments

Comments
 (0)