Sinisterly
Raid Script - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Raid Script (/Thread-Raid-Script)



Raid Script - PungentCrotch - 02-23-2015

I came across a script for raiding but it had syntax errors so I had to fix them. Afterwards running the script it still didn't work. Any help since I have no background in python at all?
Code:
import socket import time from random import randint import threading def joinTwitch(channel, username, oauth):    try:        socketz = socket.socket(socket.AF_INET, socket.SOCK_STREAM)        socketz.connect(('irc.twitch.tv', 6667))        socketz.send('PASS oauth:' + oauth + '\r\n')        socketz.send('USER ' + username + ':' + username + '\r\n')        socketz.send('NICK ' + username + '\r\n')        print ("socketz.recv(1024")        socketz.send('JOIN #' + channel + '\r\n')                while 1:            # idk            socketz.recv(1024)            socketz.send('PRIVMSG #' + channel + ' :/me suck me pls <= [' + str(randint(1, 10000)) + ']\r\n')            # limit            time.sleep(1)    except:        time.sleep(10)        joinTwitch(channel, username, oauth) channel = input('Channel to raid:') userFile = open('users.txt', 'r').read() userSplit = userFile.split(chr(10)) for user in userSplit:    userData = user.split(':')    username = userData[0]    oauth = userData[1]        twitchThread = threading.Thread(target=joinTwitch, args=(channel, username, oauth,))    twitchThread.start()
You're supposed to be insert a text file named users in the same folder as the script containing these accounts:
Code:
lick_ma_c0ck:p6h6mz9ccolhnkworgaymy9b48q8px my_ballz_r_huge:23r4wnjkfknokzvshrbwj9r7uajsug hullo_dur_derp:q1lt4j48a91vr221svvh2ylwejvc50 selialiua:21347kcp1sz1c384vuf7u86pc7nxv5 tinyangrywoman:1ndl4f7zlpsub0avzxmyteypjx35ch barbiesbestfriend:u2g12r71a028hec86khr4iq89t1ryz asdffdsaasdf:fl8gvn0hwgl97k8f4nzlens2nu16ch Ynairis:o506tr8p75foj5cxx5h0sjgwlc9g7x Bubbles1419:izmxch4sp94gzhu22tzlln4cpysfq8 kaytja:ii4wzhly4iizygz2havk994cvhm2qb Nanalandya:z0tj7fmtzunsrcqytb63a2xmsnpqus
Edit: I believe the accounts are the reason it's not working since they might have had their passwords changed. If someone has a list of twitch accounts they would be willing to provide that would be awesome. Either way I would like people to look at the code in case there are any present flaws.


RE: Raid Script - f4kr - 02-25-2015

Great job, I'm gonna have to check this out.
What verison of Python are you using?


RE: Raid Script - alangoose - 03-07-2015

I'm asumeing this will let us spam twich eh?


RE: Raid Script - THC - 03-16-2015

Usefull program, but the accounts are the issue


RE: Raid Script - OP_CHAN - 03-16-2015

le shitpost jason                             .


RE: Raid Script - THC - 03-16-2015

Not a shitpost, The issue with the script on his side are the accoutns, which is why the program isnt working.


RE: Raid Script - Pirate - 03-18-2015

you guys didnt even read the thread lmao.


RE: Raid Script - Ducati - 04-04-2015

Yea, I could help but idk if you're still here. PM me if you still need help.