Python程式碼:
from pynput.keyboard import Key,Controller
import time
keyboard=Controller()
messages=input("請輸入你要轟炸的資訊:")
times=eval(input("請輸入你要轟炸的次數:"))
print("資料已被後臺接受,請將游標移動至會話框")
time.sleep(2)
for i in range(3):
print("距離資訊轟炸還需要%d秒"%(3-i))
time.sleep(1)
for i in range(times):
keyboard.type(messages)
keyboard.press(Key.enter)
keyboard.release(Key.enter)
time.sleep(0.1)
print("資訊轟炸已經順利完成,已退出!")
Windows exe下載地址:https://ao.aoo.ink/upload/訊息轟炸檔案.exe