Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Python by registered user Moans ( 10 years ago )
# Xat ID Generator
# Notes:
# - Created By Moans
# - Create a "ids.txt" and "proxies.txt" in a folder you put this in.
globals()['dup'] = []
#for checking duplicate ids
import urllib2 as joey
import random as zangoose
class IDgen:
        def __init__(self):
                while 1:
                        try:
                                threading.Thread(target=self.proxy,args=()).start()
                        except: pass
        def proxy(self):
                proxy = [i.strip() for i in open('proxies.txt','r').read().splitlines()]
                proxy = zangoose.choice(proxy)
                proxy = proxy.split(':')
                proxy = 'http://' + str(proxy[0]) + ':' + str(proxy[1])
                proxy = joey.ProxyHandler({'http': proxy})
                self.id(proxy)
        def id(self, proxy):
                xat = joey.build_opener(proxy)
                xat = xat.open('http://xat.com/web_gear/chat/auser3.php').read()
                if xat not in dup:
                        dup.append(xat)
                        if "&UserId;=" in xat:
                                        print(xat)
                                        fh = open('ids.txt', 'a')
                                        #xat = 'http://xat.com/web_gear/chat/register.php?' + xat + '&mode=1'
                                        fh.write(xat + "\n")
                        elif '<!DOCTYPE' in xat: pass
                else: pass
import threading
from threading import Thread
threader = [Thread(target = IDgen, args = [])]
 
[thread.start() for thread in threader]
[thread.join() for thread in threader]

 

Revise this Paste

Parent: 80658
Your Name: Code Language: