Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import socket
- import re
- import time
- #stuff
- host = "91.250.97.28"
- username = "stark"
- password = "NucOYYpF"
- port = 10011
- blacklist = ("Salami", "salami")
- l = ()
- #functions
- def sendString(s):
- xd.sendall(s+"\r\n")
- print("> " +s)
- def WaitForServerReply():
- logger = xd.makefile()
- print(logger.readline())
- xd = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- xd.connect((host, port))
- WaitForServerReply()
- sendString("login stark NucOYYpF")
- WaitForServerReply()
- sendString("use sid=1")
- WaitForServerReply()
- while True:
- sendString("clientpoke clid=2 msg=faelix")
- WaitForServerReply()
- time.sleep(30)
- xd.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement